ERROR #85901 for "allShopifyProduct"
foamingmonkey opened this issue · 10 comments
Hey guys look like I keep getting these error and it looks like it is in fact connecting to the site but still giving me these errors
1: error an error occurred while sourcing data
There was an error in your GraphQL query:
- Cannot query field "allShopifyProduct" on type "Query". Did you mean "allShopifyBlog", "allShopifyArticle", "allShopifyShopPolicy", or "allShopifyCollection"?
The site has 400+ products, 20 blogs, etc so not sure why I'm getting the Error ? is it that Shopify changed the tag or is it something else
yes, 100% the one all the way on the bottom of private apps right? i even changed the SHOP_NAME=graphql on both and nada just errors .. like it will run but error out on templates/ProductPage/index.js
found the error apparently this only works with a real domain, not a dev domain or dev site.. the site has to be live via Bluehost,GoDaddy etc to run correctly.. anyone has a workaround?
@foamingmonkey What do you mean with it doesn’t work with a dev domain or dev site?
Hey Alex, you know on Shopify you can make your own Development site before you publish well that didn't work for me, I called it something like myspeedbuild2/myshopify.com and that errored out regardless of what I tried ( again I had products, blog, etc all set up on the dummy site) . So I grabbed my client's site a live site and tested to see if it was just the Domain meaning the site has to be live for the gatsby to pull from and connected. Well, that is my best guest but IDK I'm new to gatsby, to be honest.
With my client's site, it connected however since my client's site has over 3 million photos it froze out the terminal
Hi there!
I am also running into this error though I haven't added in my own API Keys and credentials. Getting it from just installing and running out of the box from this repo. Thoughts?
@ocmartineau I've just tried it by cloning the repo fresh and running yarn start
as well as yarn build
but it worked for me.
What environment are you in? Node version, OS, anything out of the ordinary?
I am also experiencing the same issue with a test store.
Our test store has a lot of collections and products.
I saw a related issue here: angeloashmore/gatsby-source-shopify#24
The error is most likely caused during the initialization/build of the application. Gatsby is downloading/fetching the data from the Shopify Storefront API. It'll throw a timeout (despite providing a lower paginationSize
in the configuration file).
I strongly believe this should be handled by the gatsby-source-shopify
plugin.
My site has been live for a few days now. I added web hooks so it would build on Product: Addition, Deletion, and Update. But today it through this error when building with Netlify
error There was an error in your GraphQL query:
3:07:51 PM: Cannot query field "allShopifyProduct" on type "Query".
3:07:51 PM: If you don't expect "allShopifyProduct" to exist on the type "Query" it is most likely a typo.
I'm getting the same kind of problem but with allReview