Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

503 error on 2019-10 REST api for inventory update

503 error on 2019-10 REST api for inventory update

sgm407
Tourist
4 0 1

Getting this error:

Run:Shopify: Synch Inventory was run on 9/8/2021 11:15:00 AM
Duration:00:00:04.8436563
Status:Failed (Enabled)
Message(s):Synch Inventory: The remote server returned an error: (503) Server Unavailable.

Seems to be inconsistent service on Shopify side.

Shopify Support strangely suggested that Shopify would consider fixing this if we posted a message here...

Reply 1 (1)

GrahamS
Shopify Staff (Retired)
193 37 55

Hello @sgm407 ,

503s are an uncommon issue, however we do see them from time to time. In my experience, the most common reason behind an app encountering 503s is due to a throttle being applied. 

API calls are subject to rate-limiting, which means that only a certain amount of requests can be processed per minute. If an app attempts to exceed the rate maximum, or starts to exhibit bot-like behaviour, the IP/app can have a temporary throttle applied and the requests will be blocked from the server, resulting in a 503.

I would strongly recommend approaching your app developer and have them review their call rate. If the issue is intermittent rather than constant, and the error is 503, then it's a strong likelihood that their issue is automated temporary throttles on their app. They should be able to resolve this by reducing the call rate where necessary.

Best,

Graham

To learn more visit the Shopify Help Center or the Community Blog.