--- title: PaymentSessionModalUserError - Payments Apps API description: An error that occurs during the execution of `PaymentSessionModal`. 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/PaymentSessionModalUserError md: >- https://shopify.dev/docs/api/payments-apps/latest/objects/PaymentSessionModalUserError.md --- # Payment​Session​Modal​User​Error object An error that occurs during the execution of `PaymentSessionModal`. ## Fields * code [Payment​Session​Modal​User​Error​Code](https://shopify.dev/docs/api/payments-apps/latest/enums/PaymentSessionModalUserErrorCode) The error code. * 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 * [payment​Session​Modal](https://shopify.dev/docs/api/payments-apps/latest/mutations/paymentSessionModal) mutation Raises a modal that will be displayed to the buyer after a checkout is completed. Included data will be used to populate the UI extension in the modal. *** ## <\~> PaymentSessionModalUserError Mutations ### Mutated by * <\~>[payment​Session​Modal](https://shopify.dev/docs/api/payments-apps/latest/mutations/paymentSessionModal) *** ## Interfaces * [Displayable​Error](https://shopify.dev/docs/api/payments-apps/latest/interfaces/DisplayableError) interface *** ## ||-PaymentSessionModalUserError Implements ### Implements * ||-[Displayable​Error](https://shopify.dev/docs/api/payments-apps/latest/interfaces/DisplayableError)