401 Unauthorized

GET https://api-worldcheck.refinitiv.com/v2/groups

GET /v2/groups HTTP/1.1

Date: Fri, 20 Oct 2023 06:53:01 GMT

Authorization: Signature keyId="xxxxxxx",algorithm="hmac-sha256",headers="(request-target) host date",signature="EgfxV7ahmm/o9Q0VKlznYRGdhuEtGqVeSGgDCJXqMq4="

User-Agent: PostmanRuntime/7.33.0

Accept: */*

Postman-Token: eb8f81ea-22bf-4755-86b4-8d84111f4977

Host: api-worldcheck.refinitiv.com

Accept-Encoding: gzip, deflate, br

Connection: keep-alive


HTTP/1.1 401 Unauthorized

Date: Fri, 20 Oct 2023 06:54:53 GMT

Content-Length: 0

Connection: keep-alive

Authorization: WWW-Authenticate: Signature realm="World-Check One API",algorithm="hmac-sha256",headers="(request-target) host date content-type content-length"

Content-Security-Policy: default-src 'none'; frame-ancestors 'none'

Strict-Transport-Security: max-age=15552000; includeSubDomains

X-Frame-Options: DENY

X-XSS-Protection: 1; mode=block

X-Content-Type-Options: nosniff

i am facing 401 Unauthorized error on my office desktop but same collection and WC1 API environment i use on laptop then its working fine

why its not working on desktop

Best Answer

  • Hi @bharatwfh02 ,


    Thank you for reaching out.

    You have indicated that you are receiving an HTTP Error Response 401 on your office desktop (but not on your laptop) and we would like you to verify the following:

    - Please verify that the API key and API Secret on your office desktop are the same as with the user agent (Postman) on your laptop.

    - Second, verify that the time zone is set (automatically) and Synchronize the clock with the OS supported Date and Time settings on your office Desktop. The user agent utilizes your OS supported Date and Time to build the Authorization.


    Please do reach out if you have any further questions or need further assistance.


    Best regards,


    Virgill

Answers