Anchor to MetafieldsSetUserErrorCodeMetafields
enumMetafields 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 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 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 metafield type or for 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.
Was this section helpful?