Subject: Storefront API always returns NOT_FOUND
Hi, I’m the store owner of fasangolf.myshopify.com.
I’ve created a new custom app (FasanNativeApp) via the Apps and sales channels > Develop apps section.
I enabled all relevant Storefront API scopes:
-
unauthenticated_read_product_listings
-
unauthenticated_read_product_inventory
-
unauthenticated_read_content
-
unauthenticated_read_product_tags
I generated a Storefront access token and used it in the following test query to Shopify’s latest GraphQL endpoint (/api/2024-07/graphql.json):
graphql
CopyEdit
{ shop { name primaryDomain { url } } }
-
Headers are correctly set:
-
Content-Type: application/json
-
X-Shopify-Storefront-Access-Token: [token]
-
Products and collections are published to:
-
Online Store
-
FasanNativeApp
-
I am using a fully recreated app and I am the store owner
Response (every time):
json
{“errors”:[{“message”:“Not Found”,“extensions”:{“code”:“NOT_FOUND”}}]}
Please investigate why my store’s Storefront API is returning NOT_FOUND, even on the most basic query.