Closed pragadeeshNIS closed 3 months ago
This is the exact error I get when I call the API from an Android device
API : https://XXXXXXX.execute-api.ap-southeast-1.amazonaws.com/Prod/start_capture?title=XXXXXX
Response : HttpResponse(data={"message":"Missing Authentication Token"}, httpException=HttpException(errorCode=403, errorReason=))
HI,
How do you call the API and pass the authentication role?
could you help post your codes here?
Here is the demo to create the media capture https://github.com/aws/amazon-chime-sdk-js/blob/main/demos/serverless/src/handlers.js#L433
and media capture endpoint in ap-southeast-1 is media-pipelines-chime.ap-southeast-1.amazonaws.com
listed in https://docs.aws.amazon.com/general/latest/gr/chime-sdk.html
I resolved the issue I was calling the wrong URL wrong URL: https://XXXXXXX.execute-api.ap-southeast-1.amazonaws.com/Prod/start_capture?title=XXXXXX correct URL: https://XXXXXXX.execute-api.ap-southeast-1.amazonaws.com/Prod/startCapture?title=XXXXXX
What happened and what did you expect to happen?
I am using mobile SDK along with the serverless demo. I am unable to start the media capture as it throws "unauthorized" error.
URL to start media capture
https://XXXXXXX.execute-api.ap-southeast-1.amazonaws.com/Prod/start_capture?title=XXXXXX
Have you reviewed our existing documentation?
Reproduction steps
Amazon Chime SDK for JavaScript version
latest
What browsers are you seeing the problem on?
Android
Browser version
9.0
Meeting and Attendee ID Information.
nil
Browser console logs
no information