Skip to navigation

UpdateMetafieldErrors

UNION
Union type for all 'updateMetafield' mutation's errors.

Possible types

ValidationErrorValidationErrorRequired
Error indicating that the input is invalid.
OR
EntityNotFoundErrorEntityNotFoundErrorRequired
Error indicating that requested entity was not found.
OR
AlreadyExistsErrorAlreadyExistsErrorRequired
Error indicating that the result of the operation would cause duplicate.
OR
NotAuthorizedFieldToUpdateMetafieldFieldErrorNotAuthorizedFieldToUpdateMetafieldFieldErrorRequired
One of provided on update fields cannot be updated. Only 'key', 'value', and 'namespace' fields can be updated by not an entity owner with the 'write' permissions.
OR
NotAuthorizedToUpdateMetafieldErrorNotAuthorizedToUpdateMetafieldErrorRequired

The read-only metafield cannot be updated by not an owner. The metafield’s permissions are set to ‘read’.

Referenced by