Jan 10 2024 04:04 AM
This code worked until I updated to the latest library:
var istrm = await m_graphClient
.Users[admin.Id]
.OnlineMeetings[meeting.Id]
.Transcripts[transcript.Id]
.Content
.GetAsync();
Now I get this error:
Invalid format 'application/octet-stream, application/json' specified.
The say I should be able to set the format:
https://learn.microsoft.com/en-us/graph/api/calltranscript-get?view=graph-rest-1.0&tabs=csharp
// Code snippets are only available for the latest version. Current version is 5.x
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
await graphClient.Users["{user-id}"].OnlineMeetings["{onlineMeeting-id}"].Transcripts["{callTranscript-id}"].Content.GetAsync((requestConfiguration) =>
{
requestConfiguration.QueryParameters.Format = "text/vtt";
});
But the "Format" property is not defined in the version of the library I am using (5.38.0)
How can I fix? Seems like a bug in the release.
May 17 2024 12:49 PM
May 17 2024 01:29 PM
@Mike_Yeager Not yet. I've been trying everything I possibly can to get it working. Quite frustrating
May 17 2024 01:38 PM
May 20 2024 10:02 AM
@Mike_Yeager I went as far as to download the solution from github and update the code to correctly allow for a format parameter. Compile it with the .net cli (not documented anywhere), which requires the out of support .net5.0 taret framework and still it doesn't work. I read another article showing a work around, but that didn't work either.