MENU

Fun & Interesting

Your REST API Errors Are Wrong. Problem Details Will Fix This

Milan Jovanović 15,084 2 months ago
Video Not Working? Fix It Now

Want to master Clean Architecture? Go here: https://bit.ly/3PupkOJ Want to unlock Modular Monoliths? Go here: https://bit.ly/3SXlzSt Join a community of 1000+ .NET developers: https://www.patreon.com/milanjovanovic Learn why your REST API error responses might confuse your users and developers. Discover how implementing the Problem Details RFC standard (RFC 9457) can make your API errors more consistent, readable, and machine-processable. See real examples of how to transform messy error responses into clear, standardized formats that both humans and computers can understand. Problem Details for ASP.NET Core APIs https://www.milanjovanovic.tech/blog/problem-details-for-aspnetcore-apis Check out my courses: https://www.milanjovanovic.tech/courses Read my Blog here: https://www.milanjovanovic.tech/blog Join my weekly .NET newsletter: https://www.milanjovanovic.tech Chapters 0:00 The problem we're solving 1:12 RFC 9457 - Problem Details 2:44 Adding a global Exception Handler 6:43 Better approach for Problem Details 11:08 Observability with OpenTelemetry 12:27 Solving cross-cutting concerns

Comment