--- title: ThemeDeleteUserErrorCode - GraphQL Admin description: Possible error codes that can be returned by `ThemeDeleteUserError`. api_version: unstable api_name: admin source_url: html: >- https://shopify.dev/docs/api/admin-graphql/unstable/enums/ThemeDeleteUserErrorCode md: >- https://shopify.dev/docs/api/admin-graphql/unstable/enums/ThemeDeleteUserErrorCode.md --- # Theme​Delete​User​Error​Code enum Possible error codes that can be returned by `ThemeDeleteUserError`. ## Valid values * NOT\_​FOUND The record with the ID used as the input value couldn't be found. *** ## Fields * [Theme​Delete​User​Error.code](https://shopify.dev/docs/api/admin-graphql/unstable/objects/ThemeDeleteUserError#field-ThemeDeleteUserError.fields.code) OBJECT An error that occurs during the execution of `ThemeDelete`. *** ## Map ### Fields with this enum * <-|[Theme​Delete​User​Error.code](https://shopify.dev/docs/api/admin-graphql/unstable/objects/ThemeDeleteUserError#field-ThemeDeleteUserError.fields.code)