# Custom Action file throws up an error

**URL:** <https://forum.rasa.com/t/custom-action-file-throws-up-an-error/21532>\
**Category:** Rasa Open Source\
**Created:** [November 21, 2019, 9:21am UTC](https://forum.rasa.com/t/custom-action-file-throws-up-an-error/21532 "2019-11-21T09:21:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kabilankarunakaran](https://avatars.discourse-cdn.com/v4/letter/k/7feea3/32.png) [@kabilankarunakaran](https://forum.rasa.com/u/kabilankarunakaran)\
**Post date:** [November 21, 2019, 9:21am UTC](https://forum.rasa.com/t/custom-action-file-throws-up-an-error/21532/1 "2019-11-21T09:21:38Z")

</div>

2019-11-21 09:08:23 ERROR asyncio - Task exception was never retrieved future: \<Task finished coro=\<configure\_app..run\_cmdline\_io() done, defined at c:\users\administrator\anaconda3\lib\site-packages\rasa\core\run.py:123\> exception=TimeoutError()\> Traceback (most recent call last): File “c:\users\administrator\anaconda3\lib\site-packages\rasa\core\run.py”, line 127, in run\_cmdline\_io server\_url=constants.DEFAULT\_SERVER\_FORMAT.format(“http”, port) File “c:\users\administrator\anaconda3\lib\site-packages\rasa\core\channels\console.py”, line 135, in record\_messages async for response in bot\_responses: File “c:\users\administrator\anaconda3\lib\site-packages\rasa\core\channels\console.py”, line 100, in send\_message\_receive\_stream async for line in resp.content: File “c:\users\administrator\anaconda3\lib\site-packages\aiohttp\streams.py”, line 39, in **anext** rv = await self.read\_func() File “c:\users\administrator\anaconda3\lib\site-packages\aiohttp\streams.py”, line 328, in readline await self.\_wait(‘readline’) File “c:\users\administrator\anaconda3\lib\site-packages\aiohttp\streams.py”, line 296, in \_wait await waiter File “c:\users\administrator\anaconda3\lib\site-packages\aiohttp\helpers.py”, line 596, in **exit** raise asyncio.TimeoutError from None concurrent.futures.\_base.TimeoutError Transport closed @ (‘127.0.0.1’, 65255) and exception experienced during error handling

2019-11-21 09:08:23 ERROR asyncio - Task exception was never retrieved future: \<Task finished coro=\<RestInput.on\_message\_wrapper() done, defined at c:\users\administrator\anaconda3\lib\site-packages\rasa\core\channels\channel.py:392\> exception=TypeError(“unhashable type: ‘list’”)\> Traceback (most recent call last): File “c:\users\administrator\anaconda3\lib\site-packages\rasa\core\channels\channel.py”, line 406, in on\_message\_wrapper await on\_new\_message(message) File “c:\users\administrator\anaconda3\lib\site-packages\rasa\core\channels\channel.py”, line 82, in handler await app.agent.handle\_message(\*args, \*\*kwargs) File “c:\users\administrator\anaconda3\lib\site-packages\rasa\core\agent.py”, line 471, in handle\_message return await processor.handle\_message(message) File “c:\users\administrator\anaconda3\lib\site-packages\rasa\core\processor.py”, line 93, in handle\_message await self.\_predict\_and\_execute\_next\_action(message, tracker) File “c:\users\administrator\anaconda3\lib\site-packages\rasa\core\processor.py”, line 406, in \_predict\_and\_execute\_next\_action action, tracker, message.output\_channel, self.nlg, policy, confidence File “c:\users\administrator\anaconda3\lib\site-packages\rasa\core\processor.py”, line 510, in \_run\_action self.\_log\_action\_on\_tracker(tracker, action.name(), events, policy, confidence) File “c:\users\administrator\anaconda3\lib\site-packages\rasa\core\processor.py”, line 575, in _log\_action\_on\_tracker tracker.update(e, self.domain) File “c:\users\administrator\anaconda3\lib\site-packages\rasa\core\trackers.py”, line 423, in update event.apply\_to(self) File "c:\users\administrator\anaconda3\lib\site-packages\rasa\core\events\_init_.py", line 476, in apply\_to tracker.\_set\_slot(self.key, self.value) File “c:\users\administrator\anaconda3\lib\site-packages\rasa\core\trackers.py”, line 521, in \_set\_slot if key in self.slots: TypeError: unhashable type: ‘list’

i’m using rasa == 1.4.0 python == 3.7

I have also started my action server. Could anyone help me resolve this issue ??

---

<div class="post-metadata">

**Author:** ![Gehova](https://avatars.discourse-cdn.com/v4/letter/g/2acd7d/32.png) [@Gehova](https://forum.rasa.com/u/Gehova)\
**Post date:** [November 21, 2019, 9:37pm UTC](https://forum.rasa.com/t/custom-action-file-throws-up-an-error/21532/2 "2019-11-21T21:37:25Z")

</div>

> [@kabilankarunakaran](#):
>
> in \_set\_slot if key in self.slots: TypeError: unhashable type: ‘list’

Can you post the code for your custom action or at least the return with your events?
