There's no test covering this case. Also, I don't think that `404 Not Found` is an appropriate status for "This operation failed." See #2825 for my take on this.