We’ve seen some billing attempts fail recently with the INSUFFICIENT_INVENTORY
error code but with the errorMessage that is generally found with the INVENTORY_ALLOCATIONS_NOT_FOUND
error code. The error message is “No inventory location found or enabled”. That’s an entirely different problem than a location existing and having insufficient inventory. By mixing these codes up it’s tough for us as a subscription app to provide clear guidance to merchants on how to correct the issue.
I’m guessing there’s an issue somewhere that’s ending up coding these incorrectly because based on our investigations its a shipping profile/location issue and not an actual inventory amount issue.
Some example Billing Attempts that you can use to debug:
- gid://shopify/SubscriptionBillingAttempt/44735332544
- gid://shopify/SubscriptionBillingAttempt/44734054592
side note - INVENTORY_ALLOCATIONS_NOT_FOUND
is a new-ish error code that a lot of subscription merchants are running into now. This is a very difficult error code to debug because there’s no good way other than scouring their locations and shipping profiles to see what’s wrong. Additional guidance from Shopify would help these merchants out a lot.