I am creating an entity record by sending a REST call using XrmSvcToolkit.createRecord()
method, but the JSON
returned is accompanied with this error
EntityState must be set to null, Created (for Create message) or Changed (for Update message)
It's a simple REST call but I don't have any idea about this error. I googled it and found few hits but the problem still exists.