Comments (3)
Thanks for reaching out. The start_document_analysis command makes a call to the StartDocumentAnalysis API. That error is coming from the API. The error has come up a few times before in other issues, for example #2653. As mentioned there (and also in a Stack Overflow post) an invalid S3 bucket name could cause the error.
Can you verify the the S3 bucket name you're using is valid? And can you also confirm that the IAM role you're using has the necessary permissions to use the Textract service and access the S3 bucket where the document is stored?
If still seeing an issue please provide the complete code snippet you're using to reproduce the issue.
from boto3.
Thanks @tim-finnigan
The error was an incorrect role arn specification. I was passing the policy ARN
of the SNS permissions attached to the textract role rather than the textract role ARN
itself.
from boto3.
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
from boto3.
Related Issues (20)
- list_q_apps Always Unauthorized HOT 11
- SES send email example doesn't work HOT 2
- Certain operations not working with S3-compatible backend HOT 4
- [Feature Request] Query Bedrock model maxTokens limit HOT 2
- Unable to call RevokeSecurityGroupIngress (incorrect parameters being passed) HOT 3
- Invalid endpoint when initializing boto3.client inside Docker HOT 2
- Neptune Client Returns All DB Clusters (Not Just Neptune) HOT 2
- validate_e911_address returns invalid country code HOT 2
- Validation Exception: Invalid API version when calling InvokeModel [bedrock-runtime] HOT 2
- Collaborate with AWS SDK Code Examples team
- ECS ListContainerInstances (1.34.150) - incorrect 'MaxItems' details HOT 2
- AWS Lambda - "list_coverage" filter on `lambdaFunctionRuntime` not working HOT 8
- list_protections doc does not state an optional field. HOT 3
- Converse API skips 'required' tool spec parameters HOT 2
- Dangling Parameter - should be removed from SNS Docs HOT 1
- Image corruption when uploading to S3 using Boto3 in Lambda HOT 2
- Use IAM ID instead of username HOT 1
- Example for MultipartUpload HOT 5
- Error writing records to Timestream HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boto3.