Developer changelog

Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.

Get updates by RSS

Updates to error codes for translationsRegister

API

Although the INVALID_LOCALE_FOR_SHOP error code was introduced in the 2020-07 version, it has never been used to represent a locale field related error when calling the translationsRegister mutation.

As of GraphQL Admin API version 2022-04, the INVALID_LOCALE_FOR_SHOP error code is used to represent all errors related to the locale field on the Translation object.

Previous verions will still use the INVALID_CODE error code to represent errors related to the locale field.