I have a script that uses the v2 tickets endpoint to return tickets updated since a specific point in time. The script loops through each ticket returned and, for each, calls the time_entries endpoint to retrieve its time entries.
Examining the return headers on the very first API call to get the list of tickets reveals a rate limit of 120 and remaining count of 119. However, the first time the script calls for time entries (on the very first ticket) the API returns a 429 error. Presumably, this would be the second call from a rate limit perspective.
We have no other apps using the API key. We are on a Pro plan.
Any help would be greatly appreciated.