Feed Submission issues (Submitting ContentType.TXT files) #433
smithburger
started this conversation in
General
Replies: 1 comment 2 replies
-
Hi POST_INVENTORY_AVAILABILITY_DATA is expecting an XML file, the ones that are expecting a flat file contain FLAT_FILE in the name eg: POST_FLAT_FILE_PRICEANDQUANTITYONLY_UPDATE_DATA |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
var feedID = amazonConnectionHHJ.Feed.SubmitFeed("xxx.txt", FeedType.POST_INVENTORY_AVAILABILITY_DATA, new List<string>() { MarketPlace.US.ID }, null, ContentType.TXT);
I am trying to submit an inventory feed. The call returns a valid feed id. Two issues.
When I call GetFeed the ResultFeedDocumentId is null so I get an "Access to requested resource is denied" error.
When I check the feed status using the MWS scratchpad I can see the feed was submitted as XML despite the ContentType.TXT flag set. So obviously that would return an error and probably results in the above error.
I checked out FeedService and I am not seeing the issue. I am using your example code to test uploading a txt file to update inventory with one line on it.
Beta Was this translation helpful? Give feedback.
All reactions