Anchor to section titled 'undefined'

ValidationUserErrorCode
enum

Possible error codes that can be returned by ValidationUserError.


value-appnotauthorized
APP_NOT_AUTHORIZED

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

The input value is blank.

value-capabilityviolation
CAPABILITY_VIOLATION

The metafield violates a capability restriction.

value-customappfunctionnoteligible
CUSTOM_APP_FUNCTION_NOT_ELIGIBLE

Shop must be on a Shopify Plus plan to activate functions from a custom app.

value-disallowedownertype
DISALLOWED_OWNER_TYPE

Owner type can't be used in this mutation.

value-functiondoesnotimplement
FUNCTION_DOES_NOT_IMPLEMENT

Function does not implement the required interface for this cart & checkout validation.

value-functionnotfound
FUNCTION_NOT_FOUND

Function not found.

value-functionpendingdeletion
FUNCTION_PENDING_DELETION

Function is pending deletion.

The input value isn't included in the list.

value-internalerror
INTERNAL_ERROR

An internal error occurred.

value-invalidtype
INVALID_TYPE

The type is invalid.

value-invalidvalue
INVALID_VALUE

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

Validation not found.

The input value needs to be blank.

value-publicappnotallowed
PUBLIC_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.

value-unstructuredreservednamespace
UNSTRUCTURED_RESERVED_NAMESPACE

Unstructured reserved namespace.


Was this section helpful?

The error code.


Was this section helpful?
Map
ValidationUserErrorCode

Fields from