Custom Actions are not working

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.

@erohmensing @amn41 @eloukas @Juste @akelad

Seems like your 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?

1 Like

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

1 Like

Does having action_listen in your domain.yml mess things up? Good to know :smiley:

1 Like

Yeah if you add it i think rasa expects a custom implementation of it :smiley:

1 Like

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.