--- title: ShopPolicyErrorCode - GraphQL Admin description: Possible error codes that can be returned by `ShopPolicyUserError`. api_version: 2025-10 api_name: admin type: enum api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/enums/shoppolicyerrorcode md: https://shopify.dev/docs/api/admin-graphql/latest/enums/shoppolicyerrorcode.md --- # Shop​Policy​Error​Code enum Possible error codes that can be returned by `ShopPolicyUserError`. ## Valid values * TOO\_​BIG The input value is too big. *** ## Fields * [Shop​Policy​User​Error.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/ShopPolicyUserError#field-ShopPolicyUserError.fields.code) OBJECT An error that occurs during the execution of a shop policy mutation. *** ## Map ### Fields with this enum * <-|[Shop​Policy​User​Error.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/ShopPolicyUserError#field-ShopPolicyUserError.fields.code)