Hi,
We noticed that when returning dispatcher.utter_template("your_utter", tracker)
from a custom function, the rasa_sdk.executor
was returning the following error :
Your action's 'your_custom_action' run method returned an invalid event. Event w ill be ignored. Event: 'None'.
with no observable consequences on code execution wether from calling the utter.template or executing the function entirely, everything works regardeless the error raised.
The error disapeared when we ran the dispatcher.utter_template("your_utter", tracker)
outside from the return of the function.
Just so you know and may be some of you might help understand why (might be some pythonic related thing I don’t manage).
Thanks,
z.