“Signature not yet current” Error When Making Requests To Amazon SDK
Whilst recently playing with the Amazon SDK for PHP, I continuously got a response back claiming that the signature was not yet current, followed by a number of timestamps.
A quick search for the error didn’t return anything useful, however luckily it was pretty straightforward to fix.
The problem was that the timestamp on the server was more than 5 minutes different from the time at Amazons side. A quick adjustment to the server time (it was 10 minutes in front) and the requests started to complete as expected.