ERROR asyncio - Task exception was never retrieve

Hi all, I am using PyCharm and I have encountered the same problem. In my case I have solved it by simply running the “Invalidate Caches and Restart” option. I hope someone will find it helpful!

image