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 MetafieldsSetUserErrorCode

MetafieldsSetUserErrorCode

enum

Possible error codes that can be returned by MetafieldsSetUserError.

•

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

•

The input value is blank.

Anchor to CAPABILITY_VIOLATIONCAPABILITY_VIOLATION
•

The metafield violates a capability restriction.

•

The input value isn't included in the list.

•

An internal error occurred.

Anchor to INVALID_COMPARE_DIGESTINVALID_COMPARE_DIGEST
•

The compareDigest is invalid.

•

The type is invalid.

•

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

Anchor to LESS_THAN_OR_EQUAL_TOLESS_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 metafield has been modified since it was loaded.

•

The input value is already taken.

•

The input value is too long.

•

The input value is too short.


Was this section helpful?


Was this section helpful?