Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR #85901 for "allShopifyProduct" #60

Open
foamingmonkey opened this issue Oct 2, 2020 · 10 comments
Open

ERROR #85901 for "allShopifyProduct" #60

foamingmonkey opened this issue Oct 2, 2020 · 10 comments

Comments

@foamingmonkey
Copy link

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:

  1. 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

@AlexanderProd
Copy link
Owner

AlexanderProd commented Oct 2, 2020 via email

@foamingmonkey
Copy link
Author

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

@foamingmonkey
Copy link
Author

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?

@AlexanderProd
Copy link
Owner

AlexanderProd commented Oct 4, 2020

@foamingmonkey What do you mean with it doesn’t work with a dev domain or dev site?

@foamingmonkey
Copy link
Author

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

@ocmartineau
Copy link

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?

@AlexanderProd
Copy link
Owner

@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?

@arjayosma
Copy link

arjayosma commented Feb 18, 2021

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.

@krichey15
Copy link

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.

@kaueburiti
Copy link

I'm getting the same kind of problem but with allReview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants