#143 — Browser CORS access issue for 500 errors in back-end
Repo: Twill-AI/facade State: closed | Status: done Assignee: Unassigned
Created: 2024-10-15 · Updated: 2025-09-15
Description
STR:
- In any environment make from UI request which would cause 500 error in back-end
Expected: 500 error with details.
Actual: request fails with CORS error.
Investigation details:
See https://stackoverflow.com/questions/74032863/all-server-errors-appear-as-500-cors-error-fast-api-in-docker-image - it is a known problem. Particularly in FastAPI it may be solved with custom middlewares - https://github.com/fastapi/fastapi/discussions/7847
Notes
Add implementation notes, blockers, and context here
Related
Add wikilinks to related people, meetings, or other tickets