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 Amazon S3 SOAP fault code is comprised of a standard SOAP 1.1 fault code (either "Server"
or "Client") concatenated with the Amazon S3-specific error code. For example:
"Server.InternalError" or "Client.NoSuchBucket". 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 you attempt to delete the object "Fred", which does not exist, the
body of the SOAP response contains a "NoSuchKey" SOAP fault.
Example
<soapenv:Body>
<soapenv:Fault>
<Faultcode>soapenv:Client.NoSuchKey</Faultcode>
<Faultstring>The specified key does not exist.</Faultstring>
<Detail>
<Key>Fred</Key>
</Detail>
</soapenv:Fault>
</soapenv:Body>
For more information about the errors, go to ErrorCodeList.