Getting BadGateway/NotFound response for Graph API onlineMeetings/meetingId/recordings/recordingId/content request.
Ankitash Tulyani
15
Reputation points
I was trying to retrieve the teams meeting recordings for an application and am using Graph API to do so. Here are the steps I followed to achieve it:
- Got an access token using client credentials auth flow.
- Made GET request to https://graph.microsoft.com/beta/users/{userId}/onlineMeetings/{meetingId}/recordings to get the recording Ids of different meeting recordings
- Made a GET request to https://graph.microsoft.com/beta/users/{userId}/onlineMeetings/{meetingId}/recordings/{recordingId}/content to get the recording video
Step 2 gave 4 different recordings(recordingIds) as response. But when I tried to retrieve the recordings for these 4(Step3), only 3 of them gave the video but the latest recording's response was:
{
"error": {
"code": "BadGateway",
"message": "Failed to process request.",
"innerError": {
"date": "2023-08-31T05:13:30",
"request-id": "34daaf8c-cd63-46e2-9709-382d3382173c",
"client-request-id": "34daaf8c-cd63-46e2-9709-382d3382173c"
}
}
}
This issue has happened previously for other recordings as well giving a "NotFound" code for some and "BadGateway" for some requests, but started working fine after some time. Any help with this is highly appreciated.
Thanks.
Sign in to answer