Skip to main content
Anchor to MetaobjectUserErrorCode

MetaobjectUserErrorCode

enum

Possible error codes that can be returned by MetaobjectUserError.

Anchor to ADMIN_ACCESS_INPUT_NOT_ALLOWEDADMIN_ACCESS_INPUT_NOT_ALLOWED

Admin access can only be specified on metaobject definitions that have an app-reserved type.

Definition is managed by app configuration and cannot be modified through the API.

The input value is blank.

Anchor to CAPABILITY_NOT_ENABLEDCAPABILITY_NOT_ENABLED

The capability you are using is not enabled.

Anchor to DISPLAY_NAME_CONFLICTDISPLAY_NAME_CONFLICT

The display name cannot be the same when using the metaobject as a product option.

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.

Anchor to INPUT_LIMIT_EXCEEDEDINPUT_LIMIT_EXCEEDED

The maximum number of input metaobjects has been exceeded.

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.

Anchor to REFERENCE_EXISTS_ERRORREFERENCE_EXISTS_ERROR

The action cannot be completed because associated metaobjects are referenced by another resource.

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?