# TypeError: object NoneType can't be used in 'await' expression

- **ID:** `python/fastapi-await-none-coroutine`
- **Domain:** python
- **Category:** type_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

An async route awaits a call that is actually synchronous (e.g. a sync DB driver or a function returning None).

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.x | active | — | — |

## Workarounds

1. **** (88% success)
   ```
   Use an async driver or run sync in a threadpool:
from starlette.concurrency import run_in_threadpool
result = await run_in_threadpool(sync_fn)
   ```
2. **** (90% success)
   ```
   Remove await when calling a synchronous function.
   ```

## Dead Ends

- **** — Fixes this call but blocks the event loop for other requests. (60% fail)
- **** — Doesn't make the awaited object awaitable. (85% fail)
