Hi I have am issue integrating rasa bot with twilio voice. I have followed Programmable Voice on twilio tutorial and i get this error. SMS is working fine on Programmable SMS. Raised a ticket with them, they seem to be clueless. Funny enough if I do follow their tutorial content is working just fine but they do not use rasa on tutorial. Please help I have spent lot of time with this and I need to make it work.
os win server 2016 rasa ver 1.4.3
2020-01-29 00:17:12 DEBUG rasa.cli.utils - Parameter ‘endpoints’ not set. Using default location ‘endpoints.yml’ instead. 2020-01-29 00:17:12 DEBUG rasa.cli.utils - Parameter ‘credentials’ not set. Using default location ‘credentials.yml’ instead. 2020-01-29 00:17:12 DEBUG rasa.model - Extracted model to ‘C:\Users\ADMINI~1\AppData\Local\Temp\tmp8cmqippf’. 2020-01-29 00:17:14 DEBUG sanic.root - CORS: Configuring CORS with resources: {’/’: {‘origins’: [’’], ‘methods’: ‘DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT’, ‘allow_head ers’: [’.’], ‘expose_headers’: None, ‘supports_credentials’: True, ‘max_age’: None, ‘send_wildcard’: False, ‘automatic_options’: True, ‘vary_header’: True, ‘resources’: {’/*’: {‘origins’: ‘’}}, ‘intercept_exceptions’: True, ‘always_send’: True}} 2020-01-29 00:17:14 DEBUG rasa.core.utils - Available web server routes: /webhooks/rasa GET custom_webhook_RasaChatInput.health /webhooks/rasa/webhook POST custom_webhook_RasaChatInput.receive /webhooks/rest GET custom_webhook_RestInput.health /webhooks/rest/webhook POST custom_webhook_RestInput.receive / GET hello /webhooks/twilio GET twilio_webhook.health /webhooks/twilio/webhook POST twilio_webhook.message 2020-01-29 00:17:14 INFO root - Starting Rasa server on http://localhost:5005 2020-01-29 00:17:14 DEBUG rasa.core.utils - Using the default number of Sanic workers (1). 2020-01-29 00:17:14 INFO root - Enabling coroutine debugging. Loop id 2231186310704. 2020-01-29 00:17:14 DEBUG rasa.model - Extracted model to ‘C:\Users\ADMINI~1\AppData\Local\Temp\tmpfmeokqyw’. 2020-01-29 00:17:20 INFO absl - Entry Point [tensor2tensor.envs.tic_tac_toe_env:TicTacToeEnv] registered with id [T2TEnv-TicTacToeEnv-v0] 2020-01-29 00:17:23 DEBUG rasa.core.tracker_store - Connected to InMemoryTrackerStore. 2020-01-29 00:17:23 DEBUG rasa.core.lock_store - Connected to lock store ‘InMemoryLockStore’. 2020-01-29 00:17:24 DEBUG rasa.model - Extracted model to ‘C:\Users\ADMINI~1\AppData\Local\Temp\tmp_dij6nsr’. 2020-01-29 00:17:24 DEBUG pykwalify.compat - Using yaml library: c:\users\administrator\anaconda3\envs\tensorflowtest\lib\site-packages\ruamel\yaml_init_.py 2020-01-29 00:18:02 ERROR rasa.core.channels.twilio - Exception when trying to handle message.‘NoneType’ object has no attribute ‘replace’ 2020-01-29 00:18:02 DEBUG rasa.core.channels.twilio - ‘NoneType’ object has no attribute ‘replace’ Traceback (most recent call last): File “c:\users\administrator\anaconda3\envs\tensorflowtest\lib\site-packages\rasa\core\channels\twilio.py”, line 126, in message text = text.replace("¡", “@”) AttributeError: ‘NoneType’ object has no attribute ‘replace’ Exception occurred while handling uri: ‘http://489eb39a.ngrok.io/webhooks/twilio/webhook’ Traceback (most recent call last): File “c:\users\administrator\anaconda3\envs\tensorflowtest\lib\site-packages\sanic\app.py”, line 942, in handle_request response = await response File “c:\users\administrator\anaconda3\envs\tensorflowtest\lib\asyncio\coroutines.py”, line 110, in next return self.gen.send(None) File “c:\users\administrator\anaconda3\envs\tensorflowtest\lib\site-packages\rasa\core\channels\twilio.py”, line 126, in message text = text.replace("¡", “@”) AttributeError: ‘NoneType’ object has no attribute ‘replace’