# Getting event first token with python client

**URL:** <https://forum.asana.com/t/getting-event-first-token-with-python-client/102061>\
**Category:** API & Developers\
**Created:** [3 December 2020 15:33 UTC](https://forum.asana.com/t/getting-event-first-token-with-python-client/102061 "2020-12-03T15:33:20Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Segal\_Inc\_Testing](https://luna1.co/8d76cd.png) [@Segal\_Inc\_Testing](https://forum.asana.com/u/Segal_Inc_Testing)\
**Post date:** [26 February 2024 18:11 UTC](https://forum.asana.com/t/getting-event-first-token-with-python-client/102061/12 "2024-02-26T18:11:48Z")

</div>

I ended up figuring out why the console hung infinitely: here is a thread where I explained my findings:

> [@Events API returns overly large "retry after" time for some resources](https://forum.asana.com/t/events-api-returns-overly-large-retry-after-time-for-some-resources/720367):
>
> I ended up down this rabbit hole initially when using the python asana 4.0.11 package. I noticed that when I tried to call events\_api\_instance.get\_events(resource) with one paticular resource, the thread which called that code would just hang… forever. However, it was only for one paticular resource. So after going to the [offical API website](https://developers.asana.com/reference/getevents) and making the request through there with the same parameters, I actually got this response: Code 429: { "errors": [ { "message": "The resource…

Hopefully this issue gets resolved.

---

_[View the full topic](https://forum.asana.com/t/getting-event-first-token-with-python-client/102061)._
