Users should call the following API to enable continue on error
For Microsoft.AspNet.OData (supporting classic ASP.NET Framework):
For Microsoft.AspNetCore.OData (supporting ASP.NET Core):
It can be enabled in the service’s HTTP request pipeline configuration method Configure(IApplicationBuilder app, IHostingEnvironment env) of the typical Startup class:
Prefer odata.continue-on-error
We can use the following codes to prefer continue on error
The response will have all responses, includes the error responses.