apai-io icon indicating copy to clipboard operation
apai-io copied to clipboard

400 Bad Request - Request has expired

Open diggde opened this issue 7 years ago • 1 comments

I use your apai-io and everything works fine. At first ... thanks a lot. But in the last time I get an 400 Bad Request Error: Request has expired. Here the error message:

GuzzleHttp\Exception\ClientException: Client error: `GET http://webservices.amazon.de/onca/xml?...` resulted in a `400 Bad Request` response:
<?xml version="1.0"?>
<ItemLookupErrorResponse xmlns="http://ecs.amazonaws.com/doc/2013-08-01/"><Error><Code>RequestExpired</Code><Message>Request has expired. Timestamp date is 2017-09-25T11:50:39Z.</Message></Error><RequestID>fa2c4120-ca6e-4611-98da-9069b71e4e2c</RequestID></ItemLookupErrorResponse>
 in /var/www/admin-interface/library/ApaiIOVendor/guzzlehttp/guzzle/src/Exception/RequestException.php on line 113

There is someting wrong with the timestamps or timezones. How can I set the right timestamp?

Thanks for help!

diggde avatar Sep 25 '17 12:09 diggde

I ran into this problem and I fixed it by making sure the system time was properly sync'd with the network time.

ttk avatar Jun 05 '18 18:06 ttk