Closed hiteshj closed 8 years ago
If i change the path path: 'endpoint[params.type].type + endpoint[params.type].version + "?" + body' TO 'path: endpoint[params.type].type + "?" + body'
Then error is : SignatureDoesNotMatch
I will look at it soon. My pc crashed today so I need to reinstall everything.
But thanks for report.
Hi @hiteshj , sorry for late reply. Can you give me whole path of request ?
@hiteshj @TheLordBaski Any update on this?
@TheLordBaski I'm getting the same error, ym path is:
mws.reports.RequestReport(config, { ReportType: '_GET_FLAT_FILE_OPEN_LISTINGS_DATA_'}, function(err, data){
if(err){
console.log(err);
res.status(500).send(err);
}else{
console.log(data);
}
})
My response is:
{ xmlns: 'https://mws.amazonservices.com/',
Error:
{ Type: 'Sender',
Code: 'InvalidAddress',
Message: 'Invalid Section name or version provided - 2009-01-01/2009-01-01' },
RequestID: '6ce58f91-69c7-4a4f-ad09-d0a49b44ad90' }
Ok, I fixed it. The solution is to change mws.js
line 16 to:
var url = "mws.amazonservices.com";
Then, from line 34:
'Reports': {
'type': '/Reports/',
'version': '2009-01-01'
}
Hi man, I can' update and test this because I have no mws tokens . I can left you whole repo if you want :)
S pozdravem / Best regards,
Bc. Jakub GabčoNodeJS vývojář / NodeJS developer------------------------------------------------------------------------------ Tel.: +421 918 776 982 <%2B420%C2%A0734%C2%A0622%20430>
Ki-Wi Digital s.r.o. Lidická 27, 602 00 Brno Czech Republic www.ki-wi.cz
2016-02-04 19:12 GMT+01:00 jascination notifications@github.com:
Ok, I fixed it. The solution is to change mws.js line 16 to:
var url = "mws.amazonservices.com";
Then, from line 34:
'Reports': { 'type': '/Reports/', 'version': '2009-01-01' }
— Reply to this email directly or view it on GitHub https://github.com/TheLordBaski/Amazon-mws-nodejs-sdk/issues/4#issuecomment-179975659 .
Hello Dear,
Please check your reports services which is not working and throwing error below:
InvalidAddress