aws-textract-terraform's People
aws-textract-terraform's Issues
Error while processing
Thank you for your wonderful effort/repo!.
I have validated that the roles that have right perms/policy for the lambda and it's seeing the incoming file during invocation.
response = callTextract(bucketName, objectName, detectText, detectForms, detectTables)
File "/var/task/syncproc.py", line 34, in callTextract
FeatureTypes=features
File "/var/runtime/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/var/runtime/botocore/client.py", line 676, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.errorfactory.InvalidS3ObjectException: An error occurred (InvalidS3ObjectException) when calling the AnalyzeDocument operation: Request has invalid S3 object
An error occurred (InvalidS3ObjectException) when calling the AnalyzeDocument operation: Request has invalid S3 object: InvalidS3ObjectException Traceback (most recent call last): File "/var/task/syncproc.py", line 104, in lambda_handler return processRequest(request) File "/var/task/syncproc.py", line 79, in processRequest processImage(documentId, features, bucketName, outputBucket, objectName, outputTable) File "/var/task/syncproc.py", line 46, in processImage response = callTextract(bucketName, objectName, detectText, detectForms, detectTables) File "/var/task/syncproc.py", line 34, in callTextract FeatureTypes=features File "/var/runtime/botocore/client.py", line 357, in _api_call return self._make_api_call(operation_name, kwargs) File "/var/runtime/botocore/client.py", line 676, in _make_api_call raise error_class(parsed_response, operation_name) botocore.errorfactory.InvalidS3ObjectException: An error occurred (InvalidS3ObjectException) when calling the AnalyzeDocument operation: Request has invalid S3 object
I'm seeing this error while processing synchronously. (syncproc.py). Wonder what is going. Was able to track this down in CW logs, but this seems to be more of boto3/actual API bug?
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.