Skip to content
This repository has been archived by the owner on Mar 14, 2021. It is now read-only.

Error 503 Service Unavailable #181

Open
ttib1996 opened this issue Feb 14, 2019 · 6 comments
Open

Error 503 Service Unavailable #181

ttib1996 opened this issue Feb 14, 2019 · 6 comments

Comments

@ttib1996
Copy link

Everytime i'm trying to make a request to the api, i'm getting a 503 Service Unavailable. Full error:
Fatal error: Uncaught GuzzleHttp\Exception\ServerException: Server error: GET http://webservices.amazon.de/onca/xml?AWSAccessKeyId=AKIAJTPPKLFTJDDXUZGQ&Actor=Bruce%20Willis&AssociateTag=mdomocos20&ItemPage=1&Keywords=Stirb%20Langsam&Operation=ItemSearch&ResponseGroup=Large&SearchIndex=DVD&Service=AWSECommerceService&Timestamp=2019-02-14T12%3A52%3A36Z&Version=2013-08-01&Signature=Y1nESl8%2B106sI8D1aMihc%2FKFQFnrO0o%2BNishcqXaf4M%3D` resulted in a 503 Service Unavailable response: RequestThro (truncated...) in C:\Users\ID\Desktop\test\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php:113 Stack trace: #0 C:\Users\ID\Desktop\test\vendor\guzzlehttp\guzzle\src\Middleware.php(66): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response)) #1 C:\Users\ID\Desktop\test\vendor\guzzlehttp\promises\src\Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp{closur in C:\Users\ID\Desktop\test\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php on line 113`

From what I understand, it means that I'm sending requests too fast. But I'm sending only one request. Does anybody know what the problem is?

@neoteknic
Copy link

Same problem, does this lib have throttle ?

@JanKrohn-Khalibre
Copy link

The new thresholds are silly. The API is becoming unusable. If you have no sales in a particular region, you basically have zero API privileges.

@rodurma
Copy link

rodurma commented Mar 13, 2019

Note that your account will lose access to Product Advertising API if it has not generated referring sales using PA API in the last 30 days.

https://docs.aws.amazon.com/pt_br/AWSECommerceService/latest/DG/TroubleshootingApplications.html

@IvanBernatovic
Copy link

So basically goodbye PA API.

@kissifrot
Copy link

Do anyone know an alternative? I was trying to use it to suggest books depending on books users already have, but how to start getting sales if you can't even setuop the system before? :/

@pwaring
Copy link

pwaring commented May 6, 2019

You have to make some sales through another channel, such as Site Stripe or direct links to products. If you want data about book suggestions, you might be able to use the Goodreads API instead (Goodreads is also owned by Amazon):

https://www.goodreads.com/api/terms

Since it's fairly easy to build Amazon URLs from an ISBN, the main thing you'll lose by not having the Product Advertising API is the ability to extract price and other data automatically.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants