OData / odataorg.github.io

Staging site and collaboration repository for http://www.odata.org
MIT License
63 stars 101 forks source link

Value cannot be null. Parameter name: edmEntityObject #308

Open dsaikishore opened 2 years ago

dsaikishore commented 2 years ago

When I try to create a Create a Derived Entity with the data given in Tripin Advanced Usages, am getting the following error.

{ "error": { "code": "", "message": "Value cannot be null.\r\nParameter name: edmEntityObject" } }

Data sent via postman: header: { Content-Type: application/json } { "@odata.type": "Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager", "UserName": "mirsking", "FirstName": "Mirs", "LastName": "King", "AddressInfo": [ { "Address": "Microsoft", "City": { "Name": "Shanghai", "CountryRegion": "China" } }], "BossOffice":{ "Address": "Microsoft", "City": { "Name": "Shanghai", "CountryRegion": "China" } }, "Budget": 100 }

Please advise what I am doing wrong.

Hervao commented 1 year ago

It looks there is very few support on Tripin tutorial.