# UserError - storefront - OBJECT Version: 2024-04 ## Description Represents an error in the input of a mutation. ### Access Scopes ## Fields * [field](/docs/api/storefront/2024-04/scalars/String): String - The path to the input field that caused the error. * [message](/docs/api/storefront/2024-04/scalars/String): String! - The error message. ## Connections ## Related queries ## Related mutations * [checkoutAttributesUpdateV2](/docs/api/storefront/2024-04/mutations/checkoutAttributesUpdateV2) Updates the attributes of a checkout if `allowPartialAddresses` is `true`. * [checkoutCompleteFree](/docs/api/storefront/2024-04/mutations/checkoutCompleteFree) Completes a checkout without providing payment information. You can use this mutation for free items or items whose purchase price is covered by a gift card. * [checkoutCompleteWithCreditCardV2](/docs/api/storefront/2024-04/mutations/checkoutCompleteWithCreditCardV2) Completes a checkout using a credit card token from Shopify's card vault. Before you can complete checkouts using CheckoutCompleteWithCreditCardV2, you need to [_request payment processing_](https://shopify.dev/apps/channels/getting-started#request-payment-processing). * [checkoutCompleteWithTokenizedPaymentV3](/docs/api/storefront/2024-04/mutations/checkoutCompleteWithTokenizedPaymentV3) Completes a checkout with a tokenized payment. * [checkoutCreate](/docs/api/storefront/2024-04/mutations/checkoutCreate) Creates a new checkout. * [checkoutCustomerAssociateV2](/docs/api/storefront/2024-04/mutations/checkoutCustomerAssociateV2) Associates a customer to the checkout. * [checkoutCustomerDisassociateV2](/docs/api/storefront/2024-04/mutations/checkoutCustomerDisassociateV2) Disassociates the current checkout customer from the checkout. * [checkoutDiscountCodeApplyV2](/docs/api/storefront/2024-04/mutations/checkoutDiscountCodeApplyV2) Applies a discount to an existing checkout using a discount code. * [checkoutDiscountCodeRemove](/docs/api/storefront/2024-04/mutations/checkoutDiscountCodeRemove) Removes the applied discounts from an existing checkout. * [checkoutEmailUpdateV2](/docs/api/storefront/2024-04/mutations/checkoutEmailUpdateV2) Updates the email on an existing checkout. * [checkoutGiftCardRemoveV2](/docs/api/storefront/2024-04/mutations/checkoutGiftCardRemoveV2) Removes an applied gift card from the checkout. * [checkoutGiftCardsAppend](/docs/api/storefront/2024-04/mutations/checkoutGiftCardsAppend) Appends gift cards to an existing checkout. * [checkoutLineItemsAdd](/docs/api/storefront/2024-04/mutations/checkoutLineItemsAdd) Adds a list of line items to a checkout. * [checkoutLineItemsRemove](/docs/api/storefront/2024-04/mutations/checkoutLineItemsRemove) Removes line items from an existing checkout. * [checkoutLineItemsUpdate](/docs/api/storefront/2024-04/mutations/checkoutLineItemsUpdate) Updates line items on a checkout. * [checkoutShippingAddressUpdateV2](/docs/api/storefront/2024-04/mutations/checkoutShippingAddressUpdateV2) Updates the shipping address of an existing checkout. * [checkoutShippingLineUpdate](/docs/api/storefront/2024-04/mutations/checkoutShippingLineUpdate) Updates the shipping lines on an existing checkout. * [customerAccessTokenCreate](/docs/api/storefront/2024-04/mutations/customerAccessTokenCreate) Creates a customer access token. The customer access token is required to modify the customer object in any way. * [customerAccessTokenDelete](/docs/api/storefront/2024-04/mutations/customerAccessTokenDelete) Permanently destroys a customer access token. * [customerAccessTokenRenew](/docs/api/storefront/2024-04/mutations/customerAccessTokenRenew) Renews a customer access token. Access token renewal must happen *before* a token expires. If a token has already expired, a new one should be created instead via `customerAccessTokenCreate`. * [customerActivate](/docs/api/storefront/2024-04/mutations/customerActivate) Activates a customer. * [customerAddressCreate](/docs/api/storefront/2024-04/mutations/customerAddressCreate) Creates a new address for a customer. * [customerAddressDelete](/docs/api/storefront/2024-04/mutations/customerAddressDelete) Permanently deletes the address of an existing customer. * [customerAddressUpdate](/docs/api/storefront/2024-04/mutations/customerAddressUpdate) Updates the address of an existing customer. * [customerCreate](/docs/api/storefront/2024-04/mutations/customerCreate) Creates a new customer. * [customerDefaultAddressUpdate](/docs/api/storefront/2024-04/mutations/customerDefaultAddressUpdate) Updates the default address of an existing customer. * [customerRecover](/docs/api/storefront/2024-04/mutations/customerRecover) Sends a reset password email to the customer. The reset password email contains a reset password URL and token that you can pass to the [`customerResetByUrl`](https://shopify.dev/api/storefront/latest/mutations/customerResetByUrl) or [`customerReset`](https://shopify.dev/api/storefront/latest/mutations/customerReset) mutation to reset the customer password. This mutation is throttled by IP. With private access, you can provide a [`Shopify-Storefront-Buyer-IP`](https://shopify.dev/api/usage/authentication#optional-ip-header) instead of the request IP. The header is case-sensitive and must be sent as `Shopify-Storefront-Buyer-IP`. Make sure that the value provided to `Shopify-Storefront-Buyer-IP` is trusted. Unthrottled access to this mutation presents a security risk. * [customerResetByUrl](/docs/api/storefront/2024-04/mutations/customerResetByUrl) "Resets a customer’s password with the reset password URL received from a reset password email. You can send a reset password email with the [`customerRecover`](https://shopify.dev/api/storefront/latest/mutations/customerRecover) mutation." * [customerReset](/docs/api/storefront/2024-04/mutations/customerReset) "Resets a customer’s password with the token received from a reset password email. You can send a reset password email with the [`customerRecover`](https://shopify.dev/api/storefront/latest/mutations/customerRecover) mutation." * [customerUpdate](/docs/api/storefront/2024-04/mutations/customerUpdate) Updates an existing customer. ## Related Unions ## Examples