Validation User Error Code
Possible error codes that can be returned by .
Anchor to Valid valuesValid values
- Anchor to APP_NOT_AUTHORIZEDAPP_
NOT_ AUTHORIZED ApiPermission metafields can only be created or updated by the app owner.
- Anchor to BLANKBLANK
The input value is blank.
- Anchor to CAPABILITY_VIOLATIONCAPABILITY_
VIOLATION The metafield violates a capability restriction.
- Anchor to CUSTOM_APP_FUNCTION_NOT_ELIGIBLECUSTOM_
APP_ FUNCTION_ NOT_ ELIGIBLE Shop must be on a Shopify Plus plan to activate functions from a custom app.
- Anchor to DISALLOWED_OWNER_TYPEDISALLOWED_
OWNER_ TYPE Owner type can't be used in this mutation.
- Anchor to FUNCTION_DOES_NOT_IMPLEMENTFUNCTION_
DOES_ NOT_ IMPLEMENT Function does not implement the required interface for this cart & checkout validation.
- Anchor to FUNCTION_NOT_FOUNDFUNCTION_
NOT_ FOUND Function not found.
- Anchor to FUNCTION_PENDING_DELETIONFUNCTION_
PENDING_ DELETION Function is pending deletion.
- Anchor to INCLUSIONINCLUSION
The input value isn't included in the list.
- Anchor to INTERNAL_ERRORINTERNAL_
ERROR An internal error occurred.
- Anchor to INVALIDINVALID
The input value is invalid.
- Anchor to INVALID_TYPEINVALID_
TYPE The type is invalid.
- Anchor to INVALID_VALUEINVALID_
VALUE The value is invalid for the metafield type or for the definition options.
- Anchor to MAX_VALIDATIONS_ACTIVATEDMAX_
VALIDATIONS_ ACTIVATED Cannot have more than 25 active validation functions.
- Anchor to NOT_FOUNDNOT_
FOUND Validation not found.
- Anchor to PRESENTPRESENT
The input value needs to be blank.
- Anchor to PUBLIC_APP_NOT_ALLOWEDPUBLIC_
APP_ NOT_ ALLOWED Only unlisted apps can be used for this cart & checkout validation.
- Anchor to TAKENTAKEN
The input value is already taken.
- Anchor to TOO_LONGTOO_
LONG The input value is too long.
- Anchor to TOO_SHORTTOO_
SHORT The input value is too short.
- Anchor to UNSTRUCTURED_RESERVED_NAMESPACEUNSTRUCTURED_
RESERVED_ NAMESPACE Unstructured reserved namespace.
Anchor to FieldsFields
- •OBJECT
An error that occurs during the execution of a validation mutation.