I feel like with HTTP responses the scenarios of “the URI you are trying to access is not a valid or defined endpoint” and “the URI is valid but the specific thing you are requesting doesn’t exist” should not both be 404 errors. Those should be two different things.