# Zoom events api requests returning event not found error, when other endpoints work

**URL:** <https://devforum.zoom.us/t/zoom-events-api-requests-returning-event-not-found-error-when-other-endpoints-work/99155>\
**Category:** API and Webhooks\
**Created:** [November 28, 2023, 12:17pm UTC](https://devforum.zoom.us/t/zoom-events-api-requests-returning-event-not-found-error-when-other-endpoints-work/99155 "2023-11-28T12:17:44Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![ljens](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ljens/32/54294_2.png) [@ljens](https://devforum.zoom.us/u/ljens)\
**Post date:** [November 28, 2023, 12:17pm UTC](https://devforum.zoom.us/t/zoom-events-api-requests-returning-event-not-found-error-when-other-endpoints-work/99155/1 "2023-11-28T12:17:44Z")

</div>

**API Endpoint(s) and/or Zoom API Event(s)**  
Get event (/zoom\_events/events/{eventId})  
List events (/zoom\_events/events)

**Description**  
Requests to get\_event endpoint returns "Code 2002: event not found " error, while for the same eventId, the get\_sessions endpoint returns the correct response with all the sessions and details.

**Error?**  
"Code 2002: event not found " error when response from other endpoint suggests that the event does indeed exist, and the eventId is correct. Have tested with multiple eventIds.

Also, List events endpoint returns empty response with 200 status code.

**How To Reproduce**

- python (requests)
- Server-to-server OAuth app (have double checked the scopes, they are correct)
- Same issues for single or recurring session events

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [November 28, 2023, 4:14pm UTC](https://devforum.zoom.us/t/zoom-events-api-requests-returning-event-not-found-error-when-other-endpoints-work/99155/2 "2023-11-28T16:14:23Z")

</div>

Hi @ljens ,

Can you please share screen shots (with sensitive data obscured)?

---

<div class="post-metadata">

**Author:** ![ljens](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ljens/32/54294_2.png) [@ljens](https://devforum.zoom.us/u/ljens)\
**Post date:** [November 29, 2023, 6:12am UTC](https://devforum.zoom.us/t/zoom-events-api-requests-returning-event-not-found-error-when-other-endpoints-work/99155/4 "2023-11-29T06:12:29Z")

</div>

Hi Gianni,

Thanks for the response! I get an error trying to upload images, so here are the details:

**get\_events returns successful but empty response**  
…zoom\_events/events →   
{  
“total\_records”: 0,  
“events”:   
}

**get\_event\_info returning “Code 2002: event not found” error for eventId provided**  
…zoom\_events/events/NDh9wzMCSTqLMA7JNgidZg →   
{  
“code”: 2002,  
“message”: “Event not found.”  
}

**get\_event\_sessions returning the expected result for the same eventId**  
…zoom\_events/events/NDh9wzMCSTqLMA7JNgidZg/sessions →   
{  
“total\_records”: 1,  
“sessions”: [  
{  
“name”: “Returning to work after maternity leave”,  
…  
}

Each response was generate with postman using the same bearer token, which was originated from the same server-to-server OAuth app.

Here is the list of Zoom Events scopes I have added to the OAuth app, which afaik are correct?  
zoom\_events\_sessions:read:admin  
zoom\_events\_basic:read:admin  
zoom\_events\_basic:write:admin  
zoom\_events\_hubs:read:admin  
zoom\_events\_registrants:read:admin  
zoom\_events\_reports:read:admin

Many thanks, L

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [December 1, 2023, 1:01am UTC](https://devforum.zoom.us/t/zoom-events-api-requests-returning-event-not-found-error-when-other-endpoints-work/99155/5 "2023-12-01T01:01:53Z")

</div>

Hi @ljens ,

> [@ljens](#):
>
> **get\_event\_info returning “Code 2002: event not found” error for eventId provided**  
> …zoom\_events/events/NDh9wzMCSTqLMA7JNgidZg →  
> {  
> “code”: 2002,  
> “message”: “Event not found.”  
> }

What were the query parameters used for this request? See docs here: [Zoom Events API](https://developers.zoom.us/docs/api/rest/reference/event/methods/#operation/getEvents)

Sessions are a subset of Zoom Events so that may be the reason for the bizarre API behavior: [Comparing the functionality of Zoom Events types - Zoom Support](https://support.zoom.com/hc/en/article?id=zm_kb&sysparm_article=KB0065305)

Nonetheless, I believe it should’ve still populated via the first endpoint given there are no query parameters, hmm.

---

<div class="post-metadata">

**Author:** ![ljens](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ljens/32/54294_2.png) [@ljens](https://devforum.zoom.us/u/ljens)\
**Post date:** [December 4, 2023, 5:04am UTC](https://devforum.zoom.us/t/zoom-events-api-requests-returning-event-not-found-error-when-other-endpoints-work/99155/6 "2023-12-04T05:04:44Z")

</div>

Hi Gianni,

I did not use query params in the results above so as to use the defaults. But I have played around with query params options on both the endpoints that are returning unexpected results, and it made no difference.

The events I am trying to pull are a combination of single session and recurring sessions, not sure if that makes any difference. The sessions endpoint works as expected for both types.

Could this be an account specific thing? Any ideas how I can find a solution? Its quite critical as our events team needs detailed analytics on event engagement from the combination of Zoom and other datasources, so we can’t rely on the built in analytics.

I have also tried the meetings API, which generally works as expected, except that for recurring session events I do not get registration reports (from the meetings API). I would switch to using the meetings API but registration analytics is crucial to our events team.

Any further assistance on this would be very much appreciated!

Thanks, L

---

<div class="post-metadata">

**Author:** ![ljens](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ljens/32/54294_2.png) [@ljens](https://devforum.zoom.us/u/ljens)\
**Post date:** [December 4, 2023, 5:21am UTC](https://devforum.zoom.us/t/zoom-events-api-requests-returning-event-not-found-error-when-other-endpoints-work/99155/7 "2023-12-04T05:21:12Z")

</div>

Hi Gianni,

One other thing. The server-to-server OAuth app I am using has not been “added” to the accounts running the events. It is associated only with my developer account. Seems to work in general, but could this have something to do with it?

Thanks, L

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [December 7, 2023, 7:31pm UTC](https://devforum.zoom.us/t/zoom-events-api-requests-returning-event-not-found-error-when-other-endpoints-work/99155/8 "2023-12-07T19:31:42Z")

</div>

> [@ljens](#):
>
> not been “added” to the accounts running the events. It is associated only with my developer account. Seems to work in general, but could this have something to do with it?

Hi @ljens , with the admin scope it should not matter. Since you were able to add that permission, I’m assuming you’re an admin or developer.

I ask about the query parameters because for GET /zoom\_events/events , you need to pass these:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/8/1/813cddbeb159199d190011e74ef6d7e615fce07b.png)

It seems like you are looking for events that you are neither a host nor attendee. Could you please confirm your relationship to the account and these events/sessions?

> [@ljens](#):
>
> Could this be an account specific thing? Any ideas how I can find a solution? Its quite critical as our events team needs detailed analytics on event engagement from the combination of Zoom and other datasources, so we can’t rely on the built in analytic

It could be, and I am not as familiar with the query logic here so this information will help with investigating. We’ll try to get you to a solution soon 🙂

---

<div class="post-metadata">

**Author:** ![ljens](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ljens/32/54294_2.png) [@ljens](https://devforum.zoom.us/u/ljens)\
**Post date:** [December 12, 2023, 3:14am UTC](https://devforum.zoom.us/t/zoom-events-api-requests-returning-event-not-found-error-when-other-endpoints-work/99155/9 "2023-12-12T03:14:13Z")

</div>

Hi Gianni,

Yes my account has the developer role, and I have support from our account administrator for setting scopes etc.

And you are correct, I am trying to get details of events that I am neither the host nor attendee. I have played around with all combinations of the query parameters you screenshotted above and I still get nothing from the api call.

Thanks  
L

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [December 13, 2023, 6:55pm UTC](https://devforum.zoom.us/t/zoom-events-api-requests-returning-event-not-found-error-when-other-endpoints-work/99155/10 "2023-12-13T18:55:50Z")

</div>

Hi @ljens ,

Please share the event id(s), developer email associated with the app, and client id used to create your access token in **my private chat to you**. I will open an inquiry with our support team on your behalf.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [December 19, 2023, 9:12pm UTC](https://devforum.zoom.us/t/zoom-events-api-requests-returning-event-not-found-error-when-other-endpoints-work/99155/11 "2023-12-19T21:12:16Z")

</div>

Closed on December 19, 2023, 9:12pm UTC

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

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [December 20, 2023, 6:03pm UTC](https://devforum.zoom.us/t/zoom-events-api-requests-returning-event-not-found-error-when-other-endpoints-work/99155/12 "2023-12-20T18:03:45Z")

</div>

Opened on December 20, 2023, 6:03pm UTC



---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [December 20, 2023, 6:04pm UTC](https://devforum.zoom.us/t/zoom-events-api-requests-returning-event-not-found-error-when-other-endpoints-work/99155/13 "2023-12-20T18:04:32Z")

</div>

Reached out to service engineering about expected behavior since events can be found via Meetings API endpoints, but not Zoom Events endpoints (ZSEE-114938).

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [December 26, 2023, 4:30pm UTC](https://devforum.zoom.us/t/zoom-events-api-requests-returning-event-not-found-error-when-other-endpoints-work/99155/14 "2023-12-26T16:30:22Z")

</div>

Hi @ljens , can you please share a recording of how to reproduce this issue in our private message thread? Our service engineers are testing and not able to reproduce.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [January 29, 2024, 3:37am UTC](https://devforum.zoom.us/t/zoom-events-api-requests-returning-event-not-found-error-when-other-endpoints-work/99155/15 "2024-01-29T03:37:29Z")

</div>

Hi @ljens , do you still need help with this? We need a recording to inquire further.

Thanks!

---

<div class="post-metadata">

**Author:** ![ljens](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ljens/32/54294_2.png) [@ljens](https://devforum.zoom.us/u/ljens)\
**Post date:** [January 31, 2024, 4:10am UTC](https://devforum.zoom.us/t/zoom-events-api-requests-returning-event-not-found-error-when-other-endpoints-work/99155/16 "2024-01-31T04:10:18Z")

</div>

Hi Gianni

We have found the cause of the issue actually. One of my colleagues who manages the events accounts was speaking with your support colleagues on a related issue, and was able to get a solution to this problem. Turns out that my developer account needed to be added as a host to the events hubs that we want to pull the data from. Doing so has fixed the problem!

It is a little annoying though, since now I get all kinds of emails and updates about the events running across each of the 3 events hubs we have. I would say not the best solution, and it would make more sense if the developer account could just access this data without the need to be a hub host.

Regardless, thanks a bunch for all your help!

Warm regards,  
Linden

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [January 31, 2024, 4:21pm UTC](https://devforum.zoom.us/t/zoom-events-api-requests-returning-event-not-found-error-when-other-endpoints-work/99155/17 "2024-01-31T16:21:59Z")

</div>

Hi @ljens ,

Ah okay so it was this!

> [@gianni.zoom](#):
>
> It seems like you are looking for events that you are neither a host nor attendee. Could you please confirm your relationship to the account and these events/sessions?

> [@ljens](#):
>
> It is a little annoying though, since now I get all kinds of emails and updates about the events running across each of the 3 events hubs we have. I would say not the best solution, and it would make more sense if the developer account could just access this data without the need to be a hub host.

I agree. Your suggestion would be behavior consistent with other API endpoints like for our Meetings and Webinars API. I will share this feedback with our API development team.

Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [February 1, 2024, 4:22pm UTC](https://devforum.zoom.us/t/zoom-events-api-requests-returning-event-not-found-error-when-other-endpoints-work/99155/18 "2024-02-01T16:22:00Z")

</div>

Closed on February 1, 2024, 4:22pm UTC

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