Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feed Submit _POST_ORDER_FULFILLMENT_DATA_ #25

Open
developer-gurpreet opened this issue May 1, 2019 · 2 comments
Open

Feed Submit _POST_ORDER_FULFILLMENT_DATA_ #25

developer-gurpreet opened this issue May 1, 2019 · 2 comments

Comments

@developer-gurpreet
Copy link

developer-gurpreet commented May 1, 2019

It was working fine before but for last few days it starts throw this error :
"InvalidParameterValue
Invalid query string provided - Keys may not contain <"

@developer-gurpreet
Copy link
Author

I found the solution
The issue is Content Type, Using this package, it send "Content-Type" as "text/xml"
But Amazon update API end point and now we have to send 'Content-Type: application/xml"'

So please update in AmazonFeed.php file
this function
protected function genHeader()
{
$return[0] = "Content-MD5:" . $this->feedMD5;
return $return;
}

TO
protected function genHeader()
{
$return[0] = "Content-MD5:" . $this->feedMD5;
$return[1] = "Content-Type: application/xml";
return $return;
}

branall1 pushed a commit to branall1/amazon-mws-laravel that referenced this issue May 1, 2019
@dbarrington
Copy link

@branall1

Thank you, saved me a late night.
This resolved an issue that came up for me today.
Reference: https://sellercentral.amazon.com/forums/t/unable-to-submit-feeds-badrequest-on-submitfeed-all-of-the-sudden-keys-may-not-contain-lt/454820/25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants