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