Connecting RASA to a Azure Web Bot

Hi guys,

So I’m currently working on a proof of concept on using RASA on our Teams. I followed the discussion here Microsoft Bot Framework Connection - Rasa Open Source - Rasa Community Forum where they mention it would be easier to connect RASA with Azure Web Bot after updating the messaging endpoint

I also followed the guide to edit my credentials.yml Microsoft Bot Framework (

Unfortunately after I made all of this changes, I am getting this error:

2021-01-10 05:35:40 ERROR  - An exception occured while handling user message 'None'.
Traceback (most recent call last):
  File "c:\programdata\anaconda3\envs\installingrasa\lib\site-packages\rasa\core\channels\", line 126, in receive
  File "c:\programdata\anaconda3\envs\installingrasa\lib\site-packages\rasa\core\channels\", line 85, in handler
    await app.agent.handle_message(*args, **kwargs)
  File "c:\programdata\anaconda3\envs\installingrasa\lib\site-packages\rasa\core\", line 528, in handle_message
    return await processor.handle_message(message)
  File "c:\programdata\anaconda3\envs\installingrasa\lib\site-packages\rasa\core\", line 87, in handle_message
    tracker = await self.log_message(message, should_save_tracker=False)
  File "c:\programdata\anaconda3\envs\installingrasa\lib\site-packages\rasa\core\", line 304, in log_message
    await self._handle_message_with_tracker(message, tracker)
  File "c:\programdata\anaconda3\envs\installingrasa\lib\site-packages\rasa\core\", line 566, in _handle_message_with_tracker
    parse_data = await self.parse_message(message, tracker)
  File "c:\programdata\anaconda3\envs\installingrasa\lib\site-packages\rasa\core\", line 539, in parse_message
    if text.startswith(INTENT_MESSAGE_PREFIX):
AttributeError: 'NoneType' object has no attribute 'startswith'

Any ideas?

Anyone had an issue, double check your endpoint, it should be http://host:port/webhooks/botframework/webhook

I was using rest instead of botframework.

Hi @franzbuenaventura did you manage to solve your initial problem?

Yes I did, I had the wrong webhook all this time.


1 Like