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

Try our conversational search powered by Generative AI!

TrackAPI: Still returns status 200 when unable to send record

Found in

EPiServer.Profiles 1.4.0

Fixed in

EPiServer.Profiles.Client 1.5.0

(Or a related package)

Created

Feb 28, 2018

Updated

Sep 13, 2018

State

Closed, Fixed and tested


Description

Steps to reproduce

1. Send a record via TrackAPI:

https://psinte.azure-api.net/inte-track/api/v1.0/Track

Body:
{
"DeviceId": "device01",
"EventType": "event01",
"Value": "Test",
"Payload":

{ "Apple": 2 }

}
2. Returns status 200 OK. Check the record with link:

https://psinte.azure-api.net/inte-profilesapi/api/v1.0/trackevents 

3. Run OK
4. Send another record with format of "Apple is string", like this:
{
"DeviceId": "device01",
"EventType": "event01",
"Value": "Test",
"Payload":

{ "Apple": "Green" }

}

Expected:
Returns 500 Internal Server Error and shows detailed error (I refer to Profile API ver 1.2.0).

Actual:
Returns 200 OK, but cannot see the record when using query:

https://psinte.azure-api.net/inte-profilesapi/api/v1.0/trackevents