--- title: PointOfSaleDeviceAssignToCashDrawerUserErrorCode - GraphQL Admin description: >- Possible error codes that can be returned by `PointOfSaleDeviceAssignToCashDrawerUserError`. api_version: 2026-04 api_name: admin type: enum api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/latest/enums/PointOfSaleDeviceAssignToCashDrawerUserErrorCode md: >- https://shopify.dev/docs/api/admin-graphql/latest/enums/PointOfSaleDeviceAssignToCashDrawerUserErrorCode.md --- # Point​Of​Sale​Device​Assign​To​Cash​Drawer​User​Error​Code enum Possible error codes that can be returned by `PointOfSaleDeviceAssignToCashDrawerUserError`. ## Valid values * CASH\_​DRAWER\_​NOT\_​FOUND The cash drawer was not found. * INTERNAL\_​ERROR Unexpected internal error happened. * LOCATION\_​MISMATCH The cash drawer and point of sale device must be in the same location. * POINT\_​OF\_​SALE\_​DEVICE\_​NOT\_​FOUND The point of sale device was not found. *** ## Fields * [Point​Of​Sale​Device​Assign​To​Cash​Drawer​User​Error.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/PointOfSaleDeviceAssignToCashDrawerUserError#field-PointOfSaleDeviceAssignToCashDrawerUserError.fields.code) OBJECT An error that occurs during the execution of `PointOfSaleDeviceAssignToCashDrawer`. *** ## Map ### Fields with this enum * [Point​Of​Sale​Device​Assign​To​Cash​Drawer​User​Error.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/PointOfSaleDeviceAssignToCashDrawerUserError#field-PointOfSaleDeviceAssignToCashDrawerUserError.fields.code)