If you are trying to work with Amazon MWS and are getting errors about SignatureDoesNotMatchand 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., check if in the query string you are trying to sign, the AWSAccessKeyIdparameter goes before ACTION!

I had some headache with it lately, so hope this post will help someone else.