This table details the non-OK HTTP Status Codes that might appear in the Request Log.
Status Code |
Name |
Condition |
---|---|---|
100 |
Continue |
In response to HTTP request header Expect: 100-continue (not an error) |
400 |
Bad Request |
Admin or config request with unsupported op |
400 |
Bad Request |
HTTP request line parse error, or HTTP request header parse error, or HTTP request Transfer-Encoding other than chunked |
400 |
Bad Request |
HTTP request with invalid chunk size or missing chunk terminator |
400 |
Bad Request |
HTTP request with invalid trailing header format |
400 |
Bad Request |
HTTP request with wildcard URL ("*") not valid for METHOD |
400 |
Bad Request |
HTTP request URL includes protocol other than "http", or protocol but no host, or neither protocol nor host and path does not start with "/" |
400 |
Bad Request |
HTTP request with version 1.1 but no Host |
400 |
Bad Request |
HTTP request with more data than expected |
400 |
Bad Request |
Conversion of POST body to string failed for web service request |
403 |
Forbidden |
Admin ops are disabled for the Dgraph, and
|
404 |
Not Found |
Presentation API request with URI parse error or processing error |
404 |
Not Found |
Request has empty path, or admin or config request has additional path steps |
404 |
Not Found |
File server request for non-existent file or for a directory, or file outside of allowed root directory |
404 |
Not Found |
Web service request for unknown Web service |
408 |
Request Time-out |
Queue timeout exceeded for the request, or I/O timeout reading HTTP request |
410 |
Gone |
Presentation API request for unsupported feature |
411 |
Length Required |
HTTP POST request with Content-Length missing or empty or not a non-negative integer |
412 |
Precondition Failed |
HTTP request with "If-None-Match" header |
415 |
Unsupported Media Type |
Content-Type parse error in Web service request |
500 |
Internal Server Error |
Attempt to return informational status code to HTTP 1.0 client |
500 |
Internal Server Error |
Exception from XQuery evaluation in Web service request |
500 |
Internal Server Error |
Unhandled exception during request processing |
500 |
Internal Server Error |
|
501 |
Not Implemented |
HTTP request for unsupported Method (such as PUT) |
501 |
Not Implemented |
HTTP request includes an unsupported header that must not be ignored: ("Authorization", "Content-Encoding", "Content-Transfer-Encoding", "Range", "Content-Range", "If-Range") |
501 |
Not Implemented |
Presentation API request for disabled feature |
503 |
Service Unavailable |
HTTP request to server that is closed (in the process of shutting down) |
505 |
HTTP Version Not Supported |
HTTP request with version not "1.0" and not "1.1" |