--- title: MarketUserError - GraphQL Admin description: Defines errors encountered while managing a Market. api_version: 2025-01 api_name: admin type: object api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/2025-01/objects/marketusererror md: https://shopify.dev/docs/api/admin-graphql/2025-01/objects/marketusererror.md --- # Market​User​Error object Requires `read_markets` for queries and both `read_markets` as well as `write_markets` for mutations. Defines errors encountered while managing a Market. ## Fields * code [Market​User​Error​Code](https://shopify.dev/docs/api/admin-graphql/2025-01/enums/MarketUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/String) non-null The error message. *** ## Map No referencing types *** ## Mutations * [market​Create](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/marketCreate) mutation Creates a new market. * [market​Delete](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/marketDelete) mutation Deletes a market definition. * [market​Update](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/marketUpdate) mutation Updates the properties of a market. ### Deprecated mutations * [market​Region​Delete](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/marketRegionDelete) mutation Deprecated * [market​Regions​Create](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/marketRegionsCreate) mutation Deprecated * [market​Regions​Delete](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/marketRegionsDelete) mutation Deprecated * [market​Web​Presence​Create](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/marketWebPresenceCreate) mutation Deprecated * [market​Web​Presence​Delete](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/marketWebPresenceDelete) mutation Deprecated * [market​Web​Presence​Update](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/marketWebPresenceUpdate) mutation Deprecated *** ## <\~> MarketUserError Mutations ### Mutated by * <\~>[market​Create](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/marketCreate) * <\~>[market​Delete](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/marketDelete) * <\~>[market​Update](https://shopify.dev/docs/api/admin-graphql/2025-01/mutations/marketUpdate) *** ## Interfaces * [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/2025-01/interfaces/DisplayableError) interface *** ## ||-MarketUserError Implements ### Implements * ||-[Displayable​Error](https://shopify.dev/docs/api/admin-graphql/2025-01/interfaces/DisplayableError)