-
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
The AWS Access Key Id you provided does not exist in our records. #85
Comments
where do you actually try to get the keys from? there are so many from where to choose from |
Make sure you have specified the domain endpoint to match where your access key is registered for.
|
@budda Hi, just about to start using the library for a project I have an idea for. I want to offer the ability to search multiple Amazon 'areas' |
@AnthoniG yeah your credentials (key) needs to be registered for the country you want to search in, otherwise you'll get an API error. |
@budda Thanks for that. Can I use the same account I used before? |
Hi
I checked my keys on a scratchpad but I still get this error whether it itemSearch or ItemLookUp
{ '$': { xmlns: 'http://ecs.amazonaws.com/doc/2013-08-01/' },
Error:
[ { Code: [ 'InvalidClientTokenId' ],
Message: [ 'The AWS Access Key Id you provided does not exist in our records.' ] } ],
RequestId: [ 'ad5243d3-04b2-4bd7-8908-82789ed48233' ] }
Code:
const amazon_client = amazon.createClient({
awsID: 'smthg',
awsSecret: 'smthg',
awsTag: 'smthg'
});
amazon_client.itemLookup({
idType: 'UPC',
itemId: '884392579524'
}).then(function(results) {
console.log(JSON.stringify(results));
}).catch(function(err) {
console.log(util.inspect(err, false, null));
});
The text was updated successfully, but these errors were encountered: