eBay API GetFeedback call returns 'Input data for tag <GetFeedback> is invalid or missing' error

StackOverflow https://stackoverflow.com//questions/24036641

  •  21-12-2019
  •  | 
  •  

Question

I try to get all feedback (CommentType [positive,neutral,negative], user who left, date, message) for the particular user in xml format. For this I use http request:

https://api.ebay.com/wsapi?callname=GetFeedback&UserID=pashtetgp1988&siteid=0&DetailLevel=ReturnAll&appid=eBayAPID-73f4-45f2-b9a3-c8f6388b38d8&version=511

However, xml output returns error

Input data for tag <GetFeedback> is invalid or missing. Please check API documentation.

Another request with the same appid works fine:

http://open.api.ebay.com/shopping?callname=GetUserProfile&version=537&siteid=0&appid=eBayAPID-73f4-45f2-b9a3-c8f6388b38d8&UserID=pashtetgp1988&IncludeSelector=Details,FeedbackHistory&responseencoding=XML

What can be the problem?

Was it helpful?

Solution

GetFeedback is from of the eBay Trading API Service and you cannot make calls to this service using HTTP GET. The service only supports requests made by HTTP POST. Information required by GetFeedback is passed either through the HTTP headers or the body. The body of the request can be XML or SOAP. More information is available in the eBay documentation.

For future reference you should never expose your appid in code examples.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top