Hi,
Was getting the above error while creating a listitem for a Tasks List using Rest interface in a SharePoint app.
Here we need to pass SP.Data.<ListName>ListItem i.e. ListEntityTypeFullName of the List.
We can get it using the following
<a href="https:///_api/web/lists/getbytitle(”)?$select=ListItemEntityTypeFullName”>https://<site>/_api/web/lists/getbytitle(‘<List Name>’)?$select=ListItemEntityTypeFullName
More details
http://msdn.microsoft.com/en-us/library/jj164022%28office.15%29.aspx#ListItems
Hope it helps.
Yes it works for me
LikeLiked by 1 person
Great help, thanks!
LikeLike
Thank you for sharing this!
LikeLiked by 1 person
Thank you! I was getting the same error. I did not realize SharePoint automatically capitalizes the first letter of your list’s internal name. Example: I named my list wfdev and SharePoint actually named it Wfdev, which was causing the error.
LikeLiked by 1 person
Thanks
LikeLiked by 1 person
Oh My God thanks, I had no idea SharePoint changes spaces in the list name to “_x0020_”, you saved my ass today.
LikeLiked by 1 person
Glad to know it helped. Good that something that was written 7 years back still helps.
LikeLike