The 409 Conflict error is the most common error you'll encounter using the StoreFeeder API.
You will start getting this error response back if you've hit the StoreFeeder API's rate limit. The limits are as follows:
Per Second: 3
Per Minute: 60
Per Hour: 3000
Per Day: 18000
If you are struggling with hitting our limits often we'd recommend investigating the following:
- Investigating our bulk endpoints, for example you could use the PUT listings/update-prices to update 50 listings at once instead of PUT listings/{listingID}/update-price which is per listing
- Look at adding filters to your requests, as an example instead of just using GET Products and fetching all your products you could use GET Products with the ModifiedFrom filter so you only get products that have been changed within the last 30 minutes or so. (Inventory updates will alter the modified date of the product)
- Try spacing out how often you run requests, for example instead of every 4 hours fetching all your orders for the past 4 hours you could look at running your get order process every 15 minutes and only getting the past 15 minutes of orders.
- Look at adding wait and retries into your code, if you hit the 409 error you could add a 10 second wait into and then retry that request.
Comments
0 comments
Please sign in to leave a comment.