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

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
32 4 6 11

401 unauthorized error from c# code sample

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.


world-checkworld-check-one
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
1.1k 3 1 2
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
1.1k 3 1 2

@ziad.abourizk

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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

I did all this changes and still I am getting a 401

1624963667717.png

1624963667717.png (114.4 KiB)
Click below to post an Idea Post Idea