--- title: CashDrawerFindOrCreateUserError - GraphQL Admin description: An error that occurs during the execution of `CashDrawerFindOrCreate`. api_version: 2026-04 api_name: admin type: object api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/latest/objects/CashDrawerFindOrCreateUserError md: >- https://shopify.dev/docs/api/admin-graphql/latest/objects/CashDrawerFindOrCreateUserError.md --- # Cash​Drawer​Find​Or​Create​User​Error object An error that occurs during the execution of `CashDrawerFindOrCreate`. ## Fields * code [Cash​Drawer​Find​Or​Create​User​Error​Code](https://shopify.dev/docs/api/admin-graphql/latest/enums/CashDrawerFindOrCreateUserErrorCode) 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​Find​Or​Create](https://shopify.dev/docs/api/admin-graphql/latest/mutations/cashDrawerFindOrCreate) mutation Finds or creates a cash drawer for cash management. Also ensures the provided device is assigned to the drawer. * 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. * point​Of​Sale​Device​Id [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) required The point of sale device to assign to the cash drawer. *** *** ## CashDrawerFindOrCreateUserError Mutations ### Mutated by * [cash​Drawer​Find​Or​Create](https://shopify.dev/docs/api/admin-graphql/latest/mutations/cashDrawerFindOrCreate) *** ## Interfaces * [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/DisplayableError) interface *** ## CashDrawerFindOrCreateUserError Implements ### Implements * [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/DisplayableError)