# Error in responses ERROR asyncio - Task exception was never retrieved

**URL:** <https://forum.rasa.com/t/error-in-responses-error-asyncio-task-exception-was-never-retrieved/42402>\
**Category:** Rasa Open Source\
**Created:** [April 13, 2021, 5:44pm UTC](https://forum.rasa.com/t/error-in-responses-error-asyncio-task-exception-was-never-retrieved/42402 "2021-04-13T17:44:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![laquino](https://avatars.discourse-cdn.com/v4/letter/l/898d66/32.png) [@laquino](https://forum.rasa.com/u/laquino)\
**Post date:** [April 13, 2021, 5:44pm UTC](https://forum.rasa.com/t/error-in-responses-error-asyncio-task-exception-was-never-retrieved/42402/1 "2021-04-13T17:44:24Z")

</div>

Hello,

I need help i am kind of desparate, i am getting ERROR asyncio - Task exception was never retrieved whenever I run rasa shell or rasa interactive and talk to my bot. I get no errors when I train the data. I did some changes, a menu and some faq capabilities, after this the bot wont respond. i have tried a clean Venv and rasa installation still getting the same error.

(AV) PS C:\Users\leoaq\chatbot\> rasa interactive Nothing changed. You can use the old model stored at ‘C:\Users\leoaq\chatbot\models\20210413-120408.tar.gz’. 2021-04-13 12:31:29 INFO rasa.model - Loading model models\20210413-120408.tar.gz… c:\users\leoaq\documents\datascience\envs\av\lib\site-packages\rasa\utils\train\_utils.py:560: UserWarning: constrain\_similarities is set to `False`. It is recommended to set it to `True` when using cross-entropy loss. It will be set to `True` by default, Rasa Open Source 3.0.0 onwards. rasa.shared.utils.io.raise\_warning( c:\users\leoaq\documents\datascience\envs\av\lib\site-packages\rasa\utils\train\_utils.py:533: UserWarning: model\_confidence is set to `softmax`. It is recommended to try using `model_confidence=linear_norm` to make it easier to tune fallback thresholds. rasa.shared.utils.io.raise\_warning( 2021-04-13 12:31:47 INFO root - Rasa server is up and running. Processed story blocks: 100%|█████████████████████████████████████████████████████████████████████████| 1/1 [00:00\<00:00, 999.36it/s, # trackers=1] Processed rules: 100%|███████████████████████████████████████████████████████████████████████████████| 3/3 [00:00\<00:00, 3000.22it/s, # trackers=1] Bot loaded. Visualisation at [http://localhost:5006/visualization.html](http://localhost:5006/visualization.html) . Type a message and press enter (press ‘Ctrl-c’ to exit). ? Your input → hola 2021-04-13 12:35:42 ERROR rasa.server - An unexpected error occurred. Error: list index out of range 2021-04-13 12:35:42 ERROR rasa.core.training.interactive - An exception occurred while recording messages. Traceback (most recent call last): File “c:\users\leoaq\documents\datascience\envs\av\lib\site-packages\rasa\core\training\interactive.py”, line 1496, in record\_messages await \_enter\_user\_message(conversation\_id, endpoint) File “c:\users\leoaq\documents\datascience\envs\av\lib\site-packages\rasa\core\training\interactive.py”, line 1340, in \_enter\_user\_message await send\_message(endpoint, conversation\_id, message) File “c:\users\leoaq\documents\datascience\envs\av\lib\site-packages\rasa\core\training\interactive.py”, line 157, in send\_message return await endpoint.request( File “c:\users\leoaq\documents\datascience\envs\av\lib\site-packages\rasa\utils\endpoints.py”, line 154, in request raise ClientResponseError( rasa.utils.endpoints.ClientResponseError: 500, Internal Server Error, body=‘b’{“version”:“2.5.0”,“status”:“failure”,“message”:“An unexpected error occurred. Error: list index out of range”,“reason”:“ConversationError”,“details”:{},“help”:null,“code”:500}‘’ 2021-04-13 12:35:42 ERROR asyncio - Task exception was never retrieved future: \<Task finished name=‘Task-27’ coro=\<\_serve\_application..run\_interactive\_io() done, defined at c:\users\leoaq\documents\datascience\envs\av\lib\site-packages\rasa\core\training\interactive.py:1589\> exception=ClientResponseError(‘500, Internal Server Error, body='b'{“version”:“2.5.0”,“status”:“failure”,“message”:“An unexpected error occurred. Error: list index out of range”,“reason”:“ConversationError”,“details”:{},“help”:null,“code”:500}''’)\> Traceback (most recent call last): File “c:\users\leoaq\documents\datascience\envs\av\lib\site-packages\rasa\core\training\interactive.py”, line 1592, in run\_interactive\_io await record\_messages( File “c:\users\leoaq\documents\datascience\envs\av\lib\site-packages\rasa\core\training\interactive.py”, line 1496, in record\_messages await \_enter\_user\_message(conversation\_id, endpoint) File “c:\users\leoaq\documents\datascience\envs\av\lib\site-packages\rasa\core\training\interactive.py”, line 1340, in \_enter\_user\_message await send\_message(endpoint, conversation\_id, message) File “c:\users\leoaq\documents\datascience\envs\av\lib\site-packages\rasa\core\training\interactive.py”, line 157, in send\_message return await endpoint.request( File “c:\users\leoaq\documents\datascience\envs\av\lib\site-packages\rasa\utils\endpoints.py”, line 154, in request raise ClientResponseError( rasa.utils.endpoints.ClientResponseError: 500, Internal Server Error, body=‘b’{“version”:“2.5.0”,“status”:“failure”,“message”:“An unexpected error occurred. Error: list index out of range”,“reason”:“ConversationError”,“details”:{},“help”:null,“code”:500}‘’

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/a/a2fc07da310f088b05eaa8463c440a93b2b75db3.png)

---

<div class="post-metadata">

**Author:** ![Arjaan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/arjaan/32/5754_2.png) [@Arjaan](https://forum.rasa.com/u/Arjaan)\
**Post date:** [April 14, 2021, 7:35pm UTC](https://forum.rasa.com/t/error-in-responses-error-asyncio-task-exception-was-never-retrieved/42402/2 "2021-04-14T19:35:58Z")

</div>

@laquino ,

What is the output of the command:

```bash
rasa --version

```

Does it work when you use the command:

```bash
rasa shell

```

or:

```bash
rasa shell --debug

```

---

<div class="post-metadata">

**Author:** ![Chrisprollsite](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chrisprollsite/32/16477_2.png) [@Chrisprollsite](https://forum.rasa.com/u/Chrisprollsite)\
**Post date:** [August 18, 2021, 4:41pm UTC](https://forum.rasa.com/t/error-in-responses-error-asyncio-task-exception-was-never-retrieved/42402/3 "2021-08-18T16:41:49Z")

</div>

I faced the same problem here. rasa version is 2.8.2 and rasa shell works well

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 18, 2021, 9:24pm UTC](https://forum.rasa.com/t/error-in-responses-error-asyncio-task-exception-was-never-retrieved/42402/4 "2021-08-18T21:24:42Z")

</div>

@Chrisprollsite can you share the rasa version ` rasa --version` and screenshot of error?
