Issues with integration with twillo to whatsapp

I trying to integrate my rasa bot with whatsapp with twillo. So from twillo message is reaching to my bot but from bot message is not reaching to the whatsapp. I am facing the following issue:

2020-04-27 16:27:35 DEBUG rasa.core.processor - Received user message ‘hello’ with intent ‘{‘name’: ‘greet’, ‘confidence’: 0.9923027753829956}’ and entities ‘[]’ 2020-04-27 16:27:35 DEBUG rasa.core.processor - Logged UserUtterance - tracker now has 4 events. 2020-04-27 16:27:35 DEBUG rasa.core.policies.memoization - Current tracker state [None, None, None, {}, {‘intent_greet’: 1.0, ‘prev_action_listen’: 1.0}] 2020-04-27 16:27:35 DEBUG rasa.core.policies.memoization - There is a memorised next action ‘utter_greet’ 2020-04-27 16:27:35 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_0_MemoizationPolicy 2020-04-27 16:27:35 DEBUG rasa.core.processor - Predicted next action ‘utter_greet’ with confidence 1.00. 2020-04-27 16:27:35 DEBUG rasa.core.processor - Action ‘utter_greet’ ended with events ‘[BotUttered(‘Hi !! I am your Assistant. How Can I help you today? Please type your message’, {“elements”: null, “quick_replies”: null, “buttons”: null, “attachment”: null, “image”: null, “custom”: null}, {}, 1587985055.9124792)]’. 2020-04-27 16:27:35 INFO twilio.http_client - POST Request: https://api.twilio.com/2010-04-01/Accounts/ACa01fb1ae6458136dba761e765db118b3/Messages.json 2020-04-27 16:27:35 INFO twilio.http_client - PAYLOAD: {‘To’: ‘whatsapp:+9198XXXXXX16’, ‘From’: ‘whatsapp:+13344639652’, ‘Body’: ‘Hi !! I am your Assistant. How Can I help you today? Please type your message’} 2020-04-27 16:27:37 INFO twilio.http_client - POST Response: 400 {“code”: 63007, “message”: “Twilio could not find a Channel with the specified From address”, “more_info”: “https://www.twilio.com/docs/errors/63007”, “status”: 400} 2020-04-27 16:27:37 ERROR rasa.core.channels.twilio - Something went wrong 'Unable to create record: Twilio could not find a Channel with the specified From address’ 2020-04-27 16:27:37 DEBUG rasa.core.policies.memoization - Current tracker state [None, None, {}, {‘intent_greet’: 1.0, ‘prev_action_listen’: 1.0}, {‘prev_utter_greet’: 1.0, ‘intent_greet’: 1.0}] 2020-04-27 16:27:37 DEBUG rasa.core.policies.memoization - There is a memorised next action ‘action_listen’ 2020-04-27 16:27:37 DEBUG rasa.core.policies.mapping_policy - There is no mapped action for the predicted intent, ‘greet’. 2020-04-27 16:27:37 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_0_MemoizationPolicy 2020-04-27 16:27:37 DEBUG rasa.core.processor - Predicted next action ‘action_listen’ with confidence 1.00. 2020-04-27 16:27:37 DEBUG rasa.core.processor - Action ‘action_listen’ ended with events ‘[]’. 2020-04-27 16:27:37 DEBUG rasa.core.lock_store - Deleted lock for conversation ‘whatsapp:+9198XXXXXX16’.

This looks like an API error thrown by Twilio. Are you sure the twilio number you are using is authorized to send messages?

Yes, I am sure…when I have tested with their test API and I got the response back from twillo.

Hi, @manojrustagi79. Did u solve it? I’m trying to do something similar and I am also getting the same error. I am using a trail twilio account. Please help if anyone knows how to solve this issue.

Thanks.

Hi, Twilio also providing debug option, you can find the error from twilio dashboard.