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

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
1 0 0 1

401 Unauthorized for Get group

I tried to make the request to get group id, but it fails in postman too. Please refer the postman logs

GET https://rms-world-check-one-api-pilot.thomsonreuters.com/v2/groups

Request Headers

Date: Mon, 07 Sep 2020 11:11:18 GMTAuthorization: Signature keyId="XXXXXXXXXXXX",algorithm="hmac-sha256",headers="(request-target) host date",signature="+LR0pfmFM3ItprAXi/U5U0QeIfSgOX7djiuQY048gXM="User-Agent: PostmanRuntime/7.26.3Accept: */*Postman-Token: 7b0c2988-6d4c-4dd0-9583-696eb89ef162Host: rms-world-check-one-api-pilot.thomsonreuters.comAccept-Encoding: gzip, deflate, brConnection: keep-alive

Response Headers

Strict-Transport-Security: max-age=15552000, includeSubdomainsAuthorization: WWW-Authenticate: Signature realm="World-Check One API",algorithm="hmac-sha256",headers="(request-target) host date content-type content-length"Transfer-Encoding: chunkedDate: Mon, 07 Sep 2020 11:09:39 GMT



world-checkworld-check-oneerror-401
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.

1 Answer

· Write an Answer
Upvotes
Accepted
4.5k 4 8 8

@Raheel.saddiqui,

Thank you for your query.

Can you please adjust your system clock to the NTP and try again? The time difference between your system time and World-Check is more than 30 seconds - So you are receiving the error.

Request headers time stamp -

Date: Mon, 07 Sep 2020 11:11:18 GMT

Response timestamp -

Mon, 07 Sep 2020 11:09:39 GMT

Hope this helps.


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.

Whether its possible to get the NTP time before making request.

@Raheel.saddiqui,

I am afraid, it is not possible to get the NTP timestamp before making a request. You may however sync the clock to the internet time and make sure that the system time is not more than 30 seconds when compared to the response time. That should resolve the issue.

Hope this helps.

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.