|« PreviousNext »|
|Did this page help you? Yes | No | Tell us about it...|
A search request can return three types of status codes:
5xx status codes indicate that there was an internal server error. We recommend catching and retyring all 5xx error codes as they typically represent transient error conditions.
4xx status codes indicate that the request was malformed.
2xx status codes indicate that the request was processed successfully.
|Error||Description||HTTP Status Code|
|Not Found||The request path was not valid. This is often due to a missing or invalid API version in the URL. Consult the body of the response for details and fix the request before retrying.||404|
|Invalid HTTP Method||The HTTP method was not GET, POST, HEAD, or OPTIONS. The search API does not support PUT or DELETE methods.||405|
|Request Timeout||The server did not receive a complete request within the time allowed.||408|
|Length Required||A POST request did not include a Content-Length header.||411|
|Request Entity Too Large||A POST request included a body larger than the search API supports. Use multiple simpler, smaller requests in place of one large request.||413|
|Internal Server Error||An internal problem occurred. The request can be retried.||500|
|Bad Gateway||This is typically an indication that your search service is overloaded. This can be due to the volume or complexity of search requests that you are submitting. The request can be retried. If necessary, Amazon CloudSearch will automatically scale your search domain to handle the load.||502|
|Gateway Timeout||A server timeout occurred while processing the request. The request can be retried.||504|
|Insufficient Storage||A limit was reached and the request could not be processed. The request can be retried.||507|
|Bandwidth Limit Exceeded||The request was throttled. The request rate or resource consumption should be reduced before retrying the request.||509|