Getting BadGateway/NotFound response for Graph API onlineMeetings/meetingId/recordings/recordingId/content request.
Ankitash Tulyani
20
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.
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,685 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
4,034 questions
Sign in to answer