I have integrated rasa assistant with twilio to show chat in watsaap messenger.
Currently, when i send the message to the bot this error is coming up.
I faced this issue while trying the Twilio WhatsApp API with test credentials (expecting it to work).
You need to use the LIVE Credentials instead of the Test Credentials. The test credentials do not support WhatsApp at time of writing. It will cost you some money per successful API call (because it is a real API call to WhatsApp).
This error indicates the destination (To:) number is not WhatsApp enabled. If that is not the case, you should open a ticket with Twilio via the Twilio console to have them further investigate.
Twilio could not find a Channel with the From address
Related
I using twilio flow to create simple chatbot that sends user a whatsapp message with link to provide some details and once user has provided the required details on web page, chat bot must reply with a THANKS message.
Is there anything like postback using rest api on active execution based on which a thank you message can sent.
Please have look on diagram as well.
Twilio developer evangelist here.
When you say you are using Twilio flow, I guess you are using Twilio Studio to send the messages. In this case, I don't think you can achieve what you want with Studio. You can't move an execution on with the REST API.
However, it should be fairly straightforward to send the thank you message from your application using the Twilio Messaging API instead.
What you will need to do is, when the user submits the form, in your back-end code as well as saving the data to your database, make a call to the Twilio API to send the WhatsApp message. I'm not sure what your application is built in, so I've just linked to the relevant documentation.
I am using the Twilio API for WhatsApp in a sandbox, for prototyping and testing. According to the Facebook / WhatsApp documentation, there are several types of inbound notifications that may be delivered to your unique Webhook.
Twilio API documentation is very limited and doesn’t mention any of the more advanced scenarios. For example retrieving the customers name, which should be present in every webhook request…
When I inspect the webhook, the body payload is very limited. Is there any way to receive the original channelData?
Apparently, this feature is not implemented yet. I received the following statement from Twilio.
Unfortunately we don't support the Contact name being included in the inbound Whatsapp message posted to your webhook at this time. I've raised a feature request for this with the Product Team in hopes that we'll have this feature available in the near future.
You can get the sender's name using the 'ProfileName' key from the request form.
The Microsoft bot framework is returning the error "Provided phone number does not belong to Twilio account." when I try to connect it to my Twilio phone number. It works with Skype, Slack and Facebook but this SMS connector will not let me get past the registration. What gives? is there a known issue with this part?
I had this same issue, I had failed to put the "+" in front of the phone number. It worked fine once this was in place.
eg.
+44753....
rather than
44753....
Never mind...I will write my own SMS connector. Easier they using yours anyway
I connected Twilio connector to my registered Bot.
Whenever I send a sms to my Twilio number, I can see in the logs that Twilio service gets 404 when trying to post a message to
https://sms.botframework.com/api/sms
The bot itself works well. I can test it with the webchat iframe or through the test console. But it seems that the Twilio integration to the bot framework is broken
Twilio developer evangelist here. I've just been through the process and was able to get my messages sent to & from my bot.
The fact that your unable to do that suggests you missed a step in the configuration, so I will try and describe what I did here to see if it helps you out.
Created a TwiML application here and set its messaging url to https://sms.botframework.com/api/sms
Purchased a phone number and changed the messaging section to use my TwiML app.
Added my twilio credentials and twilio phone number to the SMS config section as follows:
One thing I noticed is that when Twilio makes a request to this URL to send an SMS, the url returns a 502.
But according to a Microsoft employee this is "harmless".
Let me know if this helps you at all, or if you still need any help.
my client has registered to Twilio from US. I am developer and using Twilio service for testing purpose in India. I am sending text message to send One time password(OTP) to a mobile no in India for which DND is activated. I am not able to receive OPT via text message. Help me.
Twilio developer evangelist here.
I'm afraid the DND list is the top limitation of Twilio in India right now. You can check the details here.
You could, if you were interested, try using Authy (a different Twilio service) to send OTPs to your users. If they have a smart phone, they can then install the Authy application and generate their OTPs on their devise without the need for an SMS. Check out the Authy documentation for how to get started.