samedi 18 avril 2015

Show amazon mws MD5 calculated value

please can anyone share how to do this? I want to show the MD5 value calculated by amazon on there error response. Mine not showing and I need that for development.


Here the ErrorResponse



<?xml version="1.0"?>
<ErrorResponse xmlns="http://ift.tt/1qIBrE9"><Error><Type>Sender</Type><Code>ContentMD5DoesNotMatch</Code>
<Message>the Content-MD5 HTTP header you passed for your feed did not match the Content-MD5 we calculated for your feed</Message><Detail/></Error>
<RequestID>0b12ca44-cbad-4a87-a08d-sample</RequestID></ErrorResponse>


I want it like this:



The Content-MD5 HTTP header you passed for your feed (1B2M2Y8AsgTpgAmY7PhCfg==) did not match the Content-MD5 we calculated for your feed(3cldK7kqMxK6orwvXXdzSQ==)


with values so that i know where im getting error.


how to handle that reponse to show specific response string?


Tnx





Aucun commentaire:

Enregistrer un commentaire