aws-samples / aws-samples/amazon-textract-idp-cdk-constructs

bug:Current SNS message parse process does not handle parentheses in URL translating

Open
#55 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
33
Forks
14
PR merge metrics
No merged PRs in 30d

Description

To reproduce the error, you will need to upload a file in target ```s3InputBucket``` named ```document(1).pdf``` and a SNS message would be generated to trigger the StepFunction execution.

In StepFunction -> State Machine execution errors like following:
```
InvalidS3ObjectException for object: s3://{myS3Bucket}/{myS3BucketPrefix}/document%281%29.pdf
```
which means the filename ```document%281%29.pdf``` is not found in target S3 bucket because the original file uploaded to the S3 bucket is named ```document(1).pdf```.
This bug is caused by the SNS message handling process does not correctly handle parentheses in URL translating

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.