question

Upvotes
Accepted
3 0 1 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 512.0 KiB each and 1.0 MiB total.

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question. Thanks, AHS

@jlai

Hi,

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvote
Accepted
22k 58 14 21

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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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