---
title: ShopPolicyErrorCode - GraphQL Admin
description: Possible error codes that can be returned by `ShopPolicyUserError`.
api_version: 2026-10
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
api_name: admin
api_type: graphql
type: enum
---

# 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)
