--- title: >- SubscriptionBillingAttemptInsufficientStockProductVariantsError - GraphQL Admin description: >- An inventory error caused by an issue with one or more of the contract merchandise lines. api_version: 2025-01 api_name: admin type: object api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/2025-01/objects/SubscriptionBillingAttemptInsufficientStockProductVariantsError md: >- https://shopify.dev/docs/api/admin-graphql/2025-01/objects/SubscriptionBillingAttemptInsufficientStockProductVariantsError.md --- # Subscription​Billing​Attempt​Insufficient​Stock​Product​Variants​Error object Requires `read_own_subscription_contracts` access scope. An inventory error caused by an issue with one or more of the contract merchandise lines. ## 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. * 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. *** ## Map No referencing types *** ## Interfaces * [Subscription​Billing​Attempt​Processing​Error](https://shopify.dev/docs/api/admin-graphql/2025-01/interfaces/SubscriptionBillingAttemptProcessingError) interface *** ## ||-SubscriptionBillingAttemptInsufficientStockProductVariantsError Implements ### Implements * ||-[Subscription​Billing​Attempt​Processing​Error](https://shopify.dev/docs/api/admin-graphql/2025-01/interfaces/SubscriptionBillingAttemptProcessingError)