Forum Discussion

gonxman's avatar
gonxman
Copper Contributor
Nov 04, 2022

Sharepoint webhooks - Failed to validate the notification URL

Hi

 

im trying to create a webhook via our Sharepoint 365

 

https://tenantname.sharepoint.com/sites/Test_Site/_api/lists/GetByTitle('Documents')/subscriptions

 

{
    "expirationDateTime":"2022-11-06T17:27:00.0000000Z"
}
 
for some reason sharepoint gives back
 
<?xml version="1.0" encoding="utf-8"?>
    <m:code>-1, System.InvalidOperationException</m:code>
    <m:message xml:lang="en-US">Failed to validate the notification URL 'https://somecloud.com/AppFormAPI/rest/v1/notifications'.</m:message>
</m:error>
 
My postman can trigger the endpoint though so we're not sure where to look.

Resources