r/SpringBoot • • Feb 07 '26

Question Error responses for REST API

Do you implement RFC 9457 in your error responses? I saw that Spring provides an abstraction for this with ProblemDetail, it looks good but not many people are using it.

12 Upvotes

15 comments sorted by

View all comments

Show parent comment

7

u/configloader Feb 07 '26

U expose sql exception as default. Very dangerous