---
title: VoidSessionRejectUserError - Payments Apps API
description: An error that occurs during the execution of `VoidSessionReject`.
api_version: 2026-07
source_url:
  html: https://shopify.dev/docs/api/payments-apps/latest/objects/voidsessionrejectusererror
  md: https://shopify.dev/docs/api/payments-apps/latest/objects/voidsessionrejectusererror.md
---

# Void​Session​Reject​User​Error

object

An error that occurs during the execution of `VoidSessionReject`.

## Fields

* code

  [Void​Session​Reject​User​Error​Code](https://shopify.dev/docs/api/payments-apps/latest/enums/VoidSessionRejectUserErrorCode)

  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

* [void​Session​Reject](https://shopify.dev/docs/api/payments-apps/latest/mutations/voidSessionReject)

  mutation

  Rejects an open void session. After the `voidSessionReject` mutation completes on a given void session, any `voidSessionResolve` mutation attempts will fail. Subsequent `voidSessionReject` mutation attempts will succeed, but the `RejectionReasonInput` argument will be ignored.

  * id

    [ID!](https://shopify.dev/docs/api/payments-apps/latest/scalars/ID)

    required

    ### Arguments

    The void session ID.

  * reason

    [Void​Session​Rejection​Reason​Input!](https://shopify.dev/docs/api/payments-apps/latest/input-objects/VoidSessionRejectionReasonInput)

    required

    The rejection reason.

  ***

***

## VoidSessionRejectUserError Mutations

### Mutated by

* [void​Session​Reject](https://shopify.dev/docs/api/payments-apps/latest/mutations/voidSessionReject)

***

## Interfaces

* [Displayable​Error](https://shopify.dev/docs/api/payments-apps/latest/interfaces/DisplayableError)

  interface

***

## VoidSessionRejectUserError Implements

### Implements

* [Displayable​Error](https://shopify.dev/docs/api/payments-apps/latest/interfaces/DisplayableError)