Agora-RTC-SDK-for-Xamarin icon indicating copy to clipboard operation
Agora-RTC-SDK-for-Xamarin copied to clipboard

Issue with agora restful API (response coming from server 400)

Open HarryJordan900 opened this issue 4 years ago • 1 comments

Hey, I'm using Xamarin.Agora.Full.Android (3.5.0.3) for live streaming. everything works good but when I ends live streaming and send request to Agora Rest API at **("https://api.agora.io/v1/apps/" + appid + "/cloud_recording/resourceid/" + resourceId + "/sid/"+ sid + "/mode/mix/stop";), ** but response coming from this API is not consistent, sometimes it returns status code 200 and sometime status code 400, when status code is 200 I can get the video URL, but when status code is 400, instead of video url, I got null value. My http request is the same but I receive two different responses. I have read Agora restful API docs, but I didn't find my solution. Is there any solution regarding my problem?

HarryJordan900 avatar Sep 28 '21 06:09 HarryJordan900

do you have response details when you get status code 400?

plutoless avatar Sep 30 '21 01:09 plutoless