Anchor to section titled 'undefined'

MetafieldsSetUserErrorCode
enum

Possible error codes that can be returned by MetafieldsSetUserError.


value-appnotauthorized
APP_NOT_AUTHORIZED

ApiPermission metafields can only be created or updated by the app owner.

The input value is blank.

value-capabilityviolation
CAPABILITY_VIOLATION

The metafield violates a capability restriction.

The input value isn't included in the list.

value-invalidtype
INVALID_TYPE

The type is invalid.

value-invalidvalue
INVALID_VALUE

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

value-lessthanorequalto
LESS_THAN_OR_EQUAL_TO

The input value should be less than or equal to the maximum value allowed.

The input value needs to be blank.

The input value is too long.

The input value is too short.


Was this section helpful?

The error code.


Was this section helpful?
Map
MetafieldsSetUserErrorCode

Fields from