Unable to Access Inventory Quantity in Shopify App Despite Proper Permissions

Topic summary

A developer is encountering an “Access Denied” error when attempting to fetch inventory quantities (inventoryQuantity and availableQuantity) for out-of-stock products in their Shopify app.

Key Details:

  • The error occurs specifically when products are out of stock
  • Developer has already enabled the unauthenticated_read_product_inventory scope
  • Despite having the appropriate permission scope configured, the access issue persists

Current Status:

  • The problem remains unresolved
  • No responses or solutions have been provided yet
  • The developer is seeking guidance on why the scope isn’t granting the expected inventory access
Summarized with AI on November 1. AI used: claude-sonnet-4-5-20250929.

I am facing an issue while working on my Shopify app. When a product is out of stock, I receive an error message. To handle this, I attempted to fetch the product’s quantity using “inventoryQuantity” and “availableQuantity” in my query. However, I keep encountering an “Access Denied” error.

I have already enabled the “unauthenticated_read_product_inventory” scope, which should allow me to access inventory data, but the issue persists.