As of 2020-07, we are refining the error messages for GraphQL documents if the app does not have the required access scope(s). Currently, if an app does not have the required access scope, the error message returned is
“access denied”. From 2020-07, the message returned will be
“Access denied for <field-name>. Required access: <access scope required> access scope”.
Responses will now also include Extensions, which consist of an error code, link to necessary documentation, and the name of the required access scope.
Learn more about access scopes here