--- title: SubscriptionBillingAttemptProcessingError - GraphQL Admin description: An error that prevented a billing attempt. api_version: 2025-01 api_name: admin type: interface api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/2025-01/interfaces/SubscriptionBillingAttemptProcessingError md: >- https://shopify.dev/docs/api/admin-graphql/2025-01/interfaces/SubscriptionBillingAttemptProcessingError.md --- # Subscription​Billing​Attempt​Processing​Error interface An error that prevented a billing attempt. ## Fields * code [Subscription​Billing​Attempt​Error​Code!](https://shopify.dev/docs/api/admin-graphql/2025-01/enums/SubscriptionBillingAttemptErrorCode) non-null The code for the error. * message [String!](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/String) non-null An explanation of the error. *** ## Types implemented in * [Subscription​Billing​Attempt​Generic​Error](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/SubscriptionBillingAttemptGenericError) OBJECT A base error type that applies to all uncategorized error classes. * code [Subscription​Billing​Attempt​Error​Code!](https://shopify.dev/docs/api/admin-graphql/2025-01/enums/SubscriptionBillingAttemptErrorCode) non-null The code for the error. * message [String!](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/String) non-null An explanation of the error. * [Subscription​Billing​Attempt​Insufficient​Stock​Product​Variants​Error](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/SubscriptionBillingAttemptInsufficientStockProductVariantsError) OBJECT An inventory error caused by an issue with one or more of the contract merchandise lines. * code [Subscription​Billing​Attempt​Error​Code!](https://shopify.dev/docs/api/admin-graphql/2025-01/enums/SubscriptionBillingAttemptErrorCode) non-null The code for the error. * insufficient​Stock​Product​Variants [Product​Variant​Connection!](https://shopify.dev/docs/api/admin-graphql/2025-01/connections/ProductVariantConnection) non-null A list of product variants that caused the insufficient inventory error. * message [String!](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/String) non-null An explanation of the error. * [Subscription​Billing​Attempt​Out​Of​Stock​Product​Variants​Error](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/SubscriptionBillingAttemptOutOfStockProductVariantsError) OBJECT An inventory error caused by an issue with one or more of the contract merchandise lines. * code [Subscription​Billing​Attempt​Error​Code!](https://shopify.dev/docs/api/admin-graphql/2025-01/enums/SubscriptionBillingAttemptErrorCode) non-null The code for the error. * message [String!](https://shopify.dev/docs/api/admin-graphql/2025-01/scalars/String) non-null An explanation of the error. * out​Of​Stock​Product​Variants [Product​Variant​Connection!](https://shopify.dev/docs/api/admin-graphql/2025-01/connections/ProductVariantConnection) non-nullDeprecated *** ##### Variables ```json { "code": "", "message": "" } ``` ##### Schema ```graphql interface SubscriptionBillingAttemptProcessingError { code: SubscriptionBillingAttemptErrorCode! message: String! } ```