AgoraIO-Community / Agora-RTC-SDK-for-Xamarin

MIT License
31 stars 9 forks source link

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

Open HarryJordan900 opened 2 years ago

HarryJordan900 commented 2 years ago

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?

plutoless commented 2 years ago

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