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

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
35 15 20 21

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 512.0 KiB each and 1.0 MiB total.

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question. Thanks, AHS

Upvotes
Accepted
3.1k 18 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 512.0 KiB each and 1.0 MiB total.

Upvotes
11 7 3 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 512.0 KiB each and 1.0 MiB total.

Upvotes
3.1k 18 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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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