Skip to main content
Anchor to MetafieldDefinitionUpdateUserErrorCode

MetafieldDefinitionUpdateUserErrorCode

enum

Possible error codes that can be returned by MetafieldDefinitionUpdateUserError.

Anchor to ADMIN_ACCESS_INPUT_NOT_ALLOWEDADMIN_ACCESS_INPUT_NOT_ALLOWED

Admin access can only be specified for app-owned metafield definitions.

Definition is managed by app configuration and cannot be modified through the API.

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.

A duplicate option.

Anchor to GRANT_LIMIT_EXCEEDEDGRANT_LIMIT_EXCEEDED

The maximum limit of grants per definition type has been exceeded.

An internal error occurred.

The metafield definition capability is invalid.

The metafield definition constraints are invalid.

An invalid input.

Anchor to INVALID_INPUT_COMBINATIONINVALID_INPUT_COMBINATION

The input combination is invalid.

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.

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.

The input value needs to be blank.

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.

The metafield definition does not support pinning.


Was this section helpful?
OSZAR »