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

Missing required MWSAuthToken for Seller #74

Open
wiredots01 opened this issue Apr 23, 2017 · 6 comments
Open

Missing required MWSAuthToken for Seller #74

wiredots01 opened this issue Apr 23, 2017 · 6 comments

Comments

@wiredots01
Copy link

i got an error:
Missing required MWSAuthToken for Seller

code:
const mws = new MWSClient({
MWSAuthToken: 'mwstokenfrommyaccount',
accessKeyId: 'myaccesskey',
secretAccessKey: 'mysecretkey',
merchantId: 'merchantIdsample',
meta: {
retry: true, // retry requests when throttled
next: true, // auto-paginate
limit: Infinity, // only get this number of items (NOT the same as MaxRequestsPerPage)
},
});

@dciccale
Copy link
Collaborator

dciccale commented May 7, 2017

Try just passing this:

{
  merchantId: 'id',
  authToken: 'auth token'
  accessKeyId: 'asd',
  secretAccessKey: 'asd'
}

@gisderdube
Copy link

I have the same issue, tried authToken, but still access denied

@dciccale
Copy link
Collaborator

dciccale commented May 7, 2017

Let's not mix issues, one thing is missing a required MWSAuthToken parameter, which should be authToken.

Another thing is having the access denied on the shop.

This is not an issue of this module. Since it is a message coming from mws itself. Check you have your credentials correctly setup.

Maybe we could help a little bit on this if you could provide a better description of the error or the output itself.

@gisderdube
Copy link

Thanks for the quick reply, I will check and report back later

@dciccale
Copy link
Collaborator

dciccale commented May 8, 2017

@wiredots01 any updates?

@gisderdube
Copy link

Sorry for the delay, of course it was a wrong parameter, the module works as expected, including MWSAuthToken aka authToken. Thanks for the effort!

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

3 participants