Return HTTP status code 501 Not Implemented
on rpc: can't find service
errors
#18050
Labels
stage/accepted
Confirmed, and intend to work on. No timeline committment though.
theme/api
HTTP API and SDK issues
type/enhancement
Proposal
When a Nomad region forwards a request to a region running an older version of Nomad that doesn't implement the given RPC endpoint, the
rpc
stdlib returnsrpc: can't find service
which is wrapped in a500 Internal Server Error
HTTP response but a better result would be a501 Not Implemented
that can be better handled by consumers.Use-cases
Better determine if a request error is caused by an endpoint not being implemented.
Attempted Solutions
String match the
rpc: can't find service
error message.The text was updated successfully, but these errors were encountered: