question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

get_media method in KinesisVideoMedia.Client throws an exception

See original GitHub issue

While 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

API Source: https://boto3.readthedocs.io/en/latest/reference/services/kinesis-video-media.html#KinesisVideoMedia.Client.get_media

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
stealthycoincommented, Jan 18, 2018

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found