Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to MetaobjectUserErrorCode

MetaobjectUserErrorCode

enum

Possible error codes that can be returned by MetaobjectUserError.

•

The input value is blank.

Anchor to CAPABILITY_NOT_ENABLEDCAPABILITY_NOT_ENABLED
•

The capability you are using is not enabled.

Anchor to DUPLICATE_FIELD_INPUTDUPLICATE_FIELD_INPUT
•

Duplicate inputs were provided for this field key.

•

Renderable data input is referencing an invalid field.

•

The targeted object cannot be modified.

•

The input value isn't included in the list.

•

An unexpected error occurred.

•

The input value is invalid.

•

The value for the metafield definition option was invalid.

•

The metafield type is invalid.

•

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

Anchor to MAX_DEFINITIONS_EXCEEDEDMAX_DEFINITIONS_EXCEEDED
•

The maximum number of metaobjects definitions has been exceeded.

Anchor to MAX_OBJECTS_EXCEEDEDMAX_OBJECTS_EXCEEDED
•

The maximum number of metaobjects per shop has been exceeded.

Anchor to MISSING_REQUIRED_KEYSMISSING_REQUIRED_KEYS
•

The input is missing required keys.

•

Not authorized.

Anchor to OBJECT_FIELD_REQUIREDOBJECT_FIELD_REQUIRED
•

Missing required fields were found for this object.

•

The specified field key is already in use.

•

The input value needs to be blank.

•

The requested record couldn't be found.

•

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.

Anchor to UNDEFINED_OBJECT_FIELDUNDEFINED_OBJECT_FIELD
•

No field definition found for this key.

Anchor to UNDEFINED_OBJECT_TYPEUNDEFINED_OBJECT_TYPE
•

No metaobject definition found for this type.

•

The Online Store URL handle cannot be blank.

•

The Online Store URL handle is invalid.

•

The Online Store URL handle is already taken.


Was this section helpful?


Was this section helpful?