get_media method in KinesisVideoMedia.Client throws an exception
See original GitHub issueWhile trying to fetch stream in Kinesis Video using get_media in KinesisVideoMedia.Client class following exception is thrown
<AccessDeniedException>
<Message>Unable to determine service/operation name to be authorized</Message>
</AccessDeniedException>
Python 2 and Python 3 Boto3 Version: 1.5.13
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
KinesisVideoMedia — botocore 1.29.3 documentation
A client can call GetMedia up to five times per second per stream. ... If an error is thrown after invoking a Kinesis...
Read more >GetMedia - Amazon Kinesis Video Streams
Use this API to retrieve media content from a Kinesis video stream. In the request, you identify the stream name or stream Amazon...
Read more >Xamarin AWS GetMedia return unknown error - Stack Overflow
I am developing a Xamarin video consumer application in Xamarin and I am getting the following error: Amazon.KinesisVideoMedia.
Read more >Boto3 kinesis video stream: Error when calling the GetMedia ...
import boto3 kinesis_media = boto3.client('kinesis-video-media' ... (403) when calling the GetMedia operation: <AccessDeniedException> <Message>Unable to ...
Read more >aws-sdk-for-zig/kinesisvideomedia.2017-09-30.json at ...
"target": "com.amazonaws.kinesisvideomedia#GetMedia" ... the request because you have exceeded the limit of\n allowed client calls.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi,
This is the answer - https://stackoverflow.com/questions/49746612/boto3-kinesis-video-stream-error-when-calling-the-getmedia-operation
Thanks
Just a minor note about the code: boto3 already understands environment variable credentials so there is no reason to pass those through to the client initializer.
About the issue, that looks like its what the service returns when you don’t have access to the stream, or possibly it doesn’t exist. Either way this is a service issue so you should either ask on stack overflow or on the service forum