Sending export track events with selected parameters throws error

Fixed in

EPiServer.Profiles.Client 1.9.0

Created

Jun 05, 2019

Updated

Jul 08, 2019

State

Closed, Fixed and tested


Description

* Precondition: There is a trackevent with DeviceId = XFcdIdSMcoiOrfFP

* Steps to reproduce:

 
1. Send the export trackevents data by 
 
{{urlProfileTrackeventsAPI}}/default/ExportByQuery?$filter=DeviceId eq XFcdIdSMcoiOrfFP&$select=User.Email,EventType
 
The response is: 
{
    "Query": "DeviceId eq XFcdIdSMcoiOrfFP",
    "Select": "User.Email,EventType",
    "RequestId": "d5a9ed9a-24e5-4c19-8794-8527ca1fbe35",
    "ResultUrl": "{{urlProfileTrackeventsAPI}}/ExportByQueryResult/d5a9ed9a-24e5-4c19-8794-8527ca1fbe35",
    "Scope": "default",
    "RequestedTime": "2019-06-05T03:09:37.9790259Z",
    "Status": "Accepted"
}

 
2. Check the status of the exporting task to get the headers:
{{urlProfileTrackeventsAPI}}/ExportByQueryResult/d5a9ed9a-24e5-4c19-8794-8527ca1fbe35
 
It returns response: 
{
    "Query": "DeviceId eq XFcdIdSMcoiOrfFP",
    "Select": "User.Email,EventType",
    "RequestId": "d5a9ed9a-24e5-4c19-8794-8527ca1fbe35",
    "Scope": "default",
    "RequestedTime": "2019-06-05T03:09:37.9790259Z",
    "Status": "Error",
    "Error": "The task is completed with errors."
}

* Expected: 
The 2nd step runs well with finished status.