Skip to main content
Published: August 25 2008, 1:23:00 PMUpdated: November 28 2020, 4:52:28 PM

In the response, there is a node called 'faultstring' and it contains the text "no SOAPAction header!".  Why do I keep getting this error?

The most likely reason for this is that you're making an XML request against the SOAP endpoint (url).  The eBay API offers a few different ways to make requests -- XML and SOAP being two of those ways.

For SOAP requests, the correct URL (for production) is

https://api.ebay.com/wsapi.  For XML requests, the correct URL is https://api.ebay.com/ws/api.dll.  You can read more about the different endpoints (server URLs) in our other Knowledge Base article 'What Server URL should I use when I make API calls?'.

If you're not sure what type of request you're making, it's easy to determine by looking at the request itself.  The easiest way to tell is that for a SOAP request, the request will include something like: "<soapenv:Envelope" near the top of the request, whereas an XML request won't have this.  If you're using an SDK, such as the Java SDK, chances are you're using SOAP, and should use the server for SOAP mentioned previously.

How well did this answer your question?
Answers others found helpful