Error occurred when finalizing GeneratorDataset iterator: Cancelled: Operation was cancelled

I am getting this error. And once this error occurs, the custome actions stopped working.

I am guessing that this is related to NLU coz my NLU is also giving unexpected intent classification. Can anyone tell what might be causing this error?

I am getting the below error in actions 2020-03-05 13:01:18 DEBUG actions - about_policy 2020-03-05 13:01:18 DEBUG actions - {‘meal’: ‘lunch’} Exception occurred while handling uri: ‘http://localhost:5055/webhook’ Traceback (most recent call last): File “c:\users\p11ab\appdata\local\programs\python\python36\lib\site-packages\sanic\app.py”, line 976, in handle_request response = await response File “c:\users\p11ab\appdata\local\programs\python\python36\lib\site-packages\rasa_sdk\endpoint.py”, line 86, in webhook result = await executor.run(action_call) File “c:\users\p11ab\appdata\local\programs\python\python36\lib\site-packages\rasa_sdk\executor.py”, line 280, in run events = action(dispatcher, tracker, domain) File “C:\Users\p11ab\policybot\actions.py”, line 104, in run “title”: self.get_button_title(intent, entities), File “C:\Users\p11ab\policybot\actions.py”, line 136, in get_button_title return button_title.format(**entities) KeyError: ‘policy_type’

Hey @p11abhijeetc, there is error in your custom actions where you are trying to send button message, I think so the error is on the line 136, can you check that?