I try too develop apps for my stores. But, when I try to install and test some api, it shows “Too Many Requests …”. For the net speed, I use VPN to connect. Why this issue occured?
Hey @wilbur - I can’t say for certain why that’s happening in your case here, but usually, “too many request” messages pop up if you’re hitting our API Rate Limits:
If you’re able to share an X-Request-ID from the API Response headers for one of the examples where you’re seeing that error message though, we can take a look to see why you encountered the error specifically. More info here on how to grab the request ID: https://http.dev/x-request-id
Hope this helps - let me know if I can clarify anything on our end
Hello, Alan_G
When I start to scaffold app with shopify CLI (command 'shopify app dev’), terminal given:’ ….Opened link to start the auth process: https://accounts.shopify.com/activate-with-code?device_code%5Buser_code%5D=DTDM-
QQQQ’ . Of course the VPN was on work.
Then I open this link in browser to verify I am human,it show as below. If the VPN was on work, click continue just changes Request ID. and this scene still showed
When I shut down vpn, this page showed out:
Now I can not even login my shopify account.
Here is a more detail response header, please check.
Request URL
https://accounts.shopify.com/activate-with-code?device_code[user_code]=QWDG-WLGB
Request Method
GET
Status Code
429 Too Many Requests
Remote Address
185.146.173.20:443
Referrer Policy
strict-origin-when-cross-origin
Hi Wilbur, I found this was happening when I was using a VPN as well. Turn the vpn off and it should be fine.
hello Bsmubbs, as I am working in Shanghai, there is some reason that google is banned. without VPN, we can not access google and shopify website shows slowly. So I try to login without google account. But,why this issue occured? Can we do something to keep useing vpn?
Hey @wilbur - thanks for following up (and thanks @Bsmubbs for helping out as well!).
Ben is correct, VPNs can often trigger rate limiting on our end, mainly due to how VPNs work when it comes to shared IP addresses between their users (so, even though you’re only making a certain amount of requests via the VPN, others could be making more, etc)
I definitely understand this is frustrating though, and I know one common workaround is to use a cloud development environment (like GitHub Codespaces or Gitpod) hosted outside of a region where VPNs are often needed, but that is outside of my team’s scope of support on the forums here.
Hope this helps a little bit though!