The error same to be due with X-Aws-Date parameter being behind.
The X-Aws-Date value:
20240117T193821345Z
The result of new Date(+new Date() + 864e5).toISOString():
2024-01-18T20:55:28.194Z
It cause the error: "Invalid according to Policy: Policy expired"
Given the X-Aws-Date parameter is optional, is there a way to remove it?