New error messages for GraphQL operations without necessary access scopes
API
Effective June 15, 2020
Action required
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