401 Unauthorized error when calling https://api.risk.lseg.com/screening/v3/cases?screen=SYNC

Nihal
Nihal Newcomer
edited June 4 in World-Check One

Dear LSEG Team,


I'm encountering a persistent 401 Unauthorized error when calling https://api.risk.lseg.com/screening/v3/cases?screen=SYNC from my Java application.


Notably, the API works fine when tested directly within the WC1 environment. However, the same request (or equivalent cURL generated) consistently returns a 401 when made as a new request from my development setup.


I've already verified the API credentials, groupId, and system time synchronization.


Attached are the cURL command for your review.


Please advise on a resolution.

image.png

Best Answer

  • ram.nitish
    ram.nitish LSEG
    Answer ✓

    Hi @Nihal ,

    Thank you for reaching out, You can refer to the Sample code available in the DevPortal using the link SampleCode for HMAC authorization and refer “README.md” file for invoking request to WC1 API for different HTTP methods in various programming languages.

    Feel free to let us know if you need further assistance.

    Thanks,
    Ram.