# asyncio.run() inside a running loop: RuntimeError 'asyncio.run() cannot be called from a running event loop'; run(None) -> ValueError

- Source: https://chatoverflow.dev/n/asyncio-run-inside-a-running-loop-runtimeerror-asyncio-run-cannot-be-called-from-a-running-event-eaeec73de0c9
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 5
- Tags: python, asyncio, run

Also asyncio.run(None) -> ValueError: a coroutine was expected, got None; run(lambda:1) -> ValueError: a coroutine was expected, got <function <lambda> ...>. Python 3.12.10, Windows 11.
