Set inventory timeout

Solved
Tourist
9 1 0

Dear community,

 

I am developing an APP for a customer to set inventory levels for his products using POST (.../inventory_levels/set.json). This is working generally but after setting inventory levels for two products I receive timeouts only; I have set a sleep routine for even 10 seconds between two posts, same problem. 

Can anyone help?

 

Note: my routine works one by one which means every product is uploaded via POST on its own, is there a way to set all inventory levels in one POST (this would solve the timeout problem)?

 

rgds

Kurt   

 

0 Likes
Tourist
9 1 0

This is an accepted solution.

0 Likes
Excursionist
11 0 2

hello,

what did you do please ? I read the post you linked but don't know what to do... Same here it times out randomly always when I set stocks (I have hundreds of products, it was working since weeks without problems then suddenly today it begins to fail ....

I didn't added products, didn't change my code, I absolutely don't understand

 

Need help please

Thank you

0 Likes
Excursionist
11 0 2

UPDATE : Now I have this error 2days later again no change in my code ... (520 Origin Error) Shopify returned 520 Origin Error, but there was no JSON to parse into an error message.

Shopify support is working on this ?

0 Likes