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-cannotdeleteduetoowner
CANNOT_DELETE_DUE_TO_OWNER

The metafield can't be deleted due to owner.

value-capabilityviolation
CAPABILITY_VIOLATION

The metafield violates a capability restriction.

value-disallowedownertype
DISALLOWED_OWNER_TYPE

Owner type can't be used in this mutation.

The input value isn't included in the list.

value-internalerror
INTERNAL_ERROR

An internal error occurred.

value-invalidcomparedigest
INVALID_COMPARE_DIGEST

The compareDigest is invalid.

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.

value-staleobject
STALE_OBJECT

The metafield has been modified since it was loaded.

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