I am using the c# code sample from dev community.
from POSTMAN the request is working, but when I am trying from c# code its getting 401 unauthorized error.
@ziad.abourizk
Duplicate case: Resolution has been provided on the other case.
https://community.developers.refinitiv.com/questions/80045/world-check-one-api-v2-the-remote-server-returned.html?childToView=80063#answer-80063
I presume you are attempting to consume the GET call?
In the C# code sample, please update the "gatewayurl" from "v1" to "v2" and "gatewayhost" from "rms-world-check-one-api-pilot.thomsonreuters.com" to "api-worldcheck.refinitiv.com" and replace the requestendpoint from "https://rms-world-check-one-api-pilot.thomsonreuters.com/v1/groups" to "https://api-worldcheck.refinitiv.com/v2/groups"
Please make the above code changes and let me know if it resolves the issue.
I did all this changes and still I am getting a 401