--- title: SubscriptionBillingAttemptError - GraphQL Admin description: Possible error types for a subscription billing attempt. api_version: 2026-04 api_name: admin type: union api_type: graphql 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 --- # 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 ```