Zoom report meetings API goes into infinite loop

I posted a bug with pagination few days back which made my reports API go into infinite loop

Now, even with data API call is spiralling out making infinite calls producing the same data with different next_page_token

[
  {
    from: '2023-09-29',
    to: '2023-10-01',
    page_count: 6,
    page_size: 300,
    total_records: 2,
    next_page_token: 'v3VIVqikNf0bOQAiis55PEjxulTo0l5uEa7',
    meetings: [
      {
        uuid: 'uuid1',
        id: id1,
        host_id: 'hid1',
        topic: 'Daily Scrum',
        user_name: 'User 1',
        user_email: 'u1@zoom.com',
        start_time: '2023-09-29 04:16:45',
        schedule_time: '',
        join_waiting_room_time: '',
        join_time: '09/29/2023 09:46',
        leave_time: '09/29/2023 09:47',
        has_screen_share: false,
        has_recording: false,
        has_chat: false,
        meeting_encryption_status: 2,
        _id: 'zoomMeetings-uuid1-u1@zoom.com'
      },
      {
        uuid: 'uuid1',
        id: id1,
        host_id: 'hid1',
        topic: 'Daily Scrum',
        user_name: 'User 1',
        user_email: 'u1@zoom.com',
        start_time: '2023-09-29 04:16:45',
        schedule_time: '',
        join_waiting_room_time: '',
        join_time: '09/29/2023 09:47',
        leave_time: '09/29/2023 09:51',
        has_screen_share: false,
        has_recording: false,
        has_chat: false,
        meeting_encryption_status: 2,
        _id: 'zoomMeetings-uuid1-u1@zoom.com'
      }
    ]
  }
  {
    from: '2023-09-29',
    to: '2023-10-01',
    page_count: 7,
    page_size: 300,
    total_records: 2,
    next_page_token: 'uaoOWCINNnbowqQizQw0RwinoZkYibOJtJ8',
    meetings: [
      {
        uuid: 'uuid1',
        id: id1,
        host_id: 'hid1',
        topic: 'Daily Scrum',
        user_name: 'User 1',
        user_email: 'u1@zoom.com',
        start_time: '2023-09-29 04:16:45',
        schedule_time: '',
        join_waiting_room_time: '',
        join_time: '09/29/2023 09:46',
        leave_time: '09/29/2023 09:47',
        has_screen_share: false,
        has_recording: false,
        has_chat: false,
        meeting_encryption_status: 2,
        _id: 'zoomMeetings-uuid1-u1@zoom.com'
      },
      {
        uuid: 'uuid1',
        id: id1,
        host_id: 'hid1',
        topic: 'Daily Scrum',
        user_name: 'User 1',
        user_email: 'u1@zoom.com',
        start_time: '2023-09-29 04:16:45',
        schedule_time: '',
        join_waiting_room_time: '',
        join_time: '09/29/2023 09:47',
        leave_time: '09/29/2023 09:51',
        has_screen_share: false,
        has_recording: false,
        has_chat: false,
        meeting_encryption_status: 2,
        _id: 'zoomMeetings-uuid1-u1@zoom.com'
      }
    ]
  }
  {
    from: '2023-09-29',
    to: '2023-10-01',
    page_count: 8,
    page_size: 300,
    total_records: 2,
    next_page_token: '3QsAsYfzl1RPnlzEDkB4pfqdblKeosxino9',
    meetings: [
      {
        uuid: 'uuid1',
        id: id1,
        host_id: 'hid1',
        topic: 'Daily Scrum',
        user_name: 'User 1',
        user_email: 'u1@zoom.com',
        start_time: '2023-09-29 04:16:45',
        schedule_time: '',
        join_waiting_room_time: '',
        join_time: '09/29/2023 09:46',
        leave_time: '09/29/2023 09:47',
        has_screen_share: false,
        has_recording: false,
        has_chat: false,
        meeting_encryption_status: 2,
        _id: 'zoomMeetings-uuid1-u1@zoom.com'
      },
      {
        uuid: 'uuid1',
        id: id1,
        host_id: 'hid1',
        topic: 'Daily Scrum',
        user_name: 'User 1',
        user_email: 'u1@zoom.com',
        start_time: '2023-09-29 04:16:45',
        schedule_time: '',
        join_waiting_room_time: '',
        join_time: '09/29/2023 09:47',
        leave_time: '09/29/2023 09:51',
        has_screen_share: false,
        has_recording: false,
        has_chat: false,
        meeting_encryption_status: 2,
        _id: 'zoomMeetings-uuid1-u1@zoom.com'
      }
    ]
  }
]

This is just part of the data that went on for a while

Found how to replicate the bug. This is happening if the dates are not in a month

Bug coming on date ranges
{{baseUrl}}/report/users/—/meetings?page_size=50&from=2023-09-21&to=2023-10-30&type=pastJoined
{{baseUrl}}/report/users/xxxx/meetings?page_size=50&from=2023-09-29&to=2023-10-01&type=pastJoined

No Bug on date ranges
{{baseUrl}}/report/users/—/meetings?page_size=50&from=2023-09-21&to=2023-09-29&type=pastJoined
{{baseUrl}}/report/users/xxxx/meetings?page_size=50&from=2023-10-01&to=2023-10-29&type=pastJoined

developer team, please look into this. I debugged and explained you in which cases it is failing

Hi @skethan ,

Does this happen in other testing environment as well, like Postman?

The docs say the following:

Which for me, “one month” can be interpreted as 30 to 31 days from the from date, but if this behavior persists in Postman and we can verify on our end, I’ll put a request for them to change the language to be more clear.

Thanks so much.