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

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
1 0 0 1

I get a 401 unauthorised error when I try to screen an individual on WorldCheck One API

With the World-Chek On API I am getting a 401 unauthorised request when i try to screen individuals. I can screen organisations fine. Here are the subscription details

screenshot-2023-02-01-at-115731.png

I am using the same credentials for the organisation and individual screening requests.

Can I have some assistance ?

#productauthentication
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
Accepted
546 4 0 2

Hi @andreea .


I am looking into this and will get back to you with a solution as soon as possible. Thank you.


Regards,

Ssneha Balasubramanian.

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
546 4 0 2

Hi @andreea.


Could you paste screenshots of the request body, response body, headers and pre request scripts in Postman so we can look into this? Also, if you could post a screenshot of your equest body, response body, headers and pre request scripts when you're scanning an organization, it'd be helpful. Thank you.


Regards,

Ssneha Balasubramanian.

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.

Individual request

{
  "headers": {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "User-Agent": "Swagger-Codegen/1.0.0/python",
    "Date": "Wed, 01 Feb 2023 22:28:57 GMT",
    "Authorization": "Signature keyId=\"XxredactedxX\",algorithm=\"XxredactedxX\",headers=\"(request-target) host date content-type content-length\",signature=\"XxredactedxX=\""
  },
  "body": {
    "name": "XxredactedxX",
    "providerTypes": ["WATCHLIST", "CLIENT_WATCHLIST"],
    "secondaryFields": [
      { "typeId": "SFCT_1", "value": "XxredactedxX" },
      { "typeId": "SFCT_2", "dateTimeValue": "XxredactedxX" },
      { "typeId": "SFCT_5", "value": "XxredactedxX" }
    ],
    "groupId": "XxredactedxX",
    "entityType": "INDIVIDUAL"
  },
  "timestamp": "2023-02-01T22:28:57.450493Z",
}


Individual response

{
  "status": 401,
  "headers": [
    ["Date", "Wed, 01 Feb 2023 22:28:57 GMT"],
    ["Transfer-Encoding", "chunked"],
    ["Connection", "keep-alive"],
    ["Content-Security-Policy", "default-src 'none'; frame-ancestors 'none'"],
    ["Strict-Transport-Security", "XxredactedxX; includeSubDomains"],
    ["X-Frame-Options", "DENY"],
    ["X-XSS-Protection", "1; mode=block"],
    ["X-Content-Type-Options", "nosniff"],
    [
      "Authorization",
      "WWW-Authenticate: Signature realm=\"World-Check One API\",algorithm=\"XxredactedxX\",headers=\"(request-target) host date content-type content-length\""
    ]
  ],
  "body": "",
  "timestamp": "2023-02-01T22:28:57.508272Z",
  "level": "INFO"
}
Hi @ssneha.balasubramanian ,

Could you please provide further assistance to the client?

Thanks,
AHS

Upvotes
546 4 0 2

Hi @andreea.


Please let me know if this is resolved or if we can connect on a call regarding this. Thank you.


Regards,

Ssneha Balasubramanian.

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.