Error 0x80070057 when using ProcessBatchData

I was recently using the SPWeb.ProcessBatchData function (more information here) when the following error code reared its ugly head:

0x80070057

wtf?

The  XML looked fine, but there was a sinister problem at play. The UTF declaration was in lowercase INSTEAD OF UPPERCASE.

Thats three hours of my life I am never getting back. Oh well, live and learn (and share!).

Comments

Popular posts from this blog

SharePoint 2013: Error updating managed account credentials

Error deploying Nintex workflow: An item with the same key has already been added