odataorg.github.io icon indicating copy to clipboard operation
odataorg.github.io copied to clipboard

Value cannot be null. Parameter name: edmEntityObject

Open ghost opened this issue 4 years ago • 1 comments

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.

ghost avatar Nov 20 '21 13:11 ghost

It looks there is very few support on Tripin tutorial.

Hervao avatar Oct 06 '23 19:10 Hervao