The random search function randomly gives "not found" errors

I have a script that imports large volumes of products into the Shopify store. I implemented hibernation throughout the program to prevent the API server from sending out, as well as a method to prevent the Shopify API call limit from being exceeded.

Everything seems to be working fine, except when Shopify randomly gives me a < Not Found error when POST ing to /admin/products.json . My current job is to retry product creation when Shopify returns " Not Found " up to 5 times. Usually he performs a second or third attempt.

Why is this happening? Shopify API / API servers seem very unreliable.

+4
source share
1 answer

The reason might be buying an api server, or it could be a problem on the hosting where the script is running for you. Perhaps you can try to increase your sleep time to see if this helps. Also, please carefully check the personal api documentation. https://help.shopify.com/api/guides/api-call-limit

0
source

All Articles