600 Operator Error
status code
#3450
Labels
http
http compliance
idea
Needs of discussion to become an enhancement, not ready for implementation
observability
Problem
There are errors that are a clear operator error, such as PGRST121. Yet, these errors are mapped to a 500 status, which is a server error.
This is a problem for metrics because 5xx would be considered as PostgREST failures.
Solution
Map these errors to a custom status code
600 Operator Error
.Previously discussed on https://github.com/PostgREST/postgrest/pull/3423/files#r1576717938
The text was updated successfully, but these errors were encountered: