# Cannot get user event description via API

**URL:** <https://community.auth0.com/t/cannot-get-user-event-description-via-api/87810>\
**Category:** Get Help\
**Tags:** user, log\
**Created:** [July 28, 2022, 9:57am UTC](https://community.auth0.com/t/cannot-get-user-event-description-via-api/87810 "2022-07-28T09:57:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kun.li](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kun.li/32/36484_2.png) [@kun.li](https://community.auth0.com/u/kun.li)\
**Post date:** [July 28, 2022, 9:57am UTC](https://community.auth0.com/t/cannot-get-user-event-description-via-api/87810/1 "2022-07-28T09:57:03Z")

</div>

We want to use API " [/api/v2/users/{id}/logs](https://auth0.com/docs/api/management/v2/#!/Users/get_logs_by_user)" to retrieve user related logs, but somehow we cannot always get “description” from the response body.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/5/7/57747efddabdb5c10f64ab290578923956695fc8.png)  
We have 2 instances, and one of them could return description.

Please be noted, according to the doc, event type “f” doesn’t have “description”, but it was returned.

> **[Log Event Type Codes](https://auth0.com/docs/deploy-monitor/logs/log-event-type-codes)**
>
> Lists the event codes associated with log events.

---

<div class="post-metadata">

**Author:** ![art.stupels](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/art.stupels/32/30429_2.png) [@art.stupels](https://community.auth0.com/u/art.stupels)\
**Post date:** [July 28, 2022, 10:18am UTC](https://community.auth0.com/t/cannot-get-user-event-description-via-api/87810/2 "2022-07-28T10:18:38Z")

</div>

Hello,

I checked this internally and found out that if you get the logs with the management API, you’ll see that the description is empty for some log types. This is by design. In Auth0 Dashboard logs, we fill those empty descriptions with a lookup table (e.g. type:ssa → Successful silent authentication).

---

<div class="post-metadata">

**Author:** ![kun.li](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kun.li/32/36484_2.png) [@kun.li](https://community.auth0.com/u/kun.li)\
**Post date:** [July 28, 2022, 12:10pm UTC](https://community.auth0.com/t/cannot-get-user-event-description-via-api/87810/3 "2022-07-28T12:10:21Z")

</div>

Thanks, @art.stupels , is it possible that you guys share the lookup table with us?

---

<div class="post-metadata">

**Author:** ![art.stupels](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/art.stupels/32/30429_2.png) [@art.stupels](https://community.auth0.com/u/art.stupels)\
**Post date:** [July 28, 2022, 1:04pm UTC](https://community.auth0.com/t/cannot-get-user-event-description-via-api/87810/4 "2022-07-28T13:04:11Z")

</div>

I don’t have full visibility of the implementation, but I assume you can look up against the table on this page: [Log Event Type Codes](https://auth0.com/docs/deploy-monitor/logs/log-event-type-codes)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 26, 2024, 11:36pm UTC](https://community.auth0.com/t/cannot-get-user-event-description-via-api/87810/5 "2024-11-26T23:36:39Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
