I am trying to update to the 2019-07 version of the API to synch our clients products with our WMS system. I have a test bench and I have the request set to "limit=10" so I can test the cursor functionality. I am able to pull the "next" link out of the header and make a second call, but when I get the response back from the second call and try to make a third call it times out if I have a timeout set, and never seems to return if I don't set a timeout for the call.
Solved! Go to the solution
Looking at those requests, and the ones that timed out around the same time, it looks like when run again they are nice and fast. It could be that when they were run initially our database was under high load which has since cleared up. Are you finding that after the first page, any pages are consistently timing out? Or a high proportion of them timing out?
Is this something that I would define in the request or something that would be returned in the headers?
I have submitted the trace from my test application to Kristine Angeles at Support@shopify.com. That trace contains the calls to the API and the returned headers for the calls. There are no headers for the call that failed because it timed out and no response was received.
|an hour ago|
|3 hours ago|
|8 hours ago|