<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>fastapi — FixDevs</title><description>Latest fixes and solutions for fastapi errors on FixDevs.</description><link>https://fixdevs.com/</link><language>en</language><lastBuildDate>Thu, 09 Apr 2026 00:00:00 GMT</lastBuildDate><atom:link href="https://fixdevs.com/tags/fastapi/rss.xml" rel="self" type="application/rss+xml"/><item><title>Fix: httpx Not Working — Async Client, Timeout, and Connection Pool Errors</title><link>https://fixdevs.com/blog/httpx-not-working/</link><guid isPermaLink="true">https://fixdevs.com/blog/httpx-not-working/</guid><description>How to fix httpx errors — RuntimeError event loop is closed, ReadTimeout exception, ConnectionResetError, async client not closing properly, HTTP/2 not enabled, SSL verify failed, and proxy not working.</description><pubDate>Thu, 09 Apr 2026 00:00:00 GMT</pubDate><category>python</category><category>httpx</category><category>async</category><category>http-client</category><category>fastapi</category><category>debugging</category><author>FixDevs</author></item><item><title>Fix: Uvicorn Not Working — Worker Errors, Reload Issues, and Production Deployment</title><link>https://fixdevs.com/blog/uvicorn-not-working/</link><guid isPermaLink="true">https://fixdevs.com/blog/uvicorn-not-working/</guid><description>How to fix Uvicorn errors — Address already in use port binding, reload not detecting changes, SSL certificate errors, worker class with gunicorn, WebSocket disconnect, graceful shutdown, and proxy headers behind nginx.</description><pubDate>Thu, 09 Apr 2026 00:00:00 GMT</pubDate><category>python</category><category>uvicorn</category><category>asgi</category><category>fastapi</category><category>starlette</category><category>deployment</category><category>debugging</category><author>FixDevs</author></item><item><title>Fix: FastAPI BackgroundTasks Not Working — Task Not Running or Dependency Errors</title><link>https://fixdevs.com/blog/fastapi-background-tasks-not-working/</link><guid isPermaLink="true">https://fixdevs.com/blog/fastapi-background-tasks-not-working/</guid><description>How to fix FastAPI BackgroundTasks — task not executing, dependency injection in tasks, error handling, Celery for heavy tasks, and lifespan-managed background workers.</description><pubDate>Wed, 25 Mar 2026 00:00:00 GMT</pubDate><category>fastapi</category><category>python</category><category>backend</category><category>debugging</category><author>FixDevs</author></item><item><title>Fix: Pydantic ValidationError — Field Required, Value Not a Valid Type, or Extra Fields</title><link>https://fixdevs.com/blog/python-pydantic-validation-error/</link><guid isPermaLink="true">https://fixdevs.com/blog/python-pydantic-validation-error/</guid><description>How to fix Pydantic v2 validation errors — required fields, type coercion, model_validator, custom validators, extra fields config, and migrating from Pydantic v1.</description><pubDate>Sun, 22 Mar 2026 00:00:00 GMT</pubDate><category>python</category><category>pydantic</category><category>fastapi</category><category>backend</category><category>debugging</category><author>FixDevs</author></item><item><title>Fix: FastAPI Dependency Injection Errors — Dependencies Not Working</title><link>https://fixdevs.com/blog/fastapi-dependency-injection-error/</link><guid isPermaLink="true">https://fixdevs.com/blog/fastapi-dependency-injection-error/</guid><description>How to fix FastAPI dependency injection errors — async dependencies, database sessions, sub-dependencies, dependency overrides in tests, and common DI mistakes.</description><pubDate>Sat, 21 Mar 2026 00:00:00 GMT</pubDate><category>python</category><category>fastapi</category><category>backend</category><category>debugging</category><author>FixDevs</author></item><item><title>Fix: Python asyncio Blocking the Event Loop — Mixing Sync and Async Code</title><link>https://fixdevs.com/blog/python-async-sync-mix/</link><guid isPermaLink="true">https://fixdevs.com/blog/python-async-sync-mix/</guid><description>How to fix Python asyncio event loop blocking — using run_in_executor for sync calls, asyncio.to_thread, avoiding blocking I/O in coroutines, and detecting event loop stalls.</description><pubDate>Sat, 21 Mar 2026 00:00:00 GMT</pubDate><category>python</category><category>asyncio</category><category>backend</category><category>fastapi</category><category>debugging</category><category>performance</category><author>FixDevs</author></item><item><title>Fix: Pydantic ValidationError — Field Required / Value Not Valid</title><link>https://fixdevs.com/blog/pydantic-validation-error/</link><guid isPermaLink="true">https://fixdevs.com/blog/pydantic-validation-error/</guid><description>How to fix Pydantic ValidationError in Python — missing required fields, wrong types, custom validators, handling optional fields, v1 vs v2 API differences, and debugging complex nested models.</description><pubDate>Thu, 19 Mar 2026 00:00:00 GMT</pubDate><category>python</category><category>pydantic</category><category>fastapi</category><category>debugging</category><category>backend</category><author>FixDevs</author></item><item><title>Fix: FastAPI 422 Unprocessable Entity (validation error)</title><link>https://fixdevs.com/blog/fastapi-422-unprocessable-entity/</link><guid isPermaLink="true">https://fixdevs.com/blog/fastapi-422-unprocessable-entity/</guid><description>How to fix FastAPI 422 Unprocessable Entity error caused by wrong request body format, missing fields, type mismatches, query parameter errors, and Pydantic validation.</description><pubDate>Mon, 09 Mar 2026 00:00:00 GMT</pubDate><category>python</category><category>fastapi</category><category>debugging</category><author>FixDevs</author></item></channel></rss>