ValidationUserErrorCode
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 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 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.