Getting "Failed to validate incoming Twilio message." when I am sending a message to a twilio number thats configured as Bot channel

Kavya Athuluri 0 Reputation points
2024-05-13T13:18:31.1666667+00:00

I have created a bot using azure bot framework, using Twilio channel for messages.

I have done configuration as specified in the documentation - https://learn.microsoft.com/en-us/azure/bot-service/bot-service-channel-connect-twilio?view=azure-bot-service-4.0

I am getting this error "Failed to validate incoming Twilio message." Can someone help?

The same Twilio number is responding when I tested with a test API.

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
840 questions
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 46,751 Reputation points Microsoft Employee
    2024-05-13T14:28:16.2866667+00:00

    @Kavya Athuluri Don't really have experience with using twilio or the bot service extensively. To debug, you can configure diagnostic settings on your bot service to check the messages.

    Also, the documentation to create a TwiML application for messaging configuration does not mention if the URL configured is for a GET or POST. I found that the Twilio documentation provides this option to choose GET or POST. Which one did you choose? I feel it should be GET call in the Twilio app creation.

    If the issue still exists after this change you could post a support case from Azure portal for the service team to recommend what could be wrong with the incoming message. Thanks!!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.