Skip to content

Commit f51b114

Browse files
committed
Add callout about external_id casing
1 parent 58a2954 commit f51b114

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/unify/profile-api.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,13 @@ Your access token enables you to call the Profile API and access customer data.
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.
6161
>
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`.
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 Reference](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`.
6363
6464
### Query the user's event traits
6565

66+
> info "Make Profile API queries using a lowercase external_id"
67+
> Queries with an `external_id` in other casing won't return any profiles.
68+
6669
1. From the HTTP API testing application of your choice, configure the authentication as described above.
6770
2. Identify the user’s external ID.
6871
- The Profile API requires both the ID type and value, separated by a colon (like `anonymous_id:eml_3bca54b7fe7491add4c8d5d4d9bf6b3e085c6092`). Learn more in [Find a user's external ID](#find-a-users-external-id).

0 commit comments

Comments
 (0)