Forum Discussion
Andrew van Renen
Mar 04, 2021Brass Contributor
SharePoint Online list webhooks not always firing
I am using SharePoint webhooks to pick up document added events (in SharePoint Online). The process is relatively straightfoward and it works well except for one issue. I have one site collection...
Andrew van Renen
Mar 24, 2021Brass Contributor
In my case, it seemed the issue was related to that face that I was not sending a response back to SP on receipt of an event. In my code, I was only sending back a response to the validation request message.
The MS docs don't specifically say that you should send an empty 200 response to the event message, but it seems that if you don't send a response, MS will assume your webhook is no longer active.
The MS docs don't specifically say that you should send an empty 200 response to the event message, but it seems that if you don't send a response, MS will assume your webhook is no longer active.