Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hi, am using Shopify & Gatsby for an online store. It worked well, but I recently ran into an issue where I can't build the front end, as I am getting build errors. I haven't made any code changes to the Gatsby code recently, so I believe it has to do with changes I've made on Shopify. I tried a brand new build with the Gatsby Shopify Starter, but I still get the same errors. I tried changing API access and version, but that hasn't made a difference
The error I'm getting when I run "Gatsby Develop" is:
ERROR #gatsby-source-shopify_111002
Received error 404 from Shopify: {"errors":"Not Found"}
Error: Not Found
- client.ts:40 Object.graphqlFetch [as request]
[gatsby-starter-shopify-main]/[gatsby-source-shopify]/src/client.ts:40:13
- task_queues:96 processTicksAndRejections
node:internal/process/task_queues:96:5
- operations.ts:115 cancelOperationInProgress
[gatsby-starter-shopify-main]/[gatsby-source-shopify]/src/operations.ts:115:51
- make-source-from-operation.ts:37 sourceFromOperation
[gatsby-starter-shopify-main]/[gatsby-source-shopify]/src/make-source-from-operation.ts:37:9
- gatsby-node.ts:94 sourceAllNodes
[gatsby-starter-shopify-main]/[gatsby-source-shopify]/src/gatsby-node.ts:94:5
- gatsby-node.ts:215 Object.sourceNodes
[gatsby-starter-shopify-main]/[gatsby-source-shopify]/src/gatsby-node.ts:215:5
- api-runner-node.js:487 runAPI
[gatsby-starter-shopify-main]/[gatsby]/src/utils/api-runner-node.js:487:16