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

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
21 0 0 0

Error HTTP 401

Hello,

I'm new to the World Check One API and I try to make my first call, but I'm stuck with an authentication issue.

Here is the request HTTP headers:

Date: Mon, 20 Sep 2021 15:07:53 GMT
Content-Type: application/json
Authorization: Signature keyId="4ff50592-eb8b-45ba-bac9-xxxxxxxxxx", algorithm="hmac-sha256",headers="(request-target) host date content-type content-length",signature="WEnpeL+eZ6qHNY3aMwf0EVg3ERn3bmcJdPJ0AoNYRuk="
Content-Length: 176
User-Agent: PostmanRuntime/7.26.10
Accept: */*
Cache-Control: no-cache
Postman-Token: 8ef765fb-648b-41bd-bd41-de3f17559fbb
Host: api-worldcheck.refinitiv.com
Accept-Encoding: gzip, deflate, br
Connection: keep-alive

And the HTTP body:

{
    "groupId": "1",
    "entityType": "INDIVIDUAL",
    "providerTypes": [
        "WATCHLIST"
    ],
    "name": "putin",
    "secondaryFields": [],
    "customFields": []
}

I always get a HTTP 401 response:

Date: Mon, 20 Sep 2021 15:07:53 GMT
Transfer-Encoding: chunked
Connection: keep-alive
Strict-Transport-Security: max-age=15552000, includeSubdomains
Authorization: WWW-Authenticate: Signature realm="World-Check One API",algorithm="hmac-sha256",headers="(request-target) host date content-type content-length"

Any help would be appreciated


Bruno

world-checkworld-check-one
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
21 0 0 0

Problem solved: bad headers and bad URL.

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
1 0 0 1

Can you try to remove "content-type" and "content-length" from [headers="(request-target) host date content-type content-length",signature="WEnpeL+eZ6qHNY3aMwf0EVg3ERn3bmcJdPJ0AoNYRuk=" ]


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