Skip to main content
Log inSign up
Anchor to ValidationUserErrorCode

ValidationUserErrorCode

enum

Possible error codes that can be returned by ValidationUserError.

•

ApiPermission metafields can only be created or updated by the app owner.

•

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.

•

Function not found.

Anchor to FUNCTION_PENDING_DELETIONFUNCTION_PENDING_DELETION
•

Function is pending deletion.

•

The input value isn't included in the list.

•

An internal error occurred.

•

The type is invalid.

•

The value is invalid for the metafield type or for the definition options.

•

Validation not found.

•

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.

•

The input value is already taken.

•

The input value is too long.

•

The input value is too short.

Anchor to UNSTRUCTURED_RESERVED_NAMESPACEUNSTRUCTURED_RESERVED_NAMESPACE
•

Unstructured reserved namespace.


Was this section helpful?


Was this section helpful?