Forum Discussion

Aleš Šavli's avatar
Aleš Šavli
Brass Contributor
Apr 24, 2018

SharePoint Webhook can't validate endpoint

I have Web API on our local IIS which is open to publich network (anonymous) with HTTPS and Certificate. I can connect (GET/POST) using Postman and browsers but when I try to attach the webhook I get "Failed to validate the notification URL". I googled all day withouth any luck.

 

I noticed that the webservice must respond in 5s when subscribing? If I try it in postman or browser the response is immediate.

 

Am I missing something?

4 Replies

  • In SP documentation, the variable name spelled, "validationToken", but in real SP sends it as "validationtoken", it may be an issue with your code implementations.

     

    • Aleš Šavli's avatar
      Aleš Šavli
      Brass Contributor

      Thanks for your reply but did not work. I don't even get the request to the server.

      • Sureshkumar Selvanayagam's avatar
        Sureshkumar Selvanayagam
        Copper Contributor
        Have you checked your endpoint from external network? If possible post your endpoint here to test it from my side. Thanks.

Resources