1

In POSTMAN while sending post request to create webhook, it returned with 400 bad request.

Failed to validate the notification URL 'https://ngrokfrwdURL.ngrok.io/api/spwebhook/handlerequest

<?xml version="1.0" encoding="utf-8"?> <m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
    <m:code>-1, System.InvalidOperationException</m:code>
    <m:message xml:lang="en-US">Failed to validate the notification URL 'https://ngrokURL.ngrok.io/api/spwebhook/handlerequest'.</m:message> </m:error>
0

Rather I would suggest use this tool to create subscriptions for your desired list/library:

SharePoint Framework web part to manage Webhooks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.