The current implementation is according to spec:
A server MUST respond with 404 Not Found when processing a request to fetch a single resource that does not exist
However, during debugging an empty body might look confusing. Consider the following:
A server MAY include error details with error responses.
The current implementation is according to spec:
However, during debugging an empty body might look confusing. Consider the following: