I am getting "One or more field types are not installed properly. Go to the list settings page to delete these fields." error when using CAML query to retrieve an item by user name in javascript.
I checked the list setting, I am sure the fields data types are correct!
this is my CAML query
<Query><Where><Eq> <FieldRef Name='user name' /> <Value Type='Text'>' + user name + '</Value></Eq></Where></Query><RowLimit>10</RowLimit>
this is my code
camlQuery.set_viewXml('<Query><Where><Eq> <FieldRef Name='user name' /> <Value Type='Text'>' + user name + '</Value></Eq></Where></Query><RowLimit>10</RowLimit>');
Please help