- Newest
- Most votes
- Most comments
Hi,
You get this error code because the client rest request reaching your API gateway is not properly signed: it must match SigV4 protocol.
See https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-signing.html
You may also want to give at look at https://github.com/aws-samples/sigv4a-signing-examples to see how to properly sign you requests from different languages.
In your specific case, the error message indicates that the request was signed too long ( > 5 min) before reaching the API gateway. See on page above: Protect against potential replay attacks: In most cases, a request must reach AWS within five minutes of the time stamp in the request. Otherwise, AWS denies the request.
Best,
Didier
Thank you Didier,
First of all, thank you for your answer.
Weirdly so we can evade this problem by deploying with another Jenkins agent. Is this coincidence or also related?
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 days ago
- AWS OFFICIALUpdated a year ago