Get-econ-models bug?

I’ve been working with the get-econ-models endpoint this afternoon and have encountered some weird behavior with how the endpoint handles cursor-based pagination. For this particular endpoint, the pagination appears to work as expected until you reach the final page/chunk of the econ model set you’re querying. At this point, the request takes much longer than usual and eventually times out, returning:

ERROR:root:500 Server Error: Internal Server Error for url: https://api.combocurve.com/v1/projects/...

For example, if you had a project with 240 project-level econ models, if you hit this endpoint with take = 100 this is what you’d see:

Loop 1: 100 records returned

Loop 2: 100 records returned

Loop 3: ERROR

FYI, this pagination issue does not occur for get-company-econ-models.

Happy to hop on a call to walk through my code if the team is unable to reproduce.

I got a ticket open to review and debug, will get back as soon as we have had a chance to look at it.

1 Like

Can you try accessing this data again? I just pushed a change to that endpoint

Jeff, it looks like the pagination issue has been fixed. Thanks for the quick turn-around!

1 Like