I'm trying to make a successful call to Microsoft's closed captions API but keep getting a 404 error, specifically I get
{ error: 'Meeting not found or is not started.' }
I've created the live meeting and enabled captions but keep getting this error.
For the meeting id I followed the documentation to create a URL encoded JSON string from an object consisting of tenant id, organizer id, thread id and a message id (defaulted to 0)
I also tried getting the actual meeting id via the SDK on a Teams app I'm developing in conjunction with this feature.
In both instances I get the same error message.
Regarding the authentication, I tried Client Credentials Flow and Authorization Code Flow to get the token required for the endpoint. Neither token changes the outcome.
Does anyone have an idea how to make a successful request to this endpoint?