Skip to content

Commit 13223db

Browse files
authored
Merge pull request #6460 from segmentio/lizkane222-patch-8
Update Profile API Guidance on Escape Characters
2 parents bd6834a + 5dc505d commit 13223db

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unify/profile-api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ Your access token enables you to call the Profile API and access customer data.
5858
> warning ""
5959
> To query phone numbers that contain a plus sign (`+`), insert the escape characters `%2B` in place of the plus sign.
6060
> For example, if a `phone_number` identifier has the value `+5555550123`, enter `phone_number:%2B5555550123` in your query.
61+
>
62+
> If the field you're using within the Profile API endpoint contains a value with a non-alphanumeric character, then the Profile API may respond with `500` error. In this case, see [W3's ASCII Encoding Refernece](https://www.w3schools.com/tags/ref_urlencode.ASP#:~:text=ASCII%20Encoding%20Reference,%25C3%25BF){:target="_blank"}, which lists the escape characters you can use to replace the non-alphanumeric character in the Profile API endpoint so that the Profile API will respond with a `200 Success`.
6163
6264
### Query the user's event traits
6365

0 commit comments

Comments
 (0)