# RuntimeWarning: coroutine 'fetch' was never awaited

**Code:** `never awaited` · **Category:** Python · **Seen on:** Python

An async function was called without await, so it never ran.

## Meaning

Calling an async def function returns a coroutine object; nothing happens until it’s awaited or scheduled. The value you used is the coroutine, not the result.

## Common causes

- Missing await
- Calling async functions from sync code
- Passing an async function as a sync callback

## Quick fix

1. Add await
2. Use asyncio.run(main()) from sync entry points
3. Schedule with asyncio.create_task(...)

## Detailed fix by platform

### Python

1. `result = await fetch(url)`

## How to diagnose

1. **Call** — Which call is missing await?
2. **Context** — Sync or async caller?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/python/coroutine-was-never-awaited)
