question

Upvotes
Accepted
3 0 0 1

403 Forbidden - The HTTP request was forbidden with client authentication scheme 'Anonymous'

I got this error after swithcing TRKD endpoint hostname from "api.rkd.reuters.com" to "api.rkd.refinitiv.com":

System.Net.WebException: The remote server returned an error: (403) Forbidden. 
System.ServiceModel.Security.MessageSecurityException: The HTTP request was forbidden with client authentication scheme 'Anonymous'. ---> System.Net.WebException: The remote server returned an error: (403) Forbidden. at System.Net.HttpWebRequest.GetResponse() at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) 

The new endpoint was tested successfully locally. What is the possible reason why it's failing on a server?

rkd-apirkderror-403
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.

1 Answer

Upvote
Accepted
13k 32 12 18

Hi @jlai, The URL endpoint is valid and I can successfully get data from it. From the exception it looks like that there is a certificate issue with the machine you are trying to run it. Is the OS on the machine current with all the security and OS updates applied.

Try navigating to the https://api.rkd.refinitiv.com in the browser and see if that works. Eventually you have to get your server machine to recognize the certificate associated with https://api.rkd.refinitiv.com.

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.

Click below to post an Idea Post Idea