Access Denied using DetectDocumentTextAsync in C#

0

I've read other posts regarding access denied errors, and either they are mysteriously marked answered or the user is instructed to use another region.
I have already verified that the iam user has the AmazonTextractFullAccess policy attached, and I've tried from both us-east-1 and eu-west-1. I am able to use preview from console with this user without issue.

The exception message is:
ex.Message = "User: arn:aws:iam::????????????:user/???????? is not authorized to perform: textract:DetectDocumentText with an explicit deny"

User details have been redacted.

Any assistance would be appreciated.
Thanks!

fhbiii
asked 5 years ago506 views
1 Answer
0

Following up. After wasting someones time at AWS, we found that there is likely an explicit deny of the tesseract service on the user I was using. While this didn't appear in the console, it did cause issues using the api from c#.

Setting up a new user with only textract full access attached resolved my issue.

fhbiii
answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions