---
title: "CheckoutUserError"
description: "checkoutUserError"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout-user-error'
  md: 'https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout-user-error.md'
---
# CheckoutUserError

checkoutUserError

- **API Version:** v20270301
- **API Type:** Storefront
- **API Protocol:** GraphQL
- **Operation Type:** Object

## Type Signature

`CheckoutUserError`

## Fields

* `code`

  [CheckoutErrorCode](https://developer.shopline.com/docs/storefront-api/checkouts/enums/checkout-error-code.md)

  The error code.

* `field`

  [[String!]](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  The path to the input field that caused the error.

* `message`

  [String!](https://developer.shopline.com/docs/storefront-api/common/scalars/string.md)

  The error message.

## Schema Definition

```graphql
type CheckoutUserError { 
	code: CheckoutErrorCode
	field: [String!]
	message: String! 
}
```

## Field from

* [CheckoutLineItemsUpdatePayload](https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout-line-items-update-payload.md).checkoutUserErrors

  error message

* [CheckoutEmailUpdatePayload](https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout-email-update-payload.md).checkoutUserErrors

  The list of errors that occurred from executing the mutation.

* [CheckoutDiscountCodeApplyPayload](https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout-discount-code-apply-payload.md).checkoutUserErrors

  error message

* [CheckoutShippingLineUpdatePayload](https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout-shipping-line-update-payload.md).checkoutUserErrors

  The list of errors that occurred from executing the mutation.

* [CheckoutShippingAddressUpdatePayload](https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout-shipping-address-update-payload.md).checkoutUserErrors

  The list of errors that occurred from executing the mutation.

* [CheckoutGiftCardsAppendPayload](https://developer.shopline.com/docs/storefront-api/member-system/objects/checkout-gift-cards-append-payload.md).checkoutUserErrors

  The list of errors that occurred from executing the mutation.

* [CheckoutLineItemsAddPayload](https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout-line-items-add-payload.md).checkoutUserErrors

  The list of errors that occurred from executing the mutation.

* [CheckoutLineItemsReplacePayload](https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout-line-items-replace-payload.md).checkoutUserErrors

  The list of errors that occurred from executing the mutation.

* [CheckoutCreatePayload](https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout-create-payload.md).checkoutUserErrors

  The list of errors that occurred from executing the mutation.

* [CheckoutCustomerAssociatePayload](https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout-customer-associate-payload.md).checkoutUserErrors

  The list of errors that occurred from executing the mutation.

* [CheckoutGiftCardsRemovePayload](https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout-gift-cards-remove-payload.md).checkoutUserErrors

  error message

* [CheckoutDiscountCodeRemovePayload](https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout-discount-code-remove-payload.md).checkoutUserErrors

  The list of errors that occurred from executing the mutation.

* [CheckoutLineItemsRemovePayload](https://developer.shopline.com/docs/storefront-api/checkouts/objects/checkout-line-items-remove-payload.md).checkoutUserErrors

  error message

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes).

