From 62d1a1f45d8034f93fe302762144482542c24c8d Mon Sep 17 00:00:00 2001 From: Liz Kane <68755692+lizkane222@users.noreply.github.com> Date: Mon, 29 Apr 2024 14:45:50 -0700 Subject: [PATCH 1/2] Update profile-api.md Escape Characters --- src/unify/profile-api.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/unify/profile-api.md b/src/unify/profile-api.md index 2e5cf07cf1..189a3b35b2 100644 --- a/src/unify/profile-api.md +++ b/src/unify/profile-api.md @@ -58,6 +58,8 @@ Your access token enables you to call the Profile API and access customer data. > warning "" > To query phone numbers that contain a plus sign (`+`), insert the escape characters `%2B` in place of the plus sign. > For example, if a `phone_number` identifier has the value `+5555550123`, enter `phone_number:%2B5555550123` in your query. +> +> If the field being used 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, please reference [this W3 doc](https://www.w3schools.com/tags/ref_urlencode.ASP#:~:text=ASCII%20Encoding%20Reference,%25C3%25BF), which lists the escape characters to replace the non-alphanumeric character in the Profile API endpoint with, so that the Profile API will respond with a 200 Success. ### Query the user's event traits From 5dc505d6a413594acc9d6fa6840693fa6d3eb4ad Mon Sep 17 00:00:00 2001 From: pwseg <86626706+pwseg@users.noreply.github.com> Date: Tue, 7 May 2024 12:47:20 -0500 Subject: [PATCH 2/2] External links and cleanup --- src/unify/profile-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unify/profile-api.md b/src/unify/profile-api.md index 189a3b35b2..76a89ac362 100644 --- a/src/unify/profile-api.md +++ b/src/unify/profile-api.md @@ -59,7 +59,7 @@ Your access token enables you to call the Profile API and access customer data. > To query phone numbers that contain a plus sign (`+`), insert the escape characters `%2B` in place of the plus sign. > For example, if a `phone_number` identifier has the value `+5555550123`, enter `phone_number:%2B5555550123` in your query. > -> If the field being used 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, please reference [this W3 doc](https://www.w3schools.com/tags/ref_urlencode.ASP#:~:text=ASCII%20Encoding%20Reference,%25C3%25BF), which lists the escape characters to replace the non-alphanumeric character in the Profile API endpoint with, so that the Profile API will respond with a 200 Success. +> 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`. ### Query the user's event traits