No application configured for scope type 'channel’

Published 21 Jan, 2023

Reading time: 1 Mins


How to solve no application configured for scope type channel

To answer your question the truth is that you forgot to defined ChannelNamedRouter or mentioned incorrectly. Correct way to code the ChannelNamedRouter is like this…

"channel": ChannelNameRouter({"github-notion": GithubNotionConsumer.as_asgi()}),
The above code usually go into asgi.py where you configure the ASGI applications.

Read More