Error Code Reference

Look up error codes across HTTP, Linux, Docker, databases, programming languages, cloud services, and version control. Each entry explains what the error means, why it happens, and how to fix it.

HTTP Status Codes

info

Understanding HTTP 200 OK status code - the standard success response for HTTP requests indicating the request was fulfilled.

info

Understanding HTTP 201 Created status code - indicates a new resource has been successfully created as a result of the request.

info

Understanding HTTP 204 No Content status code - the request succeeded but the server has no content to return in the response body.

warning

Understanding HTTP 301 Moved Permanently - the requested resource has been permanently moved to a new URL and all future requests should use the new URL.

warning

Understanding HTTP 302 Found status code - the requested resource temporarily resides at a different URI. Future requests should still use the original URI.

info

Understanding HTTP 304 Not Modified - the resource has not been modified since the last request, so the cached version can be used.

warning

Understanding HTTP 307 Temporary Redirect - the resource temporarily resides at a different URL and the request method must not be changed.

warning

Understanding HTTP 308 Permanent Redirect - the resource has permanently moved to a new URL and the request method must not be changed.

error

Understanding HTTP 400 Bad Request - the server cannot process the request due to malformed syntax, invalid parameters, or other client errors.

error

Understanding HTTP 401 Unauthorized - the request requires authentication. The client must provide valid credentials to access the resource.

error

Understanding HTTP 403 Forbidden - the server understood the request but refuses to authorize it. Authentication will not help.

error

Understanding HTTP 404 Not Found - the server cannot find the requested resource. The URL may be incorrect or the resource may have been removed.

error

Understanding HTTP 405 Method Not Allowed - the HTTP method used is not supported for the requested resource.

error

Understanding HTTP 408 Request Timeout - the server timed out waiting for the client to send the complete request.

error

Understanding HTTP 409 Conflict - the request conflicts with the current state of the server, such as duplicate entries or version conflicts.

error

Understanding HTTP 413 Payload Too Large - the request body exceeds the maximum size the server is willing to process.

error

Understanding HTTP 415 Unsupported Media Type - the server refuses the request because the payload format is not supported.

error

Understanding HTTP 422 Unprocessable Entity - the server understands the request but cannot process it due to semantic errors in the content.

error

Understanding HTTP 429 Too Many Requests - the user has sent too many requests in a given time period (rate limiting).

error

Understanding HTTP 500 Internal Server Error - an unexpected condition was encountered on the server preventing it from fulfilling the request.

error

Understanding HTTP 501 Not Implemented - the server does not support the functionality required to fulfill the request.

error

Understanding HTTP 502 Bad Gateway - the server acting as a gateway received an invalid response from the upstream server.

error

Understanding HTTP 503 Service Unavailable - the server is temporarily unable to handle the request due to overload or maintenance.

error

Understanding HTTP 504 Gateway Timeout - the server acting as a gateway did not receive a timely response from the upstream server.

Linux/Unix Exit Codes

info

Understanding Linux exit code 0 - the command or program completed successfully without errors.

error

Understanding Linux exit code 1 - a general catchall error indicating the command failed for an unspecified reason.

error

Understanding Linux exit code 126 - the command was found but could not be executed, usually due to permission issues.

error

Understanding Linux exit code 127 - the command could not be found in the system PATH or specified location.

error

Understanding Linux exit code 128 - indicates an invalid argument was passed to the exit command, or serves as a base for signal-based exit codes.

warning

Understanding Linux exit code 130 - the process was terminated by SIGINT, typically by pressing Ctrl+C.

error

Understanding Linux exit code 137 - the process was forcefully killed by SIGKILL, often due to out-of-memory (OOM) conditions.

error

Understanding Linux exit code 139 - the process was terminated due to a segmentation fault, caused by invalid memory access.

warning

Understanding Linux exit code 143 - the process was terminated by SIGTERM, the standard graceful shutdown signal.

error

Understanding Linux exit code 2 - indicates misuse of a shell built-in command, such as incorrect syntax or invalid arguments.

Docker Exit Codes

info

Understanding Docker exit code 0 - the container's main process completed successfully and exited normally.

error

Understanding Docker exit code 1 - the container's main process failed with a general error, such as an application crash or runtime exception.

error

Understanding Docker exit code 125 - the Docker daemon encountered an error before the container process could start.

error

Understanding Docker exit code 126 - the container's entrypoint or command was found but could not be executed.

error

Understanding Docker exit code 127 - the container's entrypoint or command could not be found in the container's filesystem.

error

Understanding Docker exit code 137 - the container was forcefully killed, usually due to exceeding memory limits or by docker stop timeout.

error

Understanding Docker exit code 139 - the container process crashed with a segmentation fault due to invalid memory access.

warning

Understanding Docker exit code 143 - the container received SIGTERM and terminated gracefully, typically from docker stop.

error

Understanding Docker exit code 255 - an unknown or unspecified error occurred in the container, often related to SSH or runtime failures.

MySQL Errors

PostgreSQL Errors

Python Errors

Node.js Errors

AWS Errors