Encountered an exception while running action ‘action_listen’. The bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code.
Seems like your actions.py code is wrong. You should troubleshoot your code.
Thanks you Remy. can you give me one example to connect API through custom actions.
I honestly have no idea. This is a different issue though. Did you search the forums for API and custom actions?
edit: Customize action code HTTP API this could solve your issue?
thanks @Remy i will chech it.
I assume you’ve listed action_listen in your actions in the domain.yml? If yes, remove it and it should work
Does having action_listen in your domain.yml mess things up? Good to know 
Yeah if you add it i think rasa expects a custom implementation of it 
yes. i have removed the action_listen but when i have to call API then it is not working. can you give me the examples relevant to API call.