You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hippiepaws opened this issue
Jan 23, 2023
· 0 comments
Assignees
Labels
bugThis issue is a bug.investigatingThis issue is being investigated and/or work is in progress to resolve the issue.p2This is a standard priority issue
I'm trying to download a pdf saved on s3, serving it via a lambda written in go, with API Gateway on top of it. While the file on S3 has 15 pages and a lot of content, files being downloaded are coming out blank. The number of pages are recorded correctly, but the content is missing. The code looks like this:
File is either coming out to be an empty file or in a not supported PDF format when encoding it to base64, while keeping the API Gateway Binaries on.
Reproduction Steps
Put a file on S3
Write the above code for lambda and upload .zip file.
Attach an API Gateway on top of it to trigger lambda.
Hit the API Gateway url via a browser.
Possible Solution
Unable to figure it out
Additional Information/Context
No response
SDK version used
both v2 and v1
Environment details (Version of Go (go version)? OS name and version, etc.)
1.18
The text was updated successfully, but these errors were encountered:
RanVaknin
added
investigating
This issue is being investigated and/or work is in progress to resolve the issue.
and removed
needs-triage
This issue or PR still needs to be triaged.
labels
Feb 13, 2023
bugThis issue is a bug.investigatingThis issue is being investigated and/or work is in progress to resolve the issue.p2This is a standard priority issue
Describe the bug
I'm trying to download a pdf saved on s3, serving it via a lambda written in go, with API Gateway on top of it. While the file on S3 has 15 pages and a lot of content, files being downloaded are coming out blank. The number of pages are recorded correctly, but the content is missing. The code looks like this:
Expected Behavior
The file should come with all the correct content
Current Behavior
File is either coming out to be an empty file or in a not supported PDF format when encoding it to base64, while keeping the API Gateway Binaries on.
Reproduction Steps
Put a file on S3
Write the above code for lambda and upload .zip file.
Attach an API Gateway on top of it to trigger lambda.
Hit the API Gateway url via a browser.
Possible Solution
Unable to figure it out
Additional Information/Context
No response
SDK version used
both v2 and v1
Environment details (Version of Go (
go version
)? OS name and version, etc.)1.18
The text was updated successfully, but these errors were encountered: