Skip to content

X-Aws-date not the actual time cause "Invalid according to Policy: Policy expired" error #42

@perfectdeed

Description

@perfectdeed

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions