没有记录此事件的 HTTP 请求

There were no HTTP Requests logged for this event

提问人:Christian McFarland 提问时间:3/21/2017 更新时间:3/21/2017 访问量:2020

问:

我在 VB.NET 应用程序中使用最新的 Twilio .NET SDK (5.0.2)。我正在通过REST客户端发起一条消息,该消息使用消息传递服务发送。在消息传递服务中,我将“http://dev.leadtraxsolutions.com/Services/TwilioStatusUpdates.aspx”作为状态回调 URL。

预期结果:Twilio 向我在消息服务中设置的 URL 发出 POST 请求。

实际结果:Twilio 控制台中的消息详细信息指示“没有为此事件记录任何 HTTP 请求”

以下是发送消息的代码:

    TwilioClient.Init(AccountSID, AuthToken)

    Dim NewToNumber As New PhoneNumber(ToNumber)
    Dim StatusCallback As New Uri("http://dev.leadtraxsolutions.com/Services/TwilioReplies.aspx")

    Try
        If Not MessageServiceSID Is Nothing Then
            If MessageServiceSID.Length > 0 Then
                _TwilioMessage = MessageResource.Create(NewToNumber, AccountSID, Nothing, MessageServiceSID, Body, Nothing)
            Else
                Dim NewFromNumber As New PhoneNumber(FromNumber)
                _TwilioMessage = MessageResource.Create(NewToNumber, AccountSID, NewFromNumber, Nothing, Body, Nothing, StatusCallback)
            End If
        End If

有人可以帮我理解为什么没有发出HTTP请求吗?

asp.net vb.net 回调 短信 twilio

评论

2赞 philnash 3/21/2017
Twilio 支持团队可能最好对此进行研究。请给他们留言,并为你希望获取 statusCallback 事件但未获取的消息提供一些消息 SID。

答: 暂无答案