Inconsistent error response in .NET 6 Web API application – Asp.net
I am not able to find how to throw exceptions as they are generated by .NET 6 Web API. If I return BadRequest(ModelState) with added errors I am not getting same message with status, type, title etc. By default .NET…