-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
You are submitting requests too quickly. Please retry your requests at a slower rate #104
Comments
Same issue, |
Check this issue #37 |
Same issue, I only execute one request in my code:
Error: |
Solved adding the domain in request: domain: 'webservices.amazon.es' |
how to add this |
Solved using https://github.com/jhurliman/node-rate-limiter Something like:
|
Might be related to some changes made to their API operating agreement. https://docs.aws.amazon.com/AWSECommerceService/latest/DG/TroubleshootingApplications.html
I also read that in order to qualify access you need to make three sales, although I can not find that at this time. |
Found it: https://associates.amazon.ca/assoc_credentials/home
|
I am getting this error though I am not making multiple calls at a time. My first call itself has thrown this error as per my log. Same API call is working after some time. Please guide me how to solve this issue.
Function usage:
var client = amazon.createClient({
awsId: "XXXXXXXXXXXXXXXXXXX",
awsSecret: "YYYYYYYYYYYYYYYYYYYYYYY",
awsTag: "ZZZZZZZZZZZZZZ"
});
console.log("Before making Amazon API");
client.itemLookup({
idType: 'ASIN',
itemId: BBBBBBBBBB, //This is valid amazon ASIN id
domain: 'webservices.amazon.in'
}).then(function (results) {
var result = JSON.stringify(results);
console.log("amaz success" + result);
Error:
{"$":{"xmlns":"http://ecs.amazonaws.com/doc/2013-08-01/\"},\"Error\":[{\"Code\":[\"RequestThrottled\"],\"Message\":[\"AWS Access Key ID: XXXXXXXXXXXXXXXX. You are submitting requests too quickly. Please retry your requests at a slower rate."]}],"RequestID":["5b1b2a16-1870-4884-9543-26d463955d94"]}"
The text was updated successfully, but these errors were encountered: