Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X-Amz-Expires should be a number #1312

Closed
bdalpe opened this issue Jun 25, 2024 · 1 comment · Fixed by #1313
Closed

X-Amz-Expires should be a number #1312

bdalpe opened this issue Jun 25, 2024 · 1 comment · Fixed by #1313

Comments

@bdalpe
Copy link
Contributor

bdalpe commented Jun 25, 2024

Calling the presignedUrl function without including the optional expiry parameter incorrectly sets the URL query string to include a value X-Amz-Expires=undefined instead of the default 7 day expiration.

AWS S3 returns the following error: X-Amz-Expires should be a number

This error appeared in version 8.0.1.

@bdalpe
Copy link
Contributor Author

bdalpe commented Jun 25, 2024

@prakashsvmx can you look at your PR #1305 to see if there was potentially any impact?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant