Translation Error Code
Possible error codes that can be returned by .
Anchor to Valid valuesValid values
- BLANK
- FAILS_RESOURCE_VALIDATION
- INVALID
- INVALID_CODE
- INVALID_FORMAT
- INVALID_KEY_FOR_MODEL
- INVALID_LOCALE_FOR_SHOP
- INVALID_MARKET_LOCALIZABLE_CONTENT
- INVALID_TRANSLATABLE_CONTENT
- INVALID_VALUE_FOR_HANDLE_TRANSLATION
- MARKET_CUSTOM_CONTENT_NOT_ALLOWED
- MARKET_DOES_NOT_EXIST
- MARKET_LOCALE_CREATION_FAILED
- RESOURCE_NOT_FOUND
- RESOURCE_NOT_MARKET_CUSTOMIZABLE
- RESOURCE_NOT_TRANSLATABLE
- TOO_MANY_KEYS_FOR_RESOURCE
- INVALID_LOCALE_FOR_MARKET: deprecated
- Anchor to BLANKBLANK
The input value is blank.
- Anchor to FAILS_RESOURCE_VALIDATIONFAILS_
RESOURCE_ VALIDATION Translation value is invalid.
- Anchor to INVALIDINVALID
The input value is invalid.
- Anchor to INVALID_CODEINVALID_
CODE Locale language code is invalid.
- Anchor to INVALID_FORMATINVALID_
FORMAT Locale code format is invalid.
- Anchor to INVALID_KEY_FOR_MODELINVALID_
KEY_ FOR_ MODEL Translation key is invalid.
- Anchor to INVALID_LOCALE_FOR_SHOPINVALID_
LOCALE_ FOR_ SHOP Locale is invalid for the shop.
- Anchor to INVALID_MARKET_LOCALIZABLE_CONTENTINVALID_
MARKET_ LOCALIZABLE_ CONTENT Market localizable content is invalid.
- Anchor to INVALID_TRANSLATABLE_CONTENTINVALID_
TRANSLATABLE_ CONTENT Translatable content is invalid.
- Anchor to INVALID_VALUE_FOR_HANDLE_TRANSLATIONINVALID_
VALUE_ FOR_ HANDLE_ TRANSLATION The handle is already taken for this resource.
- Anchor to MARKET_CUSTOM_CONTENT_NOT_ALLOWEDMARKET_
CUSTOM_ CONTENT_ NOT_ ALLOWED The shop isn't allowed to operate on market custom content.
- Anchor to MARKET_DOES_NOT_EXISTMARKET_
DOES_ NOT_ EXIST The market corresponding to the
argument doesn't exist.- Anchor to MARKET_LOCALE_CREATION_FAILEDMARKET_
LOCALE_ CREATION_ FAILED The market override locale creation failed.
- Anchor to RESOURCE_NOT_FOUNDRESOURCE_
NOT_ FOUND Resource does not exist.
- Anchor to RESOURCE_NOT_MARKET_CUSTOMIZABLERESOURCE_
NOT_ MARKET_ CUSTOMIZABLE The specified resource can't be customized for a market.
- Anchor to RESOURCE_NOT_TRANSLATABLERESOURCE_
NOT_ TRANSLATABLE Resource is not translatable.
- Anchor to TOO_MANY_KEYS_FOR_RESOURCETOO_
MANY_ KEYS_ FOR_ RESOURCE Too many translation keys for the resource.
- Anchor to INVALID_LOCALE_FOR_MARKETINVALID_•
LOCALE_ FOR_ MARKET Deprecated
Anchor to FieldsFields
- •OBJECT
Represents an error that happens during the execution of a translation mutation.