---
title: SubscriptionBillingAttemptError - GraphQL Admin
description: Possible error types for a subscription billing attempt.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/unions/SubscriptionBillingAttemptError
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/unions/SubscriptionBillingAttemptError.md
api_name: admin
api_type: graphql
type: union
---

# Subscription​Billing​Attempt​Error

union

Requires `read_own_subscription_contracts` access scope.

Possible error types for a subscription billing attempt.

## Fields with this union

* [Subscription​Billing​Attempt​Failed​State.error](https://shopify.dev/docs/api/admin-graphql/latest/objects/SubscriptionBillingAttemptFailedState#field-SubscriptionBillingAttemptFailedState.fields.error)

  OBJECT

  The billing attempt failed due to an error.

***

```graphql
union SubscriptionBillingAttemptError = SubscriptionBillingAttemptGeneralError | SubscriptionBillingAttemptInventoryError | SubscriptionBillingAttemptPaymentError | SubscriptionBillingAttemptUnexpectedError
```
