AnsweredAssumed Answered

How to generate signature for amazon mws ?

Question asked by tejaswini on Oct 19, 2018

Hi ,

 

I am referring this link : Amazon Marketplace Web Service (MWS) API Call 

I was able to generate the canonical string and signature from the scripts given in above link. But when I am trying to post to HTTP client(amazon mws) its giving error response as below :

 

<Message>The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.</Message>

 

 

When I tried testing same accesskeyid , sellerid and all in amazon scratchpad its giving "invalid request" but in boomi I am facing signature issue.I have valid secret key too.

 

I am doing hash = hmac_sha256(secretkey, CanonicalString); for generating signature(same script as used in above reference link)

 

Kindly let me know if I am missing on anything.

 

Note : I compared canonical string which was generated from boomi with the one generated from amazon scratchpad both are excatly the same except minute seconds difference in timestamp.

 

Regards,

Tejaswini

Outcomes