lineofflight / peddler

Amazon Selling Partner API (SP-API) in Ruby
MIT License
307 stars 130 forks source link

What I should paste to first parametr in .submit_feed ?? #79

Closed ghost closed 6 years ago

ghost commented 7 years ago

Hi, What I should paste to the first parametr in .submit_feed action, path to the file? String? or What?? Coz every time i pass there XML like a string:

data = File.read("public/feed.xml") respond = client.submit_feed(data, "_POST_PRODUCT_OVERRIDESDATA", opts = {:marketplace_id_list => "XXXXXXX"})

I always got this error from Amazon http://joxi.ru/Q2KLWOGckVLRAj with escape charecters tabs and spaces

can u give me advice?

hakanensari commented 7 years ago

You do pass a string.

Judging from the error message, it seems like your XML is malformed. Perhaps Stack Overflow might help further to troubleshoot the XML?

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.