GithubHelp home page GithubHelp logo

aws-textract-terraform's People

Contributors

c-bik avatar eddrichjanzzen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.