kinformation / grav-plugin-amazon-products

The Amazon Products Plugin is for Grav CMS. Displays Amazon products by ASIN/ISBN-10 on your pages.
MIT License
8 stars 3 forks source link

Error 503, too many requests #4

Open kaihawaii110007 opened 5 years ago

kaihawaii110007 commented 5 years ago

Hello, first thanks for the plugin. Works fine, but the Amazon restrictions make it difficult to use. I've a list of books (not that many) with not that many sales but is operating within 30 day limits and the query isn't grouped. Is there a way to comply closer to the current rule set?

Amazon has now disabled the usage and plotting in AWS Scratchpad an error:

Error! RequestThrottled HTTP Status 503: Service Unavailable AWS Access Key ID: MYKEY. You are submitting requests too quickly. Please retry your requests at a slower rate.

Except from Efficiency Guidelines

Effective 23-Jan-2019, the request limit for each account is calculated based on revenue performance attributed to calls to the Product Advertising API (PA API) during the last 30 days.

Each account used for Product Advertising API is allowed an initial usage limit of 8640 requests per day (TPD) subject to a maximum of 1 request per second (TPS). Your account will receive an additional 1 TPD for every 5 cents or 1 TPS (up to a maximum of 10) for every $4320 of shipped item revenue generated via the use of Product Advertising API for shipments in the last 30 days.

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/AWSECommerceService/latest/DG/TroubleshootingApplications.html