Stian | 2017-06-09 13:08:31 UTC | #1
Hi, I'm calling GetConversationRecordings to get recordings and to download them. But i get no result for the conversations when i call it the first time, the second time I'll get the recording.
I have tried to set maxWaitMs to 10000 but there dosent seem to matter what i set here.
api.GetConversationRecordings(conversationId, maxWaitMs, formatId)
?
tim.smith | 2017-06-12 13:43:02 UTC | #2
If you take a look at the API resource's documentation (GET /api/v2/conversations/{conversationId}/recordings, it documents that it can return a 202 with the HTTP reason "Success - recording is transcoding". If you receive a 202, you should wait and try again later (several seconds, it generally shouldn't take long).
In the .NET SDK, you can use the RecordingsApi.GetConversationRecordingsWithHttpInfo(...) method to access the StatusCode property in the response.
Stian | 2017-06-12 14:17:34 UTC | #3
Hi, Ah thanks! It worked perfect!
system | 2017-08-28 19:34:59 UTC | #4
This post was migrated from the old Developer Forum.
ref: 1392