René's URL Explorer Experiment


Title: FAQ & Troubleshooting - FasterAPI

Open Graph Title: FAQ & Troubleshooting - FasterAPI

X Title: FAQ & Troubleshooting - FasterAPI

Description: High-performance ASGI web framework for Python

Open Graph Description: High-performance ASGI web framework for Python

X Description: High-performance ASGI web framework for Python

Opengraph URL: https://fasterapiweb.github.io/FasterAPI/faq/

Generator: mkdocs-1.6.1, mkdocs-material-9.7.6

direct link

Domain: fasterapiweb.github.io

IPv4 address: 185.199.111.153

authorEshwar Chandra Vidhyasagar Thedla
og:typewebsite
og:site_nameFasterAPI
og:imagehttps://fasterapiweb.github.io/FasterAPI/assets/images/og-banner.png
og:image:altFasterAPI documentation
og:image:width1200
og:image:height630
twitter:cardsummary_large_image
twitter:imagehttps://fasterapiweb.github.io/FasterAPI/assets/images/og-banner.png

Links:

Skip to content https://fasterapiweb.github.io/FasterAPI/faq/#faq-troubleshooting
https://fasterapiweb.github.io/FasterAPI/
javascript:void(0)
FasterApiWeb/FasterAPI https://github.com/FasterApiWeb/FasterAPI
Home https://fasterapiweb.github.io/FasterAPI/
Getting Started https://fasterapiweb.github.io/FasterAPI/getting-started/
Tutorial https://fasterapiweb.github.io/FasterAPI/tutorial/
Advanced User Guide https://fasterapiweb.github.io/FasterAPI/advanced/
Security https://fasterapiweb.github.io/FasterAPI/security/
Databases https://fasterapiweb.github.io/FasterAPI/database/
Deployment https://fasterapiweb.github.io/FasterAPI/deployment/
Concepts https://fasterapiweb.github.io/FasterAPI/concepts/async-await/
How-To Recipes https://fasterapiweb.github.io/FasterAPI/how-to/
Reference https://fasterapiweb.github.io/FasterAPI/api-reference/
FAQ & Troubleshooting https://fasterapiweb.github.io/FasterAPI/faq/
https://fasterapiweb.github.io/FasterAPI/
FasterApiWeb/FasterAPI https://github.com/FasterApiWeb/FasterAPI
Home https://fasterapiweb.github.io/FasterAPI/
Getting Started https://fasterapiweb.github.io/FasterAPI/getting-started/
Tutorial https://fasterapiweb.github.io/FasterAPI/tutorial/
Path Parameters https://fasterapiweb.github.io/FasterAPI/tutorial/path-parameters/
Query Parameters https://fasterapiweb.github.io/FasterAPI/tutorial/query-parameters/
Request Body https://fasterapiweb.github.io/FasterAPI/tutorial/request-body/
Response Model https://fasterapiweb.github.io/FasterAPI/tutorial/response-model/
Form Data & File Uploads https://fasterapiweb.github.io/FasterAPI/tutorial/form-and-files/
Error Handling https://fasterapiweb.github.io/FasterAPI/tutorial/error-handling/
Dependencies https://fasterapiweb.github.io/FasterAPI/tutorial/dependencies/
Background Tasks https://fasterapiweb.github.io/FasterAPI/tutorial/background-tasks/
Middleware https://fasterapiweb.github.io/FasterAPI/tutorial/middleware/
WebSockets https://fasterapiweb.github.io/FasterAPI/tutorial/websockets/
Metadata & Docs https://fasterapiweb.github.io/FasterAPI/tutorial/metadata/
Advanced User Guide https://fasterapiweb.github.io/FasterAPI/advanced/
Custom Response Classes https://fasterapiweb.github.io/FasterAPI/advanced/custom-response/
Response Cookies & Headers https://fasterapiweb.github.io/FasterAPI/advanced/response-cookies-headers/
Using the Request https://fasterapiweb.github.io/FasterAPI/advanced/using-request/
Settings & Env Vars https://fasterapiweb.github.io/FasterAPI/advanced/settings/
OpenAPI Customisation https://fasterapiweb.github.io/FasterAPI/advanced/openapi-customization/
Additional Responses https://fasterapiweb.github.io/FasterAPI/advanced/additional-responses/
Templates (Jinja2) https://fasterapiweb.github.io/FasterAPI/advanced/templates/
Lifespan Events https://fasterapiweb.github.io/FasterAPI/advanced/lifespan/
Behind a Proxy https://fasterapiweb.github.io/FasterAPI/advanced/behind-proxy/
Sub-applications https://fasterapiweb.github.io/FasterAPI/advanced/sub-applications/
Server-Sent Events https://fasterapiweb.github.io/FasterAPI/advanced/server-sent-events/
Testing with Overrides https://fasterapiweb.github.io/FasterAPI/advanced/testing-overrides/
Async Tests https://fasterapiweb.github.io/FasterAPI/advanced/async-tests/
Bigger Applications https://fasterapiweb.github.io/FasterAPI/advanced/bigger-apps/
Security https://fasterapiweb.github.io/FasterAPI/security/
OAuth2 + JWT https://fasterapiweb.github.io/FasterAPI/security/oauth2-jwt/
OAuth2 Scopes https://fasterapiweb.github.io/FasterAPI/security/oauth2-scopes/
HTTP Basic Auth https://fasterapiweb.github.io/FasterAPI/security/http-basic-auth/
Databases https://fasterapiweb.github.io/FasterAPI/database/
SQL with SQLAlchemy https://fasterapiweb.github.io/FasterAPI/database/sqlalchemy/
NoSQL — MongoDB https://fasterapiweb.github.io/FasterAPI/database/nosql-mongodb/
Async Database Usage https://fasterapiweb.github.io/FasterAPI/database/async-db/
Deployment https://fasterapiweb.github.io/FasterAPI/deployment/
Docker https://fasterapiweb.github.io/FasterAPI/deployment/docker/
systemd Service https://fasterapiweb.github.io/FasterAPI/deployment/systemd/
Gunicorn + Uvicorn https://fasterapiweb.github.io/FasterAPI/deployment/gunicorn/
HTTPS — Let's Encrypt https://fasterapiweb.github.io/FasterAPI/deployment/https/
Nginx & Traefik https://fasterapiweb.github.io/FasterAPI/deployment/nginx-traefik/
Cloud Services https://fasterapiweb.github.io/FasterAPI/deployment/cloud/
Kubernetes https://fasterapiweb.github.io/FasterAPI/deployment/kubernetes/
Async / Await https://fasterapiweb.github.io/FasterAPI/concepts/async-await/
Concurrency & Parallelism https://fasterapiweb.github.io/FasterAPI/concepts/concurrency/
Python Type Hints https://fasterapiweb.github.io/FasterAPI/concepts/types-intro/
msgspec vs Pydantic https://fasterapiweb.github.io/FasterAPI/concepts/msgspec-vs-pydantic/
Radix Tree Routing https://fasterapiweb.github.io/FasterAPI/concepts/radix-tree-routing/
Sub-Interpreters Guide https://fasterapiweb.github.io/FasterAPI/concepts/sub-interpreters/
Performance roadmap (v0.4) https://fasterapiweb.github.io/FasterAPI/concepts/performance-roadmap-v04/
How-To Recipes https://fasterapiweb.github.io/FasterAPI/how-to/
API Reference https://fasterapiweb.github.io/FasterAPI/api-reference/
Architecture https://fasterapiweb.github.io/FasterAPI/architecture/
Benchmarks https://fasterapiweb.github.io/FasterAPI/benchmarks/
Benchmark Methodology https://fasterapiweb.github.io/FasterAPI/benchmark-methodology/
Migrating from FastAPI https://fasterapiweb.github.io/FasterAPI/migration-from-fastapi/
Python 3.13 & Compatibility https://fasterapiweb.github.io/FasterAPI/python-313/
Changelog https://fasterapiweb.github.io/FasterAPI/changelog/
Acknowledgments https://fasterapiweb.github.io/FasterAPI/acknowledgments/
FAQ & Troubleshooting https://fasterapiweb.github.io/FasterAPI/faq/
Installation https://fasterapiweb.github.io/FasterAPI/faq/#installation
pip install faster-api-web succeeds but import FasterAPI fails https://fasterapiweb.github.io/FasterAPI/faq/#pip-install-faster-api-web-succeeds-but-import-fasterapi-fails
ImportError: TestClient requires httpx https://fasterapiweb.github.io/FasterAPI/faq/#importerror-testclient-requires-httpx
uvloop is not being used https://fasterapiweb.github.io/FasterAPI/faq/#uvloop-is-not-being-used
Running the app https://fasterapiweb.github.io/FasterAPI/faq/#running-the-app
uvicorn main:app --reload — app not found https://fasterapiweb.github.io/FasterAPI/faq/#uvicorn-mainapp-reload-app-not-found
Port already in use https://fasterapiweb.github.io/FasterAPI/faq/#port-already-in-use
Swagger UI (/docs) shows no routes https://fasterapiweb.github.io/FasterAPI/faq/#swagger-ui-docs-shows-no-routes
Request handling https://fasterapiweb.github.io/FasterAPI/faq/#request-handling
422 Unprocessable Entity on valid-looking input https://fasterapiweb.github.io/FasterAPI/faq/#422-unprocessable-entity-on-valid-looking-input
Path parameter is always None https://fasterapiweb.github.io/FasterAPI/faq/#path-parameter-is-always-none
Query parameter not received https://fasterapiweb.github.io/FasterAPI/faq/#query-parameter-not-received
File upload returns 422 https://fasterapiweb.github.io/FasterAPI/faq/#file-upload-returns-422
Middleware https://fasterapiweb.github.io/FasterAPI/faq/#middleware
CORS preflight fails https://fasterapiweb.github.io/FasterAPI/faq/#cors-preflight-fails
Middleware order matters https://fasterapiweb.github.io/FasterAPI/faq/#middleware-order-matters
Dependencies https://fasterapiweb.github.io/FasterAPI/faq/#dependencies
Depends() result is not cached between calls https://fasterapiweb.github.io/FasterAPI/faq/#depends-result-is-not-cached-between-calls
Circular dependency https://fasterapiweb.github.io/FasterAPI/faq/#circular-dependency
Database https://fasterapiweb.github.io/FasterAPI/faq/#database
asyncpg / SQLAlchemy session errors in tests https://fasterapiweb.github.io/FasterAPI/faq/#asyncpg-sqlalchemy-session-errors-in-tests
RuntimeError: Task attached to a different loop https://fasterapiweb.github.io/FasterAPI/faq/#runtimeerror-task-attached-to-a-different-loop
Performance https://fasterapiweb.github.io/FasterAPI/faq/#performance
Throughput is lower than expected https://fasterapiweb.github.io/FasterAPI/faq/#throughput-is-lower-than-expected
High memory usage https://fasterapiweb.github.io/FasterAPI/faq/#high-memory-usage
OpenAPI / Swagger UI https://fasterapiweb.github.io/FasterAPI/faq/#openapi-swagger-ui
Swagger UI is blank or shows errors https://fasterapiweb.github.io/FasterAPI/faq/#swagger-ui-is-blank-or-shows-errors
Response schema is missing or wrong https://fasterapiweb.github.io/FasterAPI/faq/#response-schema-is-missing-or-wrong
WebSockets https://fasterapiweb.github.io/FasterAPI/faq/#websockets
WebSocket connection immediately closes https://fasterapiweb.github.io/FasterAPI/faq/#websocket-connection-immediately-closes
WebSocket 4004 error https://fasterapiweb.github.io/FasterAPI/faq/#websocket-4004-error
Getting help https://fasterapiweb.github.io/FasterAPI/faq/#getting-help
Installation https://fasterapiweb.github.io/FasterAPI/faq/#installation
pip install faster-api-web succeeds but import FasterAPI fails https://fasterapiweb.github.io/FasterAPI/faq/#pip-install-faster-api-web-succeeds-but-import-fasterapi-fails
ImportError: TestClient requires httpx https://fasterapiweb.github.io/FasterAPI/faq/#importerror-testclient-requires-httpx
uvloop is not being used https://fasterapiweb.github.io/FasterAPI/faq/#uvloop-is-not-being-used
Running the app https://fasterapiweb.github.io/FasterAPI/faq/#running-the-app
uvicorn main:app --reload — app not found https://fasterapiweb.github.io/FasterAPI/faq/#uvicorn-mainapp-reload-app-not-found
Port already in use https://fasterapiweb.github.io/FasterAPI/faq/#port-already-in-use
Swagger UI (/docs) shows no routes https://fasterapiweb.github.io/FasterAPI/faq/#swagger-ui-docs-shows-no-routes
Request handling https://fasterapiweb.github.io/FasterAPI/faq/#request-handling
422 Unprocessable Entity on valid-looking input https://fasterapiweb.github.io/FasterAPI/faq/#422-unprocessable-entity-on-valid-looking-input
Path parameter is always None https://fasterapiweb.github.io/FasterAPI/faq/#path-parameter-is-always-none
Query parameter not received https://fasterapiweb.github.io/FasterAPI/faq/#query-parameter-not-received
File upload returns 422 https://fasterapiweb.github.io/FasterAPI/faq/#file-upload-returns-422
Middleware https://fasterapiweb.github.io/FasterAPI/faq/#middleware
CORS preflight fails https://fasterapiweb.github.io/FasterAPI/faq/#cors-preflight-fails
Middleware order matters https://fasterapiweb.github.io/FasterAPI/faq/#middleware-order-matters
Dependencies https://fasterapiweb.github.io/FasterAPI/faq/#dependencies
Depends() result is not cached between calls https://fasterapiweb.github.io/FasterAPI/faq/#depends-result-is-not-cached-between-calls
Circular dependency https://fasterapiweb.github.io/FasterAPI/faq/#circular-dependency
Database https://fasterapiweb.github.io/FasterAPI/faq/#database
asyncpg / SQLAlchemy session errors in tests https://fasterapiweb.github.io/FasterAPI/faq/#asyncpg-sqlalchemy-session-errors-in-tests
RuntimeError: Task attached to a different loop https://fasterapiweb.github.io/FasterAPI/faq/#runtimeerror-task-attached-to-a-different-loop
Performance https://fasterapiweb.github.io/FasterAPI/faq/#performance
Throughput is lower than expected https://fasterapiweb.github.io/FasterAPI/faq/#throughput-is-lower-than-expected
High memory usage https://fasterapiweb.github.io/FasterAPI/faq/#high-memory-usage
OpenAPI / Swagger UI https://fasterapiweb.github.io/FasterAPI/faq/#openapi-swagger-ui
Swagger UI is blank or shows errors https://fasterapiweb.github.io/FasterAPI/faq/#swagger-ui-is-blank-or-shows-errors
Response schema is missing or wrong https://fasterapiweb.github.io/FasterAPI/faq/#response-schema-is-missing-or-wrong
WebSockets https://fasterapiweb.github.io/FasterAPI/faq/#websockets
WebSocket connection immediately closes https://fasterapiweb.github.io/FasterAPI/faq/#websocket-connection-immediately-closes
WebSocket 4004 error https://fasterapiweb.github.io/FasterAPI/faq/#websocket-4004-error
Getting help https://fasterapiweb.github.io/FasterAPI/faq/#getting-help
https://github.com/FasterApiWeb/FasterAPI/edit/master/docs/faq.md
https://github.com/FasterApiWeb/FasterAPI/raw/master/docs/faq.md
https://fasterapiweb.github.io/FasterAPI/faq/#faq-troubleshooting
https://fasterapiweb.github.io/FasterAPI/faq/#installation
https://fasterapiweb.github.io/FasterAPI/faq/#pip-install-faster-api-web-succeeds-but-import-fasterapi-fails
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-0-1
https://fasterapiweb.github.io/FasterAPI/faq/#importerror-testclient-requires-httpx
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-1-1
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-1-2
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-1-3
https://fasterapiweb.github.io/FasterAPI/faq/#uvloop-is-not-being-used
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-2-1
https://fasterapiweb.github.io/FasterAPI/faq/#running-the-app
https://fasterapiweb.github.io/FasterAPI/faq/#uvicorn-mainapp-reload-app-not-found
https://fasterapiweb.github.io/FasterAPI/faq/#port-already-in-use
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-3-1
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-3-2
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-3-3
https://fasterapiweb.github.io/FasterAPI/faq/#swagger-ui-docs-shows-no-routes
https://fasterapiweb.github.io/FasterAPI/faq/#request-handling
https://fasterapiweb.github.io/FasterAPI/faq/#422-unprocessable-entity-on-valid-looking-input
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-4-1
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-4-2
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-4-3
https://fasterapiweb.github.io/FasterAPI/faq/#path-parameter-is-always-none
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-5-1
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-5-2
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-5-3
https://fasterapiweb.github.io/FasterAPI/faq/#query-parameter-not-received
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-6-1
https://fasterapiweb.github.io/FasterAPI/faq/#file-upload-returns-422
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-7-1
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-7-2
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-7-3
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-8-1
https://fasterapiweb.github.io/FasterAPI/faq/#middleware
https://fasterapiweb.github.io/FasterAPI/faq/#cors-preflight-fails
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-9-1
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-9-2
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-9-3
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-9-4
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-9-5
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-9-6
https://fasterapiweb.github.io/FasterAPI/faq/#middleware-order-matters
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-10-1
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-10-2
https://fasterapiweb.github.io/FasterAPI/faq/#dependencies
https://fasterapiweb.github.io/FasterAPI/faq/#depends-result-is-not-cached-between-calls
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-11-1
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-11-2
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-11-3
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-11-4
https://fasterapiweb.github.io/FasterAPI/faq/#__codelineno-11-5
https://fasterapiweb.github.io/FasterAPI/faq/#circular-dependency
https://fasterapiweb.github.io/FasterAPI/faq/#database
https://fasterapiweb.github.io/FasterAPI/faq/#asyncpg-sqlalchemy-session-errors-in-tests
https://fasterapiweb.github.io/FasterAPI/faq/#runtimeerror-task-attached-to-a-different-loop
https://fasterapiweb.github.io/FasterAPI/faq/#performance
https://fasterapiweb.github.io/FasterAPI/faq/#throughput-is-lower-than-expected
https://fasterapiweb.github.io/FasterAPI/faq/#high-memory-usage
https://fasterapiweb.github.io/FasterAPI/faq/#openapi-swagger-ui
https://fasterapiweb.github.io/FasterAPI/faq/#swagger-ui-is-blank-or-shows-errors
https://fasterapiweb.github.io/FasterAPI/faq/#response-schema-is-missing-or-wrong
https://fasterapiweb.github.io/FasterAPI/faq/#websockets
https://fasterapiweb.github.io/FasterAPI/faq/#websocket-connection-immediately-closes
https://fasterapiweb.github.io/FasterAPI/faq/#websocket-4004-error
https://fasterapiweb.github.io/FasterAPI/faq/#getting-help
github.com/FasterApiWeb/FasterAPI/issueshttps://github.com/FasterApiWeb/FasterAPI/issues
FasterAPI/https://github.com/FasterApiWeb/FasterAPI/tree/master/FasterAPI
CHANGELOGhttps://fasterapiweb.github.io/FasterAPI/changelog/
Previous Acknowledgments https://fasterapiweb.github.io/FasterAPI/acknowledgments/
Material for MkDocs https://squidfunk.github.io/mkdocs-material/
https://github.com/FasterApiWeb/FasterAPI
https://pypi.org/project/faster-api-web/

Response headers:
ServerGitHub.com
Content-Typetext/html; charset=utf-8
Via1.1 varnish
Cache-Controlmax-age=600
Last-ModifiedWed, 29 Apr 2026 03:50:42 GMT

Viewport: width=device-width,initial-scale=1


URLs of crawlers that visited me.