Anchor to MetafieldsSetUserErrorCodeMetafields
MetafieldsSetUserErrorCode
enum
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 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 LESS_THAN_OR_EQUAL_TOLESS_THAN_OR_EQUAL_TO•
The input value should be less than or equal to the maximum value allowed.
- Anchor to PRESENTPRESENT•
The input value needs to be blank.
- 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.
Was this section helpful?