--- title: Authorization errors in mutations are refined - Shopify developer changelog description: >- Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: 'https://shopify.dev/changelog/authorization-errors-in-mutations-are-refined' md: >- https://shopify.dev/changelog/authorization-errors-in-mutations-are-refined.md metadata: effectiveApiVersion: 2022-01 affectedApi: [] primaryTag: displayName: API handle: api secondaryTag: displayName: Update handle: update indicatesActionRequired: false createdAt: '2021-11-30T13:14:33-05:00' postedAt: '2022-01-04T00:00:00-05:00' updatedAt: '2024-12-13T17:24:32-05:00' effectiveAt: '2022-01-04T00:00:00-05:00' --- January 4, 2022 Tags: * API * 2022-01 # Authorization errors in mutations are refined API calls made to the Admin and Storefront API are denied access if the API client does not have the required [access scopes](https://shopify.dev/api/usage/access-scopes) or the user does not have the required permissions. From 2022-01, when access is denied, the required permissions is returned as part of the error message. An error code is also returned.