Home > @infiniteobjects/shopify-data-manager > AdminTypes > MetafieldsSetUserErrorCode
Possible error codes that can be returned by MetafieldsSetUserError.
Signature:
export declare enum MetafieldsSetUserErrorCode
| Member | Value | Description |
|---|---|---|
| AppNotAuthorized | "APP_NOT_AUTHORIZED" |
ApiPermission metafields can only be created or updated by the app owner. |
| Blank | "BLANK" |
The input value is blank. |
| Inclusion | "INCLUSION" |
The input value isn’t included in the list. |
| InvalidType | "INVALID_TYPE" |
The type is invalid. |
| InvalidValue | "INVALID_VALUE" |
The value is invalid for metafield type or for definition options. |
| LessThanOrEqualTo | "LESS_THAN_OR_EQUAL_TO" |
The input value should be less than or equal to the maximum value allowed. |
| Present | "PRESENT" |
The input value needs to be blank. |
| TooLong | "TOO_LONG" |
The input value is too long. |
| TooShort | "TOO_SHORT" |
The input value is too short. |