-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Describe the problem.
For requests that are apparently too large, the API will return a timeout error. It doesn't seem clear beforehand what exactly will be a request that is too large, and a timeout error is not particularly helpful.
I opened a ticket with Marquee support asking for the best way to do this or a fix for it, but haven't heard back in a couple days.
Describe the solution you'd like
The possibly already supported pagination or scrolling could be made accessible in the method. Then, I can just create a wrapper that will just iterate over chunks and combine the results.
Describe alternatives you've considered
I have some code that iterates over years, but that sometimes fails. I could do smaller date ranges, but that would be overkill for smaller requests. I think the biggest issue with alternatives is that I don't want to have to chunk before I know when it might fail because each call introduces latency to my code.
Are you willing to contribute
Yes
Additional context
I can provide examples of requests that timed out if that's helpful, though running the examples might require access to our paid datasets.