This is not conform https://datatracker.ietf.org/doc/html/rfc7807. We want to conform to an international standard. As far as I know, rfc7807 is the most used international standard for error handling.
TODOs:
check if rfc7807 is the best international standard to comply to
make sure errors are rfc7807 compliant
maybe check all the errors that are thrown around, and improve on then, to improve the user /developers experience
The default error handling of FastAPI is a bit weird. You get response bodies such as
This is not conform https://datatracker.ietf.org/doc/html/rfc7807. We want to conform to an international standard. As far as I know, rfc7807 is the most used international standard for error handling.
TODOs: