“A type named ’SP.Data.ListItem’ could not be resolved by the model. When a model is available, each type name must resolve to a valid type” error in SharePoint 2013.


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

https://<site>/_api/web/lists/getbytitle(‘<List Name>’)?$select=ListItemEntityTypeFullName

More details


Hope it helps.