Home > @infiniteobjects/shopify-data-manager > AdminTypes > MetaobjectUserErrorCode
Possible error codes that can be returned by MetaobjectUserError
.
Signature:
export declare enum MetaobjectUserErrorCode
Member | Value | Description |
---|---|---|
Blank | "BLANK" |
The input value is blank. |
CapabilityNotEnabled | "CAPABILITY_NOT_ENABLED" |
The capability you are using is not enabled. |
DuplicateFieldInput | "DUPLICATE_FIELD_INPUT" |
Duplicate inputs were provided for this field key. |
FieldTypeInvalid | "FIELD_TYPE_INVALID" |
Renderable data input is referencing an invalid field. |
Immutable | "IMMUTABLE" |
The targeted object cannot be modified. |
Inclusion | "INCLUSION" |
The input value isn’t included in the list. |
InternalError | "INTERNAL_ERROR" |
An unexpected error occurred. |
Invalid | "INVALID" |
The input value is invalid. |
InvalidOption | "INVALID_OPTION" |
The value for the metafield definition option was invalid. |
InvalidType | "INVALID_TYPE" |
The metafield type is invalid. |
InvalidValue | "INVALID_VALUE" |
The value is invalid for the metafield type or the definition options. |
MaxDefinitionsExceeded | "MAX_DEFINITIONS_EXCEEDED" |
The maximum number of metaobjects definitions has been exceeded. |
MaxObjectsExceeded | "MAX_OBJECTS_EXCEEDED" |
The maximum number of metaobjects per shop has been exceeded. |
MissingRequiredKeys | "MISSING_REQUIRED_KEYS" |
The input is missing required keys. |
NotAuthorized | "NOT_AUTHORIZED" |
Not authorized. |
ObjectFieldRequired | "OBJECT_FIELD_REQUIRED" |
Missing required fields were found for this object. |
ObjectFieldTaken | "OBJECT_FIELD_TAKEN" |
The specified field key is already in use. |
Present | "PRESENT" |
The input value needs to be blank. |
RecordNotFound | "RECORD_NOT_FOUND" |
The requested record couldn’t be found. |
ReservedName | "RESERVED_NAME" |
The provided name is reserved for system use. |
Taken | "TAKEN" |
The input value is already taken. |
TooLong | "TOO_LONG" |
The input value is too long. |
TooShort | "TOO_SHORT" |
The input value is too short. |
UndefinedObjectField | "UNDEFINED_OBJECT_FIELD" |
No field definition found for this key. |
UndefinedObjectType | "UNDEFINED_OBJECT_TYPE" |
No metaobject definition found for this type. |
UrlHandleBlank | "URL_HANDLE_BLANK" |
The Online Store URL handle cannot be blank. |
UrlHandleInvalid | "URL_HANDLE_INVALID" |
The Online Store URL handle is invalid. |
UrlHandleTaken | "URL_HANDLE_TAKEN" |
The Online Store URL handle is already taken. |