Exeu / apai-io

DISCONTINUED Amazon Product Adverstising Library based on PHP REST and SOAP (only V1) using the Product Advertising API.
http://apai-io.readthedocs.io/en/latest/
628 stars 155 forks source link

RequestException.php throwing an error? #185

Open PixelDog opened 4 years ago

PixelDog commented 4 years ago

I'm getting this error trying to do a search with apai-io:

Error at line 113 of /Applications/mampstack-5.6.30-2/apache2/htdocs/teknid/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php

Any ideas? I built an app with apai-io maybe a year ago, my environment hasn't changed, and I fired it up again today and that's the error I am getting.

PixelDog commented 4 years ago

Yeah drat I'm not sure this is working anymore. I just tried running one of the samples (Lookup) from the command line and I get:

PHP Fatal error: Uncaught exception 'GuzzleHttp\Exception\ServerException' with message 'Server error:GET http://webservices.amazon.de/onca/xml?AWSAccessKeyId=xxxxxxxxx&AssociateTag=xxxxxxxx&ItemId=B0040PBK32%2CB00MEKHLLA&Operation=ItemLookup&ResponseGroup=Large%2CSmall&Service=AWSECommerceService&Timestamp=2019-10-18T21%3A02%3A16Z&Version=2013-08-01&Signature=xxxxxxxxxxxxresulted in a503 Service Unavailable` response: <?xml version="1.0"?>

RequestThro (truncated...) ' in /Applications/mampstack-5.6.30-2/apache2/htdocs/apai-io/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113 Stack trace: #0 /Applications/mampstack-5.6.30-2/apache2/htdocs/apai-io/vendor/guzzlehttp/guzzle/src/Middleware.php(66): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response)) #1 /Applications/mampstack-5.6.30-2/apache2/htdocs/apai-io/vendor in /Applications/mampstack-5.6.30-2/apache2/htdocs/apai-io/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php on line 113`