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
질문됨 5년 전516회 조회
1개 답변
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
답변함 5년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠