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
Calling the
presignedUrl
function without including the optional expiry parameter incorrectly sets the URL query string to include a valueX-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.