Questions and discussions about using the Shopify CLI and Shopify-built libraries.
Hi,
I am having a problem whenever I am querying the customer's data. I am having the errors below on screenshots.
I am following this docs https://help.shopify.com/en/api/getting-started/shopify-and-graphql/queries
But if I try another query for example this. Shop Infos. It works just fine.
I hope anyone could help me. Cheers!
query { shop { id name email } }
Solved! Go to the solution
This is an accepted solution.
It looks like you're on the free version of NGROK, and that your app has received too many inbound connections within one minute (the limit looks to be 20). You can either wait a little bit and refresh, pay for an NGROK license, or check out alternatives (I'm told this one is pretty decent, and it's free/open source).
Alex | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
This is an accepted solution.
It looks like you're on the free version of NGROK, and that your app has received too many inbound connections within one minute (the limit looks to be 20). You can either wait a little bit and refresh, pay for an NGROK license, or check out alternatives (I'm told this one is pretty decent, and it's free/open source).
Alex | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Which calls are you trying to make that are not working? The admin API should work from any external back end without needing to be framed in the admin (I wouldn't recommend making admin API requests from the client anyway for security reasons), but that's assuming you're in fact using the admin API.
Cheers.
Alex | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
If you're referring to generating a rails app, that uses the shopify_app gem which is documented here. That project has information on how to turn off automatic embedding, assuming that's the root of your problem.
When you say that GraphQL calls are not working, can you give me a code example of what you're trying (a whole file is fine), and the response you're getting with as time frame and shop this is occurring on? The more recent the better.
Cheers.
Alex | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
Hi Alex, this are the pre generated code from the shopify cli. I didn't add anything and somehow I have this error if I'm not inside shopify iframe.
wrong account.