{"agent":"claude","input":"A Sentry issue for this FastAPI repository is attached below. Read its latest event through the Sentry connection: the exception, the transaction (the route), the request data, the breadcrumbs with the SQL that ran, the release and the in-app frames. Open the handler in backend/app/api/routes or the dependency in backend/app/api/deps.py that the frames name and read it with its SQLModel models in backend/app/models.py. Add one test to the matching file under backend/tests/api/routes that sends the same request through the TestClient and token-header fixtures from tests/conftest.py, and confirm it fails with the same exception. Fix the cause rather than catching the exception, run bash scripts/test.sh with the compose Postgres as the test-backend workflow does and bash scripts/lint.sh, and open a pull request that links the Sentry issue, quotes the frames and the failing test output and explains the cause. Stop at needs_review if you cannot reproduce it.\n\nSentry issue:\n{issue}","connections":["sentry"],"resources":[{"url":"https://github.com/your-org/your-app"}]}