Try our conversational search powered by Generative AI!

[ProfileAPI] Return "500 Server error occurred" when searching without result by FirstSeen, LastSeen, UpdateTime

Found in

EPiServer.Profiles 1.4.0

Fixed in

EPiServer.Profiles.Client 1.5.0

(Or a related package)

Created

Feb 28, 2018

Updated

Jun 04, 2018

State

Closed, Fixed and tested


Description

1. Search for profile by incorrect LastSeen
https://psinte.azure-api.net/inte-profilesapi/api/v1.0/Profiles/?$filter=LastSeen eq script
https://psinte.azure-api.net/inte-profilesapi/api/v1.0/Profiles/?$filter=LastSeen eq 2017/10/10
https://psinte.azure-api.net/inte-profilesapi/api/v1.0/Profiles/?$filter=LastSeen eq 10/10/2017

  • R1: Status code: 500 Server error occurred
    Response body:
    {
    "error": { "code": "500", "message": "Server error occurred.", "target": "", "details": [] }

    }
    The same with FirstSeen and UpdateTime
    => Expected result:
    Status code: 200 OK
    Response body:

    { "items": [], "total": 0, "count": 0 }

NOTE: The same issue in searching track event without result by EventTime
https://psinte.azure-api.net/inte-profilesapi/api/v1.0/Trackevents/?$filter=EventTime eq script