Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

[ProfileAPI]Return "500 Server error occurred" when sorting trackevents with invalid value

Found in

EPiServer.Profiles.Client 1.11.0

Fixed in

EPiServer.Profiles.Client 1.15.0

(Or a related package)

Created

Sep 12, 2019

Updated

Apr 15, 2020

State

Closed, Fixed and tested


Description

Steps to reproduce:

  1. List track events and order using an invalid value, as shown below:
    GET: urlTrackEvents/?$orderBy=script

Expected:
It shows a 400 Invalid filter.

Actual:
It returns a 500 internal error.

  • Note: The same thing happens with other invalid value like: orderBy=abcd; orderBy= desc ...