Metafields Set 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 CANNOT_DELETE_DUE_TO_OWNERCANNOT_
DELETE_ DUE_ TO_ OWNER The metafield can't be deleted due to owner.
- Anchor to CAPABILITY_VIOLATIONCAPABILITY_
VIOLATION The metafield violates a capability restriction.
- Anchor to DISALLOWED_OWNER_TYPEDISALLOWED_
OWNER_ TYPE Owner type can't be used in this mutation.
- 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_COMPARE_DIGESTINVALID_
COMPARE_ DIGEST The compareDigest 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 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 STALE_OBJECTSTALE_
OBJECT The metafield has been modified since it was loaded.
- 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 FieldsFields
- •OBJECT
An error that occurs during the execution of
.