--- title: VoidSessionRejectUserErrorCode - Payments Apps API description: Possible error codes that can be returned by `VoidSessionRejectUserError`. 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/VoidSessionRejectUserErrorCode md: https://shopify.dev/docs/api/payments-apps/2025-01/enums/VoidSessionRejectUserErrorCode.md --- # Void​Session​Reject​User​Error​Code enum Possible error codes that can be returned by `VoidSessionRejectUserError`. ## Valid values * VOID\_​SESSION\_​INVALID\_​STATE Void session has already been resolved or has already been rejected with a different reason. * VOID\_​SESSION\_​NOT\_​FOUND Void session not found. *** ## Fields * [Void​Session​Reject​User​Error.​code](https://shopify.dev/docs/api/payments-apps/2025-01/objects/VoidSessionRejectUserError#field-code) OBJECT An error that occurs during the execution of `VoidSessionReject`. *** ## Map ### Fields with this enum * <-|[Void​Session​Reject​User​Error.code](https://shopify.dev/docs/api/payments-apps/2025-01/objects/VoidSessionRejectUserError#field-code)