Skip to content
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

SignatureDoesNotMatch #78

Open
RobeeeJay opened this issue Oct 14, 2013 · 1 comment
Open

SignatureDoesNotMatch #78

RobeeeJay opened this issue Oct 14, 2013 · 1 comment

Comments

@RobeeeJay
Copy link

I've not changed any of my code, so maybe Amazon has changed something, anyway now I get the error code SignatureDoesNotMatch whenever I make a request via createProdAdvClient. :/

Not sure if this library is maintained anymore, judging by the lack of response to other issues.

Is anyone alive out there? :(

@bluepuma77
Copy link

I had the same issue with this library, this is a quick fix.

In lib/aws.js replace

    for(var n in keys) {
      var key = keys[n]
      sorted[key] = query[key]
    }

with

    for (var i=0; i<keys.length; i++) {
      var key = keys[i];
      sorted[key] = query[key];
    }

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

No branches or pull requests

2 participants