---
title: CashDrawerCreateUserError - GraphQL Admin
description: An error that occurs during the execution of `CashDrawerCreate`.
api_version: 2026-04
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/objects/CashDrawerCreateUserError
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/objects/CashDrawerCreateUserError.md
api_name: admin
api_type: graphql
type: object
metadata:
  domain: admin
---

# Cash​Drawer​Create​User​Error

object

An error that occurs during the execution of `CashDrawerCreate`.

## Fields

* code

  [Cash​Drawer​Create​User​Error​Code](https://shopify.dev/docs/api/admin-graphql/latest/enums/CashDrawerCreateUserErrorCode)

  The error code.

* field

  [\[String!\]](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

  The path to the input field that caused the error.

* message

  [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

  non-null

  The error message.

***

## Map

No referencing types

***

## Mutations

* [cash​Drawer​Create](https://shopify.dev/docs/api/admin-graphql/latest/mutations/cashDrawerCreate)

  mutation

  Creates a cash drawer in a provided location.

  * location​Id

    [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)

    required

    ### Arguments

    The location the cash drawer is located in.

  * name

    [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

    required

    The name of the cash drawer.

  ***

***

## CashDrawerCreateUserError Mutations

### Mutated by

* [cash​Drawer​Create](https://shopify.dev/docs/api/admin-graphql/latest/mutations/cashDrawerCreate)

***

## Interfaces

* [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/DisplayableError)

  interface

***

## CashDrawerCreateUserError Implements

### Implements

* [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/DisplayableError)
