minio-js icon indicating copy to clipboard operation
minio-js copied to clipboard

X-Amz-Expires should be a number

Open bdalpe opened this issue 1 year ago • 1 comments

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 avatar Jun 25 '24 21:06 bdalpe