Try our conversational search powered by Generative AI!

[TrackAPI]: Can create a trackevent with special characters in TrackId

Fixed in

EPiServer.Profiles.Client 1.11.0

(Or a related package)

Created

Jun 17, 2019

Updated

Apr 27, 2020

State

Closed, Fixed and tested


Description

1.Create a trackevent with TrackId, like this:

POST: /api/v1.0/Track
{
 "TrackId": "123123==!~35435",
  "DeviceId": "user1",
  "User": {
    "Name": "user1",
    "Email": "user1@test.com"
  },
  "Value": "test",
  "EventType": "test",
 
  "Scope": "default"
}

2.Get a newly created trackevent using ProfileAPI.

GET: /api/v1.0/trackevents

Expected:
Don't return newly created trackevent in step 1. Following the same rule in profileId, segmentId (Id only supports 0-9,A-Z,a-z,- character and must start with number or letter.)

Observed: Returns the track event in created step 1.