REST API - All Services for a Host

But funny thing is, using the Endpoint with a wrong hostname gives ma an understandable anwer

{
    "title": "Not Found",
    "status": 404,
    "detail": "These fields have problems: host_name",
    "fields": {
        "host_name": [
            "Host not found: 'myhost'"
        ]
    }
}

But using the correct one , returns an error. Any ideas why?

<head>
    <title>500 Internal Server Error</title>
</head>

<body>
    <h1>Internal Server Error</h1>
    <p>The server encountered an internal error or
        misconfiguration and was unable to complete
        your request.</p>
    <p>Please contact the server administrator at
        nobody@localhost to inform them of the time this error occurred,
        and the actions you performed just before this error.</p>
    <p>More information about this error may be available
        in the server error log.</p>
</body>