Quantcast
Channel: Opinion: Shopify Community - Shopify APIs & SDKs
Viewing all articles
Browse latest Browse all 25503

[Critical] bug Shopify API by john

$
0
0

Good day.

I am a participant of Shopify Partner program as a developer of the apps. I have faced with a little problem during development of the new app.
I make import of webhooks in a cycle by stores via API. I am trying to get all webhooks (using HTTP method GET) of the new store after successful POST request in the previous store. And then I always get the following response from the Shopify API:
 <html><body><h1>502 Bad Gateway</h1>
The server returned an invalid or incomplete response.
</body></html>
I have tried to make a delay between API requests up to 2 minutes without any profit.
Please, notice that I am using a new header X-Shopify-Access-Token for each store.
I have found something similar here:
http://ecommerce.shopify.com/c/shopify-apis-and-technology/t/failed-response-code-502-response-message-bad-gateway-166853
But it doesn't look like my case.

So I have a question. Is it possible to make a GET request immediately after the POST/PUT request? Or maybe API imposes restrictions for that?

Thanks in advance.


Viewing all articles
Browse latest Browse all 25503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>