SharePoint Webhook sending malformed JSON

Copper Contributor

Hi there developers,

 

I'm currently trying to develop a demo solution for our clients involving SP Web-hooks. I've managed to get the subscription registered by replying to the initial validation request made by SharePoint Online.

 

After that, every change event that occurs in SPO sends malformed JSON to my server. There is a single U+FEFF character at the beginning.

 

Is this due to some feature not being enabled in the site-collection or an error in my set up of a subscription?

 

Some info on our Farm:

- Uses a hybrid system but I'm performing this from a SPO context.

- Uses latest versions of SP and Enterprise Licencing for SPO.

0 Replies