--- title: SubscriptionBillingAttemptInventoryErrorCode - GraphQL Admin description: Error codes for inventory-related billing attempt failures. api_version: unstable api_name: admin source_url: html: >- https://shopify.dev/docs/api/admin-graphql/unstable/enums/SubscriptionBillingAttemptInventoryErrorCode md: >- https://shopify.dev/docs/api/admin-graphql/unstable/enums/SubscriptionBillingAttemptInventoryErrorCode.md --- # Subscription​Billing​Attempt​Inventory​Error​Code enum Error codes for inventory-related billing attempt failures. ## Valid values * INSUFFICIENT\_​INVENTORY Insufficient inventory. * INVENTORY\_​ALLOCATIONS\_​NOT\_​FOUND No inventory location found or enabled. *** ## Fields * [Subscription​Billing​Attempt​Inventory​Error.code](https://shopify.dev/docs/api/admin-graphql/unstable/objects/SubscriptionBillingAttemptInventoryError#field-SubscriptionBillingAttemptInventoryError.fields.code) OBJECT An inventory-related error that occurred during a subscription billing attempt. *** ## Map ### Fields with this enum * [Subscription​Billing​Attempt​Inventory​Error.code](https://shopify.dev/docs/api/admin-graphql/unstable/objects/SubscriptionBillingAttemptInventoryError#field-SubscriptionBillingAttemptInventoryError.fields.code)