Unable to list meeting participants

Description
I tried to list participants of meeting by an API. But I got an error in response.

Error
{
“code”: 3001,
“message”: “This meeting’s details info is not available or ID is not valid.”
}

Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth

Which Endpoint/s?
List Meeting Participants
GET /metrics/meetings/{meetingId}/participants

Screenshots (If applicable)
Please Find Attachments


Hey @shashwat,

Can you try double url encoding the meeting uuid that you are passing in?

Thanks,
Tommy

Hi Tommy,

Thanks for reply.

I tried double url encoding of meeting uuid. But same result.

Hey @shashwat,

Can you try the reports endpoint instead?

Let me know if you get the same error.

Thanks,
Tommy

Hi Tommy,

Thanks for reply.

I tried reports endpoint with meeting uuid and double-encoded meeting uuid. But same error.

I used past-participant API, I got empty array of participants.

Hey @shashwat,

I see in the screenshots you shared that the meetingUUID is not double url encoded?

Thanks,
Tommy

Hi Tommy,

Thanks for reply.

Meeting ID
3527820273

Meeting UUID
Wd5AX70ZROSniZxBI3J7/A==

Double Encoded Meeting UUID
Wd5AX70ZROSniZxBI3J7%252FA%253D%253D

I also used meetingUUID with double url encoded. But same error.

when I used meeting id instead of meeting uuid, it’s worked. Now I am using past-participant API with meeting id instead of meeting uuid.

Hey @shashwat,

Okay, for now use the meetingID while we look into the issue.

Thanks,
Tommy

Hey @shashwat,

I figured out the issue.

In order for the following endpoints to return participants:

GET /past_meetings/{meetingUUID}/participants
GET /report/meetings/{meetingId}/participants
GET /metrics/meetings/{meetingId}/participants

there has to be at least two people in the meeting. If there is only 1 person in the meeting, it is not considered a meeting and the API will return the “Meeting ID is invalid or not end.” error, or the empty participants array.

For the meetingUUID you tested with (Wd5AX70ZROSniZxBI3J7/A==) you (the host) were the only one in the meeting, so the participants array was empty since there were indeed no participants.

Try starting a meeting and having two people join (Yourself and a participant) and the endpoints will return the expected data. (Try passing in the meetingID and then the meetingUUID. If the meetingUUID contains a / you will need to double URL encode it.).

Thanks,
Tommy

Hi Tommy,

Okay. Thanks for reply.

1 Like

Happy to help @shashwat! :slight_smile:

Let me know if it works!

Thanks,
Tommy