MessageBird reportUrl not triggered

82 Views Asked by At

I am trying to send a conversation message, I able to receive the message but I didn't get the report, I configured reportUrl, but the report doesn't arrive, why? I checked into /var/www/apache2/access.log, I got below:

35.246.41.39 - - [01/Jun/2021:11:24:44 +0000] "POST /whatsapp/myWebhookAsync? HTTP/1.1" 200 5327 "-" "MessageBirdHTTPQueue/1622459790-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

my webhook is only simple, I just want to log it into a file, just want to make sure if it really arrives or not

    [HttpPost]
    [Route("/WhatsApp/myWebhookAsync")]
    [AllowAnonymous]
    public async Task myWebhookAsync()
    {
            using (var reader = new StreamReader(Request.Body))
            {
                string _jsonx = await reader.ReadToEndAsync();
                await Helper.SaveLogAsync("CAPTURED --- WhatsAppController.MessageBird_ReportAsync " + _jsonx);
            }

    }
0

There are 0 best solutions below