SOAP Error Response

In SOAP, an error result is returned to the client as a SOAP fault, with the HTTP response code 500. If you do not receive a SOAP fault, then your request was successful. The SOAP fault code is comprised of a standard SOAP 1.1 fault code (either "Server" or "Client") concatenated with an AST specific error code. For example: "Server.InternalError" or "Client.RequestExpired". The SOAP fault string element contains a generic, human readable error message in English. Finally, the SOAP fault detail element contains miscellaneous information relevant to the error.

For example, if your SOAP request includes a Timestamp parameter that is more than 15 minutes away from the clock on AST servers, the body of the SOAP response contains a "RequestExpired" SOAP fault, which looks like:

<?xml version="1.0"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:aws="http://webservices.amazon.com/AWSFault/2005-15-09">
 <SOAP-ENV:Body>
  <SOAP-ENV:Fault>
   <faultcode>aws:Client.RequestExpired</faultcode>
   <faultstring>Request has expired. Timestamp date is
2000-01-01T00:00:00.000Z</faultstring>
   <detail>
    <aws:RequestId
xmlns:aws="http://webservices.amazon.com/AWSFault/2005-15-09">21476789-748d-4125-8a4a-f5addbdb0866</aws:RequestId>
   </detail>
  </SOAP-ENV:Fault>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>