Upcoming meetings API returns an empty response

API Endpoint(s) and/or Zoom API Event(s)

https://api.zoom.us/v2/users/me/upcoming_meetings

**Description**
The upcoming meetings API returns an empty response for some accounts, even though there are meetings scheduled on the zoom website. This behavior is very flaky, as it only happens for some of the accounts I’ve tested this with and works fine for the rest.

Error?
The response for the upcoming meetings API is an empty JSON object.

{} ← this is the response

How To Reproduce
Steps to reproduce the behavior:
This issue only seems to happen for some accounts, and hence the reproducibility is not guaranteed. But to try, the following steps can be performed

  1. Acquire an access token by going through any appropriate authentication flow. We used the device code flow.
  2. Schedule a few meetings on your Zoom account.
  3. Use the access code form the previous step to make a request to the API linked above.
  4. Observe the response.

How distant are the upcoming meetings? List upcoming meetings is documented with a time range of 24 hours, while List meetings with a directional type​ is documented with a time range of 6 months.

All the meetings that we are expecting to see are scheduled withing 24hrs of when the API call was made. Also, even when there are no meetings scheduled within the next 24hrs, the expected response from the API contains an empty meetings list and a total_records field set to 0. LIke this:

{
  "total_records": 0,
  "meetings": []
}

But what we receive is:

{}