For a deeper look into our World Check One API, look into:

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
35 10 16 20

Are Chinese characters supported by the World-Check API?

I get a 401 Unauthorized error when I enter Chinese characters in my request.

Here's the example from your Postman Collection.

{
  "secondaryFields": [],
  "entityType": "INDIVIDUAL",
  "customFields": [],
  "groupId":"{
  {group-id}}",
  "providerTypes": [
    "WATCHLIST"
  ],
  "name": "习近平"
}
world-checkworld-check-oneapiscreening
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
3.1k 16 7 7

Hi @John Williams,

This is a known issue in the current release of the WC-1 API.

Chinese characters are supported in the next release (December) of the API.

Hope this helps,

Brian

I successfully tested your example in the next release.

{
  "secondaryFields": [],
  "entityType": "INDIVIDUAL",
  "customFields": [],
  "groupId":"{
                {group-id}}",
  "providerTypes": [
    "WATCHLIST"
  ],
  "name": "习近平"
}
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
11 4 2 9

Hi, I just tested this morning, it does not working if the name is Chinese characters. Could i ask when it would be fixed. Thanks

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
3.1k 16 7 7

Hi @information,

V1.2 of the API also requires you download the latest Postman collection. There's a minor edit to the Pre-request Script to properly calculate the content string length.

var contentLength = unescape(encodeURIComponent(content)).length;

Brian

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea