What are the common HTTPS response codes? (internal)
RESTful API use HTTPS and get a response that we will put into logs
Status Code | Meaning | Category |
---|---|---|
400 Bad Request | The server could not understand the request due to invalid syntax. | Client Error |
401 Unauthorized | Access is denied due to missing or invalid credentials. | Client Error |
402 Payment Required | Payment is required for the requested resource. | Client Error |
403 Forbidden | Access is denied due to insufficient permissions. | Client Error |
404 Not Found | The requested resource could not be found. | Client Error |
405 Method Not Allowed | The requested method is not supported for the resource. | Client Error |
406 Not Acceptable | The server cannot accept the response format due to unsupported content type. | Client Error |
407 Proxy Authentication Required | Proxy authentication is required. | Client Error |
408 Request Timeout | The server did not receive a complete request within the specified time. | Client Error |
409 Conflict | The request could not be completed due to conflict with existing data. | Client Error |
410 Gone | The requested resource is gone and will not return. | Client Error |
411 Length Required | The request did not specify a content length. | Client Error |
412 Precondition Failed | A precondition set for the request failed. | Client Error |
413 Payload Too Large | The request payload is larger than the server can accept. | Client Error |
414 URI Too Long | The requested URL is too long. | Client Error |
415 Unsupported Media Type | The server does not support the media type of the request. | Client Error |
416 Range Not Satisfiable | The requested range of the resource is not available. | Client Error |
417 Expectation Failed | The server did not meet the expectations set in the request header. | Client Error |
418 I'm a teapot | A humorous response to a coffee brewing request. | Client Error |
421 Misdirected Request | The request was sent to an incorrect server. | Client Error |
422 Unprocessable Entity | The request format is valid but contains invalid data. | Client Error |
423 Locked | The resource is locked and unavailable. | Client Error |
424 Failed Dependency | A dependency for the request failed. | Client Error |
425 Too Early | The server is not ready to accept the request yet. | Client Error |
426 Upgrade Required | The client should upgrade to a newer version to access the resource. | Client Error |
428 Precondition Required | The request requires a precondition header. | Client Error |
429 Too Many Requests | The client has sent too many requests in a given time period. | Client Error |
431 Request Header Fields Too Large | The request headers are too large for the server to process. | Client Error |
451 Unavailable For Legal Reasons | Access is denied due to legal reasons. | Client Error |
Status Code | Meaning | Category |
---|---|---|
500 Internal Server Error | An unexpected error occurred on the server side. | Server Error |
501 Not Implemented | The server does not support the requested functionality. | Server Error |
502 Bad Gateway | The server received an invalid response from an upstream server. | Server Error |
503 Service Unavailable | The server is currently unavailable. | Server Error |
504 Gateway Timeout | The server did not receive a timely response from an upstream server. | Server Error |
505 HTTP Version Not Supported | The server does not support the requested HTTP version. | Server Error |
507 Insufficient Storage | The server does not have enough storage to complete the request. | Server Error |
508 Loop Detected | The server detected an infinite loop. | Server Error |
510 Not Extended | The server does not understand the extension used in the request. | Server Error |
511 Network Authentication Required | Network authentication is required. | Server Error |