Anchor to section titled 'undefined'

MetaobjectUserErrorCode
enum

Possible error codes that can be returned by MetaobjectUserError.


The input value is blank.

value-capabilitynotenabled
CAPABILITY_NOT_ENABLED

The capability you are using is not enabled.

value-duplicatefieldinput
DUPLICATE_FIELD_INPUT

Duplicate inputs were provided for this field key.

value-fieldtypeinvalid
FIELD_TYPE_INVALID

Renderable data input is referencing an invalid field.

The targeted object cannot be modified.

The input value isn't included in the list.

value-internalerror
INTERNAL_ERROR

An unexpected error occurred.

The input value is invalid.

value-invalidoption
INVALID_OPTION

The value for the metafield definition option was invalid.

value-invalidtype
INVALID_TYPE

The metafield type is invalid.

value-invalidvalue
INVALID_VALUE

The value is invalid for the metafield type or the definition options.

value-maxdefinitionsexceeded
MAX_DEFINITIONS_EXCEEDED

The maximum number of metaobjects definitions has been exceeded.

value-maxobjectsexceeded
MAX_OBJECTS_EXCEEDED

The maximum number of metaobjects per shop has been exceeded.

value-missingrequiredkeys
MISSING_REQUIRED_KEYS

The input is missing required keys.

value-notauthorized
NOT_AUTHORIZED

Not authorized.

value-objectfieldrequired
OBJECT_FIELD_REQUIRED

Missing required fields were found for this object.

value-objectfieldtaken
OBJECT_FIELD_TAKEN

The specified field key is already in use.

The input value needs to be blank.

value-recordnotfound
RECORD_NOT_FOUND

The requested record couldn't be found.

value-reservedname
RESERVED_NAME

The provided name is reserved for system use.

The input value is already taken.

The input value is too long.

The input value is too short.

value-undefinedobjectfield
UNDEFINED_OBJECT_FIELD

No field definition found for this key.

value-undefinedobjecttype
UNDEFINED_OBJECT_TYPE

No metaobject definition found for this type.

value-urlhandleblank
URL_HANDLE_BLANK

The Online Store URL handle cannot be blank.

value-urlhandleinvalid
URL_HANDLE_INVALID

The Online Store URL handle is invalid.

value-urlhandletaken
URL_HANDLE_TAKEN

The Online Store URL handle is already taken.


Was this section helpful?

The error code.


Was this section helpful?
Map
MetaobjectUserErrorCode

Fields from