--- title: ShopPolicyErrorCode - GraphQL Admin description: Possible error codes that can be returned by `ShopPolicyUserError`. api_version: 2024-10 api_name: admin type: enum api_type: graphql source_url: html: 'https://shopify.dev/docs/api/admin-graphql/2024-10/enums/ShopPolicyErrorCode' md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/enums/ShopPolicyErrorCode.txt --- # 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/2024-10/objects/ShopPolicyUserError#field-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/2024-10/objects/ShopPolicyUserError#field-code)