Engineer-written guides
Fix Software Errors, Fast.
Practical troubleshooting guides for 17823+ real-world errors in OpenAI, Docker, Kubernetes, AWS, Python, Linux and more.
AWS 5 articles
- AWS AccessDeniedException: User is not authorized IAM user or role lacks the required permission for the requested action CLI / SDK
- AWS InvalidClientTokenId: The security token is invalid AWS credentials are malformed, expired, or for the wrong region CLI / SDK
- AWS ThrottlingException: Rate exceeded AWS API calls exceeded the allowed request rate for the account SDK / API
- AWS S3 403 Forbidden – Access Denied S3 bucket policy or ACL blocks the requested operation S3 / CLI
- AWS EKS You must be logged in to the server (Unauthorized) kubectl cannot authenticate to the EKS cluster EKS / CLI
Alembic 1 articles
Celery 2 articles
- celery.exceptions.MaxRetriesExceededError: Task X exceeded maximum number of retries. This error means a Celery task failed repeatedly and exhausted all its configured retry attempts. runtime, task queue
- celery.exceptions.WorkerLostError: Worker exited prematurely: X. This error indicates that a Celery worker process terminated unexpectedly, often due to an unhandled exception or being killed by the OS. runtime, task queue
Django 41 articles
- django.db.utils.IntegrityError: duplicate key value violates unique constraint This database error indicates an attempt to insert or update data that would violate a unique constraint (e.g., adding a record with a non-unique ID or email). runtime, database, ORM
- django.db.utils.OperationalError: could not connect to server: Connection refused This database error means the Django application failed to connect to the database server, often due to the server not running or incorrect connection details. runtime, database, setup
- django.core.exceptions.ObjectDoesNotExist: X matching query does not exist. This error is raised by Django's ORM when a `get()` query returns no object. runtime, ORM
- django.core.exceptions.MultipleObjectsReturned: get() returned more than one X This error occurs when a Django `get()` query returns multiple objects, but `get()` expects only one. runtime, ORM
- django.db.utils.DataError: value too long for type character varying(X) This database error indicates an attempt to save a string value that exceeds the maximum length defined for a database column. runtime, database, ORM
- django.db.utils.ProgrammingError: column "X" does not exist This database error usually means a database query refers to a column that does not exist, often due to missing or outdated migrations. runtime, database, ORM, migrations
- django.db.utils.InterfaceError: connection already closed This database error indicates an attempt to use a database connection that has already been closed or lost. runtime, database
- django.db.migrations.exceptions.InconsistentMigrationHistory This error occurs when the database's migration history doesn't match the migration files, often due to manual database changes or concurrent deploys. build, CLI, migrations
- django.db.utils.InternalError: current transaction is aborted, commands ignored until end of transaction block This error means a database transaction failed, often due to a previous error within the transaction, and subsequent commands are being ignored. runtime, database, ORM
- django.urls.exceptions.NoReverseMatch: Reverse for 'X' not found. 'X' is not a valid view function or pattern name. This error happens when Django cannot find a URL pattern matching the name provided to `reverse()` or in template tags like `{% url %}`. runtime, URLs, templates
- django.template.exceptions.TemplateSyntaxError: Invalid block tag on line X This error indicates an incorrect or unrecognized Django template tag used in a template file. runtime, templates
- django.template.exceptions.TemplateDoesNotExist: 'X.html' This error means Django could not find a template file at the specified path, or in any configured template directories. runtime, templates
- django.http.Http404 This is Django's specific exception for a 'Not Found' error, typically raised in views when an object or resource does not exist. runtime, API, web
- django.core.exceptions.ValidationError: ['Invalid value.'] This error is raised by Django's form or serializer validation when data does not meet specified criteria. runtime, forms, API
- django.core.exceptions.ImproperlyConfigured: Requested setting X, but settings are not configured. This error indicates that Django's settings are not properly loaded or a required setting is missing. startup, configuration
- django.middleware.csrf.CsrfViewMiddleware: CSRF token missing or incorrect This error means the CSRF (Cross-Site Request Forgery) token was either missing from the request or did not match the expected token, indicating a potential security issue or misconfiguration. runtime, web, security
- django.core.management.base.CommandError: Unknown command: 'X' This error occurs when attempting to run a Django management command that is not registered or does not exist. CLI
- django.core.exceptions.PermissionDenied This is Django's specific exception for a 'Permission Denied' error, typically raised by authorization decorators or checks. runtime, web, security
- django.utils.encoding.DjangoUnicodeDecodeError: 'utf-8' codec can't decode byte This error occurs when Django tries to decode a byte sequence to a Unicode string using 'utf-8' but encounters invalid bytes. runtime, data processing, file I/O
- django.db.models.fields.FieldDoesNotExist: Model 'X' has no field named 'Y' This error indicates that a field referenced in a Django ORM query or model definition does not exist on the specified model. runtime, ORM, development
- AttributeError: 'WSGIRequest' object has no attribute 'user' This error typically means you are trying to access `request.user` without the authentication middleware being enabled or processed correctly. runtime, web, authentication
- django.db.utils.NotSupportedError: X is not supported on this backend. This error means you are trying to use a database feature or function that is not supported by the currently configured database backend (e.g., SQLite vs PostgreSQL). runtime, database, ORM
- django.core.signals.Signal: Error in signal handler This general error indicates an unhandled exception occurred within a Django signal handler function. runtime
- django.template.base.VariableDoesNotExist: Failed lookup for key [X] in 'Y' This error means a variable or attribute could not be found when accessed in a Django template. runtime, templates
- django.template.defaulttags.InvalidTemplateLibrary: Invalid tag library specified This error means Django tried to load a template tag library that is either misspelled or not correctly registered. runtime, templates
- django.conf.exceptions.SettingDoesNotExist: The requested setting X does not exist. This error indicates an attempt to access a Django setting that has not been defined in the `settings.py` file. runtime, configuration
- django.db.utils.IntegrityError: NOT NULL constraint failed: X This database error occurs when trying to insert a NULL value into a database column that is defined as NOT NULL. runtime, database, ORM
- django.utils.html.format_html_join: arguments must be lists or tuples This error means the `format_html_join` utility function received arguments that were not in the expected list or tuple format. runtime, templates, utilities
- django.db.utils.NotSupportedError: X can only be used with PostgreSQL. This error indicates that a Django ORM feature or database function is being used that is specific to PostgreSQL but the current database backend is different (e.g., SQLite). runtime, database, ORM
- django.forms.widgets.Textarea: 'X' is not a valid value for the 'rows' attribute. This error is raised when an invalid value (e.g., non-integer, negative) is provided for a form widget attribute like `rows` or `cols`. runtime, forms
- django.urls.exceptions.Resolver404: {'path': 'X'} This internal Django exception is raised when URL resolution fails, eventually leading to an Http404 for the user. runtime, URLs
- django.core.exceptions.ValidationError: ['Enter a valid URL.'] This common form validation error indicates that the provided string does not conform to a valid URL format. runtime, forms, validation
- django.db.utils.TransactionManagementError: An error occurred in the above request but the exception was not caught This error indicates a problem within a database transaction block where an exception was raised but not handled, causing the transaction to be rolled back. runtime, database, ORM
- django.contrib.auth.models.User.DoesNotExist: User matching query does not exist. This error is raised when trying to fetch a user from the database that does not exist based on the query criteria. runtime, ORM, authentication
- django.core.exceptions.ValidationError: ['This field must be unique.'] This form/serializer validation error indicates that the submitted value for a field already exists and violates a unique constraint. runtime, forms, validation
- django.contrib.admin.exceptions.DisallowedModelAdminToField: 'X' cannot be used as a to_field. This error occurs in the Django admin when attempting to use an unsupported field as the `to_field` for a related lookup. runtime, admin
- django.db.utils.InternalError: database is locked This database error typically occurs with SQLite when multiple processes or threads try to write to the database simultaneously. runtime, database
- django.core.exceptions.ValidationError: ['Ensure this value has at least X characters (it has Y).'] This validation error indicates that a string field's length does not meet the minimum required number of characters. runtime, forms, validation
- django.db.utils.InvalidQuery: X is not a valid lookup method This error occurs when an invalid lookup method (e.g., `__contains`, `__iexact`) is used in a Django ORM query expression. runtime, database, ORM
- django.template.engine.TemplateDoesNotExist: X This error indicates that Django's template engine could not locate the specified template file. runtime, templates
- django.template.library.InvalidTemplateLibrary: Invalid tag library 'X'. Make sure it has a 'register' variable. This error means Django attempted to load a template tag library but could not find the `register` variable needed to define tags and filters. runtime, templates
Django REST Framework 2 articles
- rest_framework.exceptions.ValidationError: ['This field is required.'] This error is raised by Django REST Framework serializers when a required field is missing in the request data. runtime, API, validation
- rest_framework.exceptions.NotFound This error is raised by DRF when a requested object or resource does not exist, often from a `get_object_or_404` equivalent. runtime, API
Docker 5 articles
- Docker container exited with code 1 Container process terminated with a general error CLI / runtime
- Docker OOMKilled – container killed due to out of memory The container exceeded its memory limit and was killed by the kernel runtime
- Docker permission denied while connecting to daemon socket Current user is not in the docker group or daemon is not running CLI
- Docker pull – image not found (manifest unknown) The specified Docker image or tag does not exist in the registry CLI
- Docker Error: port is already allocated The host port is already in use by another process or container CLI
FastAPI 23 articles
- pydantic.error_wrappers.ValidationError: field required This error is raised by Pydantic when a required field is missing from the request body or parameters, often resulting in a 422 Unprocessable Entity HTTP response. runtime, API, validation
- starlette.exceptions.HTTPException: 404 Not Found This error is raised by Starlette (FastAPI's underlying framework) when a requested endpoint or resource does not exist. runtime, API, web
- fastapi.routing.APIRoute: Path operation method X not allowed This error indicates that an endpoint exists, but the HTTP method used in the request (e.g., PUT) is not defined for that path operation. runtime, API, web
- TypeError: 'X' object is not JSON serializable This error occurs when FastAPI attempts to return an object that cannot be converted into JSON format, often due to custom classes or unserializable data types. runtime, API
- starlette.websockets.WebSocketDisconnect: 1000 This error indicates that a WebSocket connection was closed, with code 1000 signifying a normal closure. runtime, websockets
- fastapi.routing.NoMatchFound: No route exists for name 'X' This error is raised when trying to generate a URL by name (e.g., using `url_for`) but no matching route is found. runtime, API, routing
- Depends validation error This error indicates an issue during the resolution or validation of a dependency function in FastAPI's dependency injection system. runtime, API, dependency injection
- AssertionError: Multiple dependencies with the same key This error occurs when trying to define multiple dependencies with the same key (e.g., `Depends(some_function)`) in a FastAPI path operation, leading to ambiguity. startup, configuration
- AttributeError: 'X' object has no attribute 'Y' This general Python error in FastAPI contexts often means an object received via dependency injection or a request body/parameter does not have an expected attribute. runtime, API
- fastapi.exceptions.HTTPException: 500 Internal Server Error This general FastAPI exception is raised for unhandled errors that occur during request processing within a path operation. runtime, API
- pydantic.error_wrappers.ValidationError: field is not a valid URL This Pydantic validation error occurs when a string provided for a URL field does not conform to a valid URL format. runtime, API, validation
- pydantic.error_wrappers.ValidationError: ensure this value has at least X characters This Pydantic validation error indicates that a string input did not meet the minimum length requirement. runtime, API, validation
- pydantic.error_wrappers.ValidationError: value is not a valid integer This Pydantic validation error occurs when an input expected to be an integer cannot be parsed as one. runtime, API, validation
- RuntimeError: No response returned for X This error means that a FastAPI path operation did not explicitly return a response, or an exception was not properly handled, leading to an empty response. runtime, API
- fastapi.exceptions.RequestValidationError: 422 Unprocessable Entity This specific FastAPI exception wraps Pydantic validation errors that occur during request data parsing, providing detailed error messages. runtime, API, validation
- typing.ForwardRef: cannot resolve forward reference 'X' This error indicates that a Python type hint for a class or type that is defined later could not be resolved. startup, development
- ImportError: cannot import name 'Depends' from 'fastapi' This error usually means `from fastapi import Depends` failed, potentially due to an older FastAPI version or a corrupted installation. startup, module
- pydantic.error_wrappers.ValidationError: field is not a valid date or datetime This Pydantic validation error occurs when an input string cannot be parsed into a valid date or datetime object. runtime, API, validation
- fastapi.routing.RequestValidationError: value is not a valid dict This error indicates that the provided request payload was expected to be a dictionary but received a different type, such as a list or string. runtime, API, validation
- pydantic.error_wrappers.ValidationError: field must be a valid list This Pydantic validation error occurs when an input expected to be a list receives a different data type. runtime, API, validation
- fastapi.encoders.SetEncoder: Object of type 'X' is not JSON serializable This specific FastAPI error occurs when trying to encode a Python `set` object, which is not directly JSON serializable, into a JSON response. runtime, API
- AttributeError: 'Request' object has no attribute 'query_params' This error indicates an attempt to access `request.query_params` directly, instead of using `request.query_params` or defining `Query` parameters. runtime, API
- pydantic.error_wrappers.ValidationError: field greater than maximum allowed value This Pydantic validation error occurs when a numeric input exceeds the maximum value defined for that field. runtime, API, validation
Flask 20 articles
- werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. This is Flask's standard error for a 'Not Found' resource, meaning no route matched the requested URL. runtime, API, web
- werkzeug.exceptions.MethodNotAllowed: 405 Method Not Allowed This error indicates that the requested URL exists, but the HTTP method used (e.g., POST) is not allowed for that route. runtime, API, web
- RuntimeError: Working outside of application context. This error means you are trying to access application-specific features (like `current_app` or `request`) without an active Flask application context. runtime, development, testing
- jinja2.exceptions.TemplateNotFound: 'X.html' This error occurs when Jinja2, Flask's templating engine, cannot find the specified template file. runtime, templates
- jinja2.exceptions.UndefinedError: 'X' is undefined This error signifies that a variable or attribute accessed in a Jinja2 template is not defined or does not exist. runtime, templates
- werkzeug.exceptions.BadRequest: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand. This is Flask's specific error for a malformed request, often due to invalid headers, body, or URL parameters. runtime, API, web
- AttributeError: 'Request' object has no attribute 'json' This error typically means you are trying to access `request.json` but the incoming request's Content-Type header is not 'application/json' or the body is empty. runtime, API, web
- KeyError: 'X' This error occurs when trying to access a non-existent key from `request.form` or `request.args` in a Flask application. runtime, API, web
- RuntimeError: A secret key is required to use CSRF protection. This error indicates that Flask (or an extension like Flask-WTF) requires a `SECRET_KEY` to be configured in the application settings for security features like CSRF protection. startup, configuration, security
- AttributeError: 'str' object has no attribute 'decode' This error often occurs in Flask when attempting to decode a string that is already Unicode, typically when handling bytes vs. strings. runtime, data processing
- ImportError: cannot import name 'X' from 'Y' This Python error can happen in Flask when a module or object cannot be imported, often due to circular imports or incorrect paths. startup, runtime
- werkzeug.exceptions.InternalServerError: 500 Internal Server Error This is Flask's standard error for an unhandled exception that occurred during the processing of a request. runtime, API, web
- RecursionError: maximum recursion depth exceeded while calling a Python object This error occurs when a Flask view function or a utility function called within it enters an infinite recursive loop. runtime
- ValueError: View function did not return a Response object This Flask error indicates that a view function executed successfully but did not return a `Response` object, string, tuple, or `None` as expected. runtime, API, web
- werkzeug.routing.BuildError: Could not build url for endpoint 'X'. Did you forget to specify values? This error occurs when Flask's URL builder cannot find a route or build a URL due to missing or incorrect parameters for the specified endpoint. runtime, routing
- KeyError: 'X' when accessing session This error means you are trying to access a non-existent key from Flask's session object. runtime, web, session
- werkzeug.routing.exceptions.RequestRedirect: The browser should be redirected to X This internal Werkzeug exception is raised to trigger a client-side redirect, usually by `url_for` with `_external=True` or `redirect()`. runtime, web, routing
- werkzeug.exceptions.RequestEntityTooLarge: 413 Request Entity Too Large This error indicates that the client sent a request body that is larger than the server is configured to handle. runtime, API, web
- ValueError: Expected 'Content-Type' header to be 'application/json' This error is raised when Flask expects JSON data in the request body but the `Content-Type` header is missing or incorrect. runtime, API, web
- FileNotFoundError: No such file or directory: 'X' This error in Flask often occurs when serving static files or accessing files relative to the application root that do not exist. runtime, filesystem
Flask-Migrate 1 articles
Flask-SQLAlchemy 1 articles
Gemini 4 articles
- ResourceExhausted: 429 Quota Exceeded Google Gemini API free-tier quota exhausted API
- PermissionDenied: 403 Forbidden API key lacks permission or the model is restricted in your region API
- Unauthenticated: 401 API key invalid The provided Gemini API key is missing or malformed API
- BlockedBySafetySettings The response was blocked by Gemini content safety filters API
Git 4 articles
- Git merge conflict – Automatic merge failed; fix conflicts Two branches have incompatible changes to the same lines CLI
- Git error: failed to push some refs – remote contains work you do not have The remote branch has commits not in your local branch CLI
- Git warning: You are in 'detached HEAD' state HEAD points directly to a commit instead of a branch CLI
- Git error: Permission denied (publickey) SSH key is missing, not added to agent, or not registered on the remote CLI / SSH
GitHub Actions 3 articles
- GitHub Actions Error: secret not found or empty A workflow references a secret that is not defined in repo settings CI/CD
- GitHub Actions Error: Resource not accessible by integration The GITHUB_TOKEN lacks required permissions for the action CI/CD
- GitHub Actions Error: The job running has exceeded the maximum execution time The workflow job exceeded the 6-hour (or custom) timeout limit CI/CD
Gunicorn 1 articles
HTTP 3 articles
- CORS Error: Access-Control-Allow-Origin missing or blocked The browser blocked a cross-origin request due to missing CORS headers browser / API
- HTTP 401 Unauthorized The request lacks valid authentication credentials API
- HTTP 403 Forbidden The server understood the request but refuses to authorise it API
Kubernetes 5 articles
- Kubernetes CrashLoopBackOff Pod keeps crashing and Kubernetes is backing off restart attempts cluster
- Kubernetes ImagePullBackOff Kubernetes cannot pull the container image from the registry cluster
- Kubernetes OOMKilled – pod terminated due to memory limit The container exceeded its memory limit and was killed by Kubernetes cluster
- Kubernetes pod stuck in Pending state Pod cannot be scheduled due to resource constraints or node issues cluster
- Kubernetes kubectl connection refused to API server kubectl cannot reach the Kubernetes API server CLI
Linux 5 articles
- Linux bash: Permission denied The current user lacks execute or read permission on the file shell / CLI
- Linux bash: No such file or directory The specified file or directory path does not exist shell / CLI
- Linux bind: Address already in use (EADDRINUSE) A process is already listening on the requested port networking / runtime
- Linux No space left on device (ENOSPC) The disk partition has no remaining free space filesystem
- Linux process Killed (signal 9 / SIGKILL) The OOM killer or a user terminated the process forcefully process management
MongoDB 2 articles
MySQL 3 articles
- MySQL ERROR 1045: Access denied for user Wrong username, password, or host not allowed in MySQL user grants database
- MySQL ERROR 1049: Unknown database 'X' The specified database does not exist on this MySQL server database
- MySQL ERROR 2003: Can't connect to MySQL server on 'host' MySQL server is not running or the host/port is incorrect database
Next.js 2 articles
Nginx 3 articles
- Nginx 502 Bad Gateway Nginx received an invalid response from the upstream server reverse proxy
- Nginx 504 Gateway Timeout The upstream server did not respond in time reverse proxy
- Nginx error: permission denied while connecting to upstream SELinux or filesystem permissions block Nginx from reaching the socket server / Linux
Node.js 4 articles
- Node.js Error: ENOENT no such file or directory Node cannot find the file or directory specified in the operation runtime
- Node.js Error: EADDRINUSE port already in use The port your app is trying to bind to is already occupied runtime / networking
- Node.js Error: Cannot find module 'X' The required Node module is missing from node_modules runtime
- Node.js FATAL ERROR: Reached heap limit – JavaScript heap out of memory The Node.js process exceeded its default V8 heap size limit runtime
OpenAI 6 articles
- RateLimitError: 429 Too Many Requests OpenAI API rate limit exceeded for your current plan tier API
- AuthenticationError: 401 Unauthorized Invalid or missing OpenAI API key API
- ServiceUnavailableError: 503 Service Unavailable OpenAI API is temporarily overloaded or down API
- InternalServerError: 500 Internal Server Error An unexpected error occurred on OpenAI's server side API
- InvalidRequestError: context_length_exceeded The prompt exceeds the maximum token limit for the model API
- BadRequestError: 400 Bad Request Malformed request body or invalid parameters sent to the API API
Pika (RabbitMQ) 1 articles
Poetry 1 articles
PostgreSQL 3 articles
- PostgreSQL: connection refused – could not connect to server PostgreSQL is not running, wrong port, or firewall is blocking the connection database
- PostgreSQL error: password authentication failed for user Wrong password or pg_hba.conf rejects the authentication method database
- PostgreSQL FATAL: remaining connection slots are reserved The database has hit its max_connections limit database
Python 59 articles
- Python ModuleNotFoundError: No module named 'X' The imported module is not installed in the active Python environment runtime
- Python ImportError: cannot import name 'X' from 'Y' The specific name being imported does not exist in the target module runtime
- Python AttributeError: object has no attribute 'X' Trying to access a method or property that doesn't exist on an object runtime
- Python TypeError: unsupported operand type(s) An operation is applied to objects of incompatible types runtime
- Python RecursionError: maximum recursion depth exceeded A function calls itself too many times without a proper base case runtime
- SyntaxError: invalid syntax This error occurs when the Python interpreter finds a grammatical mistake in the code. runtime, build, CLI
- IndentationError: expected an indented block This error signifies incorrect indentation, which is crucial for Python's block structure. runtime, build, CLI
- NameError: name 'X' is not defined This error indicates that a variable or function name was used before it was assigned or defined. runtime
- ValueError: invalid literal for int() with base 10: 'X' This error occurs when a function receives an argument of the correct type but an inappropriate value, such as trying to convert a non-numeric string to an integer. runtime
- IndexError: list index out of range This error means you are trying to access an index of a sequence (like a list or tuple) that does not exist. runtime
- KeyError: 'X' This error occurs when you try to access a dictionary key that does not exist. runtime
- ZeroDivisionError: division by zero This error happens when an attempt is made to divide a number by zero. runtime
- FileNotFoundError: [Errno 2] No such file or directory: 'X' This error indicates that a file or directory being accessed does not exist at the specified path. runtime, filesystem
- OSError: [Errno 13] Permission denied: 'X' This error means the operating system denied access to a file or resource, often due to insufficient permissions. runtime, filesystem, CLI
- StopIteration This error signals that an iterator has no more items to produce. runtime
- MemoryError This error occurs when an operation runs out of available memory. runtime
- KeyboardInterrupt This error is raised when the user interrupts program execution, typically by pressing Ctrl+C. runtime, CLI
- UnboundLocalError: local variable 'X' referenced before assignment This error occurs when a local variable is accessed within a function before it has been assigned a value. runtime
- AssertionError This error is raised when an assert statement fails, indicating an unexpected condition in the code. runtime, testing
- RuntimeError: dictionary changed size during iteration This error occurs when a dictionary is modified (items added or removed) while it is being iterated over. runtime
- IOError: [Errno 22] Invalid argument This error signifies that an I/O operation received an argument that is invalid or inappropriate for the operation. runtime, filesystem
- TypeError: 'NoneType' object is not subscriptable This error means you are trying to access an item from an object that is None, as if it were a sequence or mapping. runtime
- TypeError: object is not callable This error occurs when you try to call something that is not a function or method, like a variable assigned to a non-callable object. runtime
- BrokenPipeError: [Errno 32] Broken pipe This error indicates that one end of a pipe (e.g., a connection to another process) has been closed while the other end is still trying to write to it. runtime, inter-process communication
- SystemExit: 1 This error is raised by the sys.exit() function and indicates that the program is exiting, often with an error status. runtime, CLI
- AttributeError: module 'X' has no attribute 'Y' This error means you are trying to access a non-existent attribute or member of a Python module. runtime
- ValueError: not enough values to unpack (expected 2, got 1) This error happens during sequence unpacking when the number of items on the right side does not match the number of variables on the left side. runtime
- TypeError: can only concatenate str (not "int") to str This error indicates an attempt to combine a string with an integer using an operator like `+` without explicit type conversion. runtime
- ValueError: substring not found This error is raised by string methods like `str.index()` when the specified substring is not present in the string. runtime
- UnicodeDecodeError: 'utf-8' codec can't decode byte 0x... in position X: invalid start byte This error occurs when the Python interpreter tries to decode a byte sequence using 'utf-8' but encounters bytes that are not valid in that encoding. runtime, file I/O, network
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) This error means that the JSON parser encountered invalid JSON syntax, often when the input is empty or malformed. runtime, API, data parsing
- socket.timeout: The read operation timed out This error indicates that a network socket operation, such as reading data, did not complete within the specified timeout period. runtime, network, API
- python: can't open file 'X.py': [Errno 2] No such file or directory This common error occurs when the Python interpreter cannot find the script file specified on the command line. CLI, runtime
- RecursionError: maximum recursion depth exceeded in comparison This error occurs when a function calls itself too many times, exceeding Python's default recursion limit. runtime
- FloatingPointError: float division by zero This error is raised when attempting to divide a floating-point number by zero. runtime
- SystemError: X returned a result with an error set This error is raised when the interpreter detects an internal error, typically related to a C extension module or internal Python state. runtime
- BufferError: cannot fit 'X' into an index-sized integer This error is raised when an operation involves a buffer and the size of the buffer exceeds the maximum representable size for an index. runtime
- TimeoutError: [Errno 110] Connection timed out This error indicates that a network connection attempt or operation did not complete within a specified timeout period. runtime, network
- BlockingIOError: [Errno 11] Resource temporarily unavailable This error occurs in non-blocking I/O operations when a resource is temporarily unavailable, meaning the operation would block. runtime, network, io
- asyncio.exceptions.TimeoutError This error is raised by asyncio operations when a specified timeout expires before the operation can complete. runtime, asynchronous, network
- ConnectionRefusedError: [Errno 111] Connection refused This error occurs when a connection attempt to a network service is explicitly refused by the target machine, often because the service is not running or a firewall is blocking the connection. runtime, network
- ImportError: attempted relative import with no known parent package This error occurs when a relative import is used in a script that is not part of a package, or when the package structure is not correctly recognized. runtime, module, packaging
- EnvironmentError: [Errno 98] Address already in use This error signifies that a process is trying to bind to a network address (IP and port) that is already being used by another process. runtime, network, CLI
- StopAsyncIteration This error is raised by asynchronous iterators to indicate that there are no more items to produce. runtime, asynchronous
- DeprecationWarning: X is deprecated This warning indicates that a feature or API being used is outdated and might be removed in future versions, suggesting an update to newer alternatives. runtime, development, warnings
- SyntaxError: EOL while scanning string literal This syntax error means the Python interpreter reached the end of a line (EOL) while still expecting more characters to complete a string literal (e.g., a missing closing quote). runtime, build, CLI
- decimal.InvalidOperation: [<class 'decimal.InvalidOperation'>] This error indicates an invalid operation with `decimal` objects, such as trying to perform arithmetic with incompatible types or invalid string representations. runtime
- subprocess.CalledProcessError: Command 'X' returned non-zero exit status 1. This error means a command executed via `subprocess` module exited with a non-zero status, indicating failure. runtime, CLI, integration
- shutil.Error: X is not a directory This error from `shutil` module indicates that an expected directory path was actually a file or did not exist for a directory operation. runtime, filesystem
- UnicodeEncodeError: 'ascii' codec can't encode character This error occurs when Python tries to encode a Unicode string into a byte sequence using the 'ascii' codec but encounters non-ASCII characters. runtime, encoding
- json.JSONDecodeError: Expecting property name enclosed in double quotes This specific JSON parsing error means the JSON input is malformed, often due to single quotes or missing quotes around property names. runtime, API, data parsing
- OverflowError: math range error This error occurs when a numeric calculation exceeds the maximum representable value for a floating-point number. runtime
- UserWarning: X This warning is issued for conditions that are not necessarily errors but might indicate potential issues or non-optimal usage. runtime, development, warnings
- PermissionError: [Errno 13] Permission denied This error occurs when an operation is attempted without the necessary permissions, often involving file system access or executing a program. runtime, filesystem, CLI
- BrokenBarrierError: X threads failed to reach the barrier This error is raised when a thread fails to reach a synchronization barrier, often due to an unexpected termination or error. runtime, concurrency
- SystemError: <built-in function X> returned NULL without setting an error This error usually indicates a bug in a C extension or in the Python interpreter itself, where a C function failed without properly reporting an error. runtime
- NotImplementedError: X This error is raised by abstract methods or functions that are expected to be implemented by subclasses, indicating that the implementation is missing. runtime, development
- AttributeError: 'tuple' object has no attribute 'X' This error means you are trying to access an attribute on a tuple object as if it were a class instance, which is not allowed. runtime
- PermissionError: X operation not permitted A specific permission error indicating an operation is not permitted by the operating system, often due to security contexts or user privileges. runtime, filesystem, OS
React 2 articles
- React Hydration Error: server HTML does not match client render The server-rendered HTML differs from what React renders on the client runtime / SSR
- React Error: Invalid hook call – Hooks can only be called inside a function component A React hook is called outside of a component or inside a class component runtime
Redis 2 articles
SQLAlchemy 5 articles
- sqlalchemy.exc.IntegrityError: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint This error, often wrapping a database-specific one, signals an attempt to insert or update data that violates a unique constraint in the database. runtime, database, ORM
- sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at This error indicates a problem with the database connection itself, such as the server being down, unreachable, or network issues. runtime, database, connection
- sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedColumn) column "X" does not exist This error typically means an ORM query or direct SQL statement refers to a database column that does not exist, often due to schema misalignment. runtime, database, ORM
- sqlalchemy.exc.StatementError: (sqlalchemy.exc.InvalidRequestError) This error often indicates an issue with how an ORM session or query is being used, such as trying to reuse a committed session or an invalid state. runtime, database, ORM
- SQLAlchemy: Cannot connect to database This is a general connection error from SQLAlchemy, meaning it failed to establish a connection to the specified database. runtime, database, connection
SSL/TLS 3 articles
- SSL certificate has expired The TLS certificate's notAfter date is in the past HTTPS / networking
- SSL certificate error: self-signed certificate in certificate chain The certificate is not issued by a trusted CA HTTPS / networking
- SSL handshake failure: TLSv1 Alert Client and server cannot agree on a TLS version or cipher suite HTTPS / networking
Terraform 2 articles
TypeScript 3 articles
- TypeScript TS2345: Argument of type 'X' is not assignable to parameter of type 'Y' A value of the wrong type is passed to a function parameter compile
- TypeScript TS2339: Property 'X' does not exist on type 'Y' Accessing a property that is not defined in the type declaration compile
- TypeScript TS2307: Cannot find module 'X' or its corresponding type declarations The module is missing or has no @types package installed compile
Uvicorn 1 articles
npm 3 articles
- npm ERR! ERESOLVE unable to resolve dependency tree npm cannot find a compatible version for a dependency CLI
- npm ERR! EACCES permission denied npm lacks write permission to the global node_modules directory CLI
- npm ERR! 404 Not Found – package not found in registry The package name does not exist in the npm registry CLI
pip 3 articles
- pip._internal.exceptions.InstallationError: X is not a supported wheel on this platform. This error occurs when pip tries to install a Python wheel package that is not compatible with the current operating system or Python version. CLI, build, installation
- pip._internal.exceptions.CommandError: X is not a valid value for --index-url. This error indicates that an invalid URL was provided to pip's `--index-url` option, which specifies an alternative package index. CLI, installation
- Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: 'X' This error means pip lacks the necessary permissions to write files to a specific directory during package installation. CLI, installation, permission
psycopg2 3 articles
- psycopg2.OperationalError: fe_sendauth: no password supplied This error means the PostgreSQL client (psycopg2) attempted to connect to the database without providing a password, and authentication failed. runtime, database, connection
- psycopg2.ProgrammingError: relation "X" does not exist This database error indicates that a table or other database object referenced in a query does not exist in the PostgreSQL database. runtime, database, ORM
- psycopg2.errors.InsufficientPrivilege: permission denied for table X This database error means the connected PostgreSQL user does not have the necessary permissions to perform an operation on a specific table. runtime, database, permission
requests 2 articles
- requests.exceptions.ConnectionError: HTTPSConnectionPool This error signifies that the 'requests' library failed to establish a connection to the specified URL, often due to network issues or DNS problems. runtime, network, API
- requests.exceptions.Timeout: HTTPSConnectionPool This error means that the 'requests' library exceeded the configured timeout while waiting for a response from the server. runtime, network, API