--- title: DisplayableError - Payments Apps API description: Represents an error in the input of a mutation. api_version: 2025-01 api_name: payments-apps type: interface api_type: graphql source_url: html: >- https://shopify.dev/docs/api/payments-apps/2025-01/interfaces/DisplayableError md: >- https://shopify.dev/docs/api/payments-apps/2025-01/interfaces/DisplayableError.md --- # Displayable​Error interface Represents an error in the input of a mutation. ## Fields * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) non-null The error message. *** ## Types implemented in * [Capture​Session​Reject​User​Error](https://shopify.dev/docs/api/payments-apps/2025-01/objects/CaptureSessionRejectUserError) OBJECT An error that occurs during the execution of `CaptureSessionReject`. * code [Capture​Session​Reject​User​Error​Code](https://shopify.dev/docs/api/payments-apps/2025-01/enums/CaptureSessionRejectUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) non-null The error message. * [Capture​Session​Resolve​User​Error](https://shopify.dev/docs/api/payments-apps/2025-01/objects/CaptureSessionResolveUserError) OBJECT An error that occurs during the execution of `CaptureSessionResolve`. * code [Capture​Session​Resolve​User​Error​Code](https://shopify.dev/docs/api/payments-apps/2025-01/enums/CaptureSessionResolveUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) non-null The error message. * [Payment​Session​Confirm​User​Error](https://shopify.dev/docs/api/payments-apps/2025-01/objects/PaymentSessionConfirmUserError) OBJECT An error that occurs during the execution of `PaymentSessionConfirm`. * code [Payment​Session​Confirm​User​Error​Code](https://shopify.dev/docs/api/payments-apps/2025-01/enums/PaymentSessionConfirmUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) non-null The error message. * [Payment​Session​Pending​User​Error](https://shopify.dev/docs/api/payments-apps/2025-01/objects/PaymentSessionPendingUserError) OBJECT Represents a payment session custom error. * code [Payment​Session​Pending​User​Error​Code](https://shopify.dev/docs/api/payments-apps/2025-01/enums/PaymentSessionPendingUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) non-null The error message. * [Payment​Session​Redirect​User​Error](https://shopify.dev/docs/api/payments-apps/2025-01/objects/PaymentSessionRedirectUserError) OBJECT An error that occurs during the execution of `PaymentSessionRedirect`. * code [Payment​Session​Redirect​User​Error​Code](https://shopify.dev/docs/api/payments-apps/2025-01/enums/PaymentSessionRedirectUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) non-null The error message. * [Refund​Session​Reject​User​Error](https://shopify.dev/docs/api/payments-apps/2025-01/objects/RefundSessionRejectUserError) OBJECT An error that occurs during the execution of `RefundSessionReject`. * code [Refund​Session​Reject​User​Error​Code](https://shopify.dev/docs/api/payments-apps/2025-01/enums/RefundSessionRejectUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) non-null The error message. * [Refund​Session​Resolve​User​Error](https://shopify.dev/docs/api/payments-apps/2025-01/objects/RefundSessionResolveUserError) OBJECT An error that occurs during the execution of `RefundSessionResolve`. * code [Refund​Session​Resolve​User​Error​Code](https://shopify.dev/docs/api/payments-apps/2025-01/enums/RefundSessionResolveUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) non-null The error message. * [User​Error](https://shopify.dev/docs/api/payments-apps/2025-01/objects/UserError) OBJECT Represents an error in the input of a mutation. * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) non-null The error message. * [Verification​Session​User​Error](https://shopify.dev/docs/api/payments-apps/2025-01/objects/VerificationSessionUserError) OBJECT Represents a verification session custom error. * code [Verification​Session​User​Error​Code](https://shopify.dev/docs/api/payments-apps/2025-01/enums/VerificationSessionUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) non-null The error message. * [Void​Session​Reject​User​Error](https://shopify.dev/docs/api/payments-apps/2025-01/objects/VoidSessionRejectUserError) OBJECT An error that occurs during the execution of `VoidSessionReject`. * code [Void​Session​Reject​User​Error​Code](https://shopify.dev/docs/api/payments-apps/2025-01/enums/VoidSessionRejectUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) non-null The error message. * [Void​Session​Resolve​User​Error](https://shopify.dev/docs/api/payments-apps/2025-01/objects/VoidSessionResolveUserError) OBJECT An error that occurs during the execution of `VoidSessionResolve`. * code [Void​Session​Resolve​User​Error​Code](https://shopify.dev/docs/api/payments-apps/2025-01/enums/VoidSessionResolveUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/payments-apps/2025-01/scalars/String) non-null The error message. *** ##### Variables ```json { "field": "", "message": "" } ``` ##### Schema ```graphql interface DisplayableError { field: [String!] message: String! } ```