--- title: CaptureSessionRejectUserErrorCode - Payments Apps API description: Possible error codes that can be returned by `CaptureSessionRejectUserError`. api_version: 2025-01 api_name: payments-apps type: enum api_type: graphql source_url: html: https://shopify.dev/docs/api/payments-apps/2025-01/enums/CaptureSessionRejectUserErrorCode md: https://shopify.dev/docs/api/payments-apps/2025-01/enums/CaptureSessionRejectUserErrorCode.md --- # Capture​Session​Reject​User​Error​Code enum Possible error codes that can be returned by `CaptureSessionRejectUserError`. ## Valid values * CAPTURE\_​SESSION\_​INVALID\_​STATE Capture session has already been resolved or has already been rejected with a different reason. * CAPTURE\_​SESSION\_​NOT\_​FOUND Capture session not found. *** ## Fields * [Capture​Session​Reject​User​Error.​code](https://shopify.dev/docs/api/payments-apps/2025-01/objects/CaptureSessionRejectUserError#field-code) OBJECT An error that occurs during the execution of `CaptureSessionReject`. *** ## Map ### Fields with this enum * <-|[Capture​Session​Reject​User​Error.code](https://shopify.dev/docs/api/payments-apps/2025-01/objects/CaptureSessionRejectUserError#field-code)