Home > @infiniteobjects/shopify-data-manager > AdminTypes > MetafieldDefinitionUpdateUserErrorCode
Possible error codes that can be returned by MetafieldDefinitionUpdateUserError.
Signature:
export declare enum MetafieldDefinitionUpdateUserErrorCode
| Member | Value | Description |
|---|---|---|
| GrantLimitExceeded | "GRANT_LIMIT_EXCEEDED" |
The maximum limit of grants per definition type has been exceeded. |
| InternalError | "INTERNAL_ERROR" |
An internal error occurred. |
| InvalidInput | "INVALID_INPUT" |
An invalid input. |
| MetafieldDefinitionInUse | "METAFIELD_DEFINITION_IN_USE" |
Action cannot proceed. Definition is currently in use. |
| MetaobjectDefinitionChanged | "METAOBJECT_DEFINITION_CHANGED" |
You cannot change the metaobject definition pointed to by a metaobject reference metafield definition. |
| NotFound | "NOT_FOUND" |
The metafield definition wasn’t found. |
| OwnerTypeLimitExceededForAutomatedCollections | "OWNER_TYPE_LIMIT_EXCEEDED_FOR_AUTOMATED_COLLECTIONS" |
You have reached the maximum allowed definitions for automated collections. |
| PinnedLimitReached | "PINNED_LIMIT_REACHED" |
The pinned limit has been reached for the owner type. |
| Present | "PRESENT" |
The input value needs to be blank. |
| TooLong | "TOO_LONG" |
The input value is too long. |
| TypeNotAllowedForConditions | "TYPE_NOT_ALLOWED_FOR_CONDITIONS" |
The definition type is not eligible to be used as collection condition. |