--- title: MetafieldsDeleteUserErrorCode - Customer API description: Possible error codes that can be returned by `MetafieldsDeleteUserError`. api_version: 2025-01 api_name: customer type: enum api_type: graphql source_url: html: https://shopify.dev/docs/api/customer/2025-01/enums/MetafieldsDeleteUserErrorCode md: https://shopify.dev/docs/api/customer/2025-01/enums/MetafieldsDeleteUserErrorCode.md --- # Metafields​Delete​User​Error​Code enum Possible error codes that can be returned by `MetafieldsDeleteUserError`. ## Valid values * BLANK The input value is blank. * DISALLOWED\_​OWNER\_​TYPE Owner type can't be used in this mutation. * INVALID The input value is invalid. * METAFIELD\_​DELETE\_​FAILED The metafield delete operation failed. * NOT\_​FOUND The record with the ID used as the input value couldn't be found. *** ## Fields * [Metafields​Delete​User​Error.​code](https://shopify.dev/docs/api/customer/2025-01/objects/MetafieldsDeleteUserError#field-code) OBJECT An error that occurs during the execution of `MetafieldsDelete`. *** ## Map ### Fields with this enum * <-|[Metafields​Delete​User​Error.code](https://shopify.dev/docs/api/customer/2025-01/objects/MetafieldsDeleteUserError#field-code)