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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ