--- title: UserError - Payments Apps API description: Represents an error in the input of a mutation. api_version: 2025-10 api_name: payments-apps type: object api_type: graphql source_url: html: 'https://shopify.dev/docs/api/payments-apps/latest/objects/UserError' md: 'https://shopify.dev/docs/api/payments-apps/latest/objects/UserError.md' --- # User​Error object Represents an error in the input of a mutation. ## Fields * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/latest/scalars/String) non-null The error message. *** ## Map No referencing types *** ## Mutations * [payments​App​Configure](https://shopify.dev/docs/api/payments-apps/latest/mutations/paymentsAppConfigure) mutation Configures the partner-managed payments gateway to work on the merchant's store. For an example of how to use the `paymentsAppConfigure` mutation, refer to the tutorial for [onboarding merchants to payments extensions](https://shopify.dev/docs/apps/build/payments/onboard-a-merchant-payments-extension). * [payment​Session​Reject](https://shopify.dev/docs/api/payments-apps/latest/mutations/paymentSessionReject) mutation Rejects an open payment session. After the `paymentSessionReject` mutation completes on a given payment session, any `paymentSessionResolve` mutation attempts will fail. Subsequent `paymentSessionReject` mutation attempts will succeed, but the `RejectionReasonInput` argument will be ignored. * [payment​Session​Resolve](https://shopify.dev/docs/api/payments-apps/latest/mutations/paymentSessionResolve) mutation Resolves an open payment session. After the `paymentSessionResolve` mutation completes on a given payment session, any `paymentSessionReject` mutation attempts will fail. Subsequent `paymentSessionResolve` mutation attempts will succeed, but the `Details` argument will be ignored. *** ## <\~> UserError Mutations ### Mutated by * <\~>[payment​Session​Reject](https://shopify.dev/docs/api/payments-apps/latest/mutations/paymentSessionReject) * <\~>[payment​Session​Resolve](https://shopify.dev/docs/api/payments-apps/latest/mutations/paymentSessionResolve) * <\~>[payments​App​Configure](https://shopify.dev/docs/api/payments-apps/latest/mutations/paymentsAppConfigure) *** ## Interfaces * [Displayable​Error](https://shopify.dev/docs/api/payments-apps/latest/interfaces/DisplayableError) interface *** ## ||-UserError Implements ### Implements * ||-[Displayable​Error](https://shopify.dev/docs/api/payments-apps/latest/interfaces/DisplayableError)