---
title: SubscriptionBillingAttemptInventoryErrorCode - GraphQL Admin
description: Error codes for inventory-related billing attempt failures.
api_version: 2026-04
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/enums/SubscriptionBillingAttemptInventoryErrorCode
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/enums/SubscriptionBillingAttemptInventoryErrorCode.md
api_name: admin
api_type: graphql
type: enum
metadata:
  domain: admin
---

# 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/latest/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/latest/objects/SubscriptionBillingAttemptInventoryError#field-SubscriptionBillingAttemptInventoryError.fields.code)
