Try our conversational search powered by Generative AI!

Specific error message is not returned when KQL query is invalid

Fixed in

EPiServer.Profiles.Client 1.24.0


Oct 27, 2020


Mar 05, 2021


Closed, Fixed and tested


Steps to reproduce:

Execute an invalid query using the event preview endpoint, for example:

Events | summarize count() by Payload

Expected result:

Specific error message with details of what is wrong and ideally suggests how to fix the problem.

Actual result:
Generic error response is displayed, like this:

{"error":{"code":"400","message":"Failed to execute the query.","target":"","details":[]}}