SPQuery returning error "One or more field types are not installed properly. Go to the list settings page to delete these field"

A recent Caml Query was returning the follow error: One or more fields are not installed properly.

The most likely cause of the problem is that the internal names are not correct in the query. However, this was not the cause. The culprit was my very extensive column naming convention which was more than 32 characters long. It seems that the name was being truncated in the query.

A quick rename of the column resolved the problem.

Comments

Popular posts from this blog

SharePoint 2013: Error updating managed account credentials

How can I call a JIRA api through Powershell?