--- title: SubscriptionBillingAttemptProcessingError - GraphQL Admin description: An error that prevented a billing attempt. api_version: 2025-10 api_name: admin type: interface api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/interfaces/subscriptionbillingattemptprocessingerror md: https://shopify.dev/docs/api/admin-graphql/latest/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/latest/enums/SubscriptionBillingAttemptErrorCode) non-null The code for the error. * message [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) non-null An explanation of the error. *** ## Types implemented in * [Subscription​Billing​Attempt​Generic​Error](https://shopify.dev/docs/api/admin-graphql/latest/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/latest/enums/SubscriptionBillingAttemptErrorCode) non-null The code for the error. * message [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) non-null An explanation of the error. * [Subscription​Billing​Attempt​Insufficient​Stock​Product​Variants​Error](https://shopify.dev/docs/api/admin-graphql/latest/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/latest/enums/SubscriptionBillingAttemptErrorCode) non-null The code for the error. * insufficient​Stock​Product​Variants [Product​Variant​Connection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/ProductVariantConnection) non-null A list of product variants that caused the insufficient inventory error. * message [String!](https://shopify.dev/docs/api/admin-graphql/latest/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/latest/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/latest/enums/SubscriptionBillingAttemptErrorCode) non-null The code for the error. * message [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) non-null An explanation of the error. * out​Of​Stock​Product​Variants [Product​Variant​Connection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/ProductVariantConnection) non-nullDeprecated *** ```json { "code": "", "message": "" } ``` ##### Variables ``` { "code": "", "message": "" } ``` ##### Schema ``` interface SubscriptionBillingAttemptProcessingError { code: SubscriptionBillingAttemptErrorCode! message: String! } ```