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
feita há 5 anos516 visualizações
1 Resposta
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
respondido há 5 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas