Metafield Definition Update User Error Code
Possible error codes that can be returned by .
Anchor to Valid valuesValid values
- Anchor to ADMIN_ACCESS_INPUT_NOT_ALLOWEDADMIN_ACCESS_INPUT_NOT_ALLOWED
Admin access can only be specified for app-owned metafield definitions.
- Anchor to APP_CONFIG_MANAGEDAPP_CONFIG_MANAGED
Definition is managed by app configuration and cannot be modified through the API.
- Anchor to BLANKBLANK
The input value is blank.
- Anchor to CAPABILITY_CANNOT_BE_DISABLEDCAPABILITY_CANNOT_BE_DISABLED
The metafield definition capability cannot be disabled.
- Anchor to CAPABILITY_REQUIRED_BUT_DISABLEDCAPABILITY_REQUIRED_BUT_DISABLED
A capability is required for the definition type but is disabled.
- Anchor to DISALLOWED_OWNER_TYPEDISALLOWED_OWNER_TYPE
Owner type can't be used in this mutation.
- Anchor to DUPLICATE_OPTIONDUPLICATE_OPTION
A duplicate option.
- Anchor to GRANT_LIMIT_EXCEEDEDGRANT_LIMIT_EXCEEDED
The maximum limit of grants per definition type has been exceeded.
- Anchor to INTERNAL_ERRORINTERNAL_ERROR
An internal error occurred.
- Anchor to INVALID_CAPABILITYINVALID_CAPABILITY
The metafield definition capability is invalid.
- Anchor to INVALID_CONSTRAINTSINVALID_CONSTRAINTS
The metafield definition constraints are invalid.
- Anchor to INVALID_INPUTINVALID_INPUT
An invalid input.
- Anchor to INVALID_INPUT_COMBINATIONINVALID_INPUT_COMBINATION
The input combination is invalid.
- Anchor to INVALID_OPTIONINVALID_OPTION
An invalid option.
- Anchor to METAFIELD_DEFINITION_IN_USEMETAFIELD_DEFINITION_IN_USE
Action cannot proceed. Definition is currently in use.
- Anchor to METAOBJECT_DEFINITION_CHANGEDMETAOBJECT_DEFINITION_CHANGED
You cannot change the metaobject definition pointed to by a metaobject reference metafield definition.
- Anchor to NOT_FOUNDNOT_FOUND
The metafield definition wasn't found.
- Anchor to OWNER_TYPE_LIMIT_EXCEEDED_FOR_AUTOMATED_COLLECTIONSOWNER_TYPE_LIMIT_EXCEEDED_FOR_AUTOMATED_COLLECTIONS
You have reached the maximum allowed definitions for automated collections.
- Anchor to PINNED_LIMIT_REACHEDPINNED_LIMIT_REACHED
The pinned limit has been reached for the owner type.
- Anchor to PRESENTPRESENT
The input value needs to be blank.
- Anchor to TOO_LONGTOO_LONG
The input value is too long.
- Anchor to TYPE_NOT_ALLOWED_FOR_CONDITIONSTYPE_NOT_ALLOWED_FOR_CONDITIONS
The definition type is not eligible to be used as collection condition.
- Anchor to UNSUPPORTED_PINNINGUNSUPPORTED_PINNING
The metafield definition does not support pinning.