500 server error when KQL query is incorrect

Fixed in

EPiServer.Profiles.Client 1.13.0

Created

Oct 23, 2019

Updated

Dec 18, 2019

State

Closed, Fixed and tested


Description

Execute some invalid KQL query using api/v2.0/TrackEvents/preview endpoint. For example, KQL contains some non-existing event property.

Observed: 500 server error with no details is returned.

Expected: 400 Bad request response with reasonable error message that helps developer to understand what's wrong and how to fix it.