OData / ODataSamples

Samples: For ODataLib, OData Web API, RESTier, etc.
http://odata.github.io/
Other
293 stars 222 forks source link

TripPin `/People?$select=AddressInfo` returns a 500 error #218

Open robertmclaws opened 1 year ago

robertmclaws commented 1 year ago

When running this query against TripPin, you receive a 500 server error with the following response: {"error":{"code":"","message":"Value cannot be null.\r\nParameter name: source"}}

The response should be a 400 with a better error message, or the entites in question if this is a properly formed request.

This is likely related to https://github.com/OData/WebApi/issues/2737.