1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Looks like your script doesn't have the right IAM permission to call this API. How are you configuring the credentials for this script? Take a look at this docuemntation for how to configure it. Also make sure the IAM user/role you are using has the correct permission to access Transcribe. To start with, you can use the managed AmazonTranscribeFullAccess
policy and later shrink down to only the operations you need.
répondu il y a 2 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a un mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 6 mois
Hello I repeat the following steps and I get the same error.
I creat a new IAM account Checked Access key - Access by programming Add permission AmazonTranscribeFullAccess
I enter "aws configure" on terminal then the Access Key ID, Secret Access Key, region us-east-1 and output format json. I run the code and still get the error botocore.exceptions.ClientError: An error occurred (AccessDeniedException) when calling the StartCallAnalyticsJob operation: User: [ARN USER THAT I JUST CREATED] is not authorized to access this resource
Any help please ? I don't understand why AWS Transcribe work but AWS Transcribe Analytics not working ....
If the error message says
...User: [ARN USER THAT I JUST CREATED] is not authorized to access this resource
then it means the python script is picking up the correct user. I also double-checked that the policyAmazonTranscribeFullAccess
contains theStartCallAnalyticsJob
permission. You can maybe try explicitly add thetranscribe:StartCallAnalyticsJob
permission to your IAM user.Are you using a personal account or a company account? Is the account in a AWS Organization? Maybe there are company-wide IAM permissions boundary that blocks you from using it?