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 ?

Best Answer

Answers

  • 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.

  • 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

  • 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.