Report API - The specified created timestamp has expired or is in the future

dan_kasak

14-12-2016

Hi all. I'm working on updating the Perl libraries https://github.com/jpinkham/business-sitecatalyst ( which wrap the Report API ) from v1.3 to v1.4, and I've hit an interesting issue. When I call Report.Queue using the 1.4 endpoint, I get an error message like:

{"error":"Bad Request","error_description":"The specified created timestamp ('2016-12-15T05:22:00') has expired or is in the future","error_uri":null}

However when I make the same call ( effectively ) against the 1.3 endpoint, things work fine. I've tried running ntpd to sync my local clock. I'm not pausing in between generating the request headers/body and sending the request. What's going on?

Accepted Solutions (1)

Accepted Solutions (1)

dan_kasak

20-12-2016

Slightly worrying there are no responses 😕 Anyway, the problem was that the 1.4 API requires a Z character at the end of the timestamp, whereas the 1.3 API didn't.

Answers (0)