You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Amazon::MWS::Routines::sign_request sometimes pads the signature with "=", but it neglects to escape the signature when included in the request body.
For example, when trying to use CreateInboundShipmentPlan I received the following error from Amazon:
<?xml version="1.0"?> <ErrorResponse xmlns="https://mws.amazonservices.com/"> <Error> <Type>Sender</Type> <Code>InvalidParameterValue</Code> <Message>Invalid query string provided - AWSAccessKeyId=...&Signature=...A= is not valid; the value of a query string parameter may not contain a '=' delimiter</Message> </Error> <RequestID>...</RequestID> </ErrorResponse>
The attached patch seems to solve the issue for me.
Amazon::MWS::Routines::sign_request sometimes pads the signature with "=", but it neglects to escape the signature when included in the request body.
For example, when trying to use CreateInboundShipmentPlan I received the following error from Amazon:
<?xml version="1.0"?> <ErrorResponse xmlns="https://mws.amazonservices.com/"> <Error> <Type>Sender</Type> <Code>InvalidParameterValue</Code> <Message>Invalid query string provided - AWSAccessKeyId=...&Signature=...A= is not valid; the value of a query string parameter may not contain a '=' delimiter</Message> </Error> <RequestID>...</RequestID> </ErrorResponse>
The attached patch seems to solve the issue for me.
Routines.pm.patch.txt
The text was updated successfully, but these errors were encountered: