question

Upvotes
Accepted
1 0 0 1

I am trying to use the Datastream API in R (using the R package DatastreamDSWS2R), but it is giving me a 403 error.

GAURAV.PNGI am trying to use the Datastream API in R (using the R package DatastreamDSWS2R), but it is giving me a 403 error. Below is the full text of the error message. Please could you help?

Error in .self$.requestToken() :
Error requesting access Token. HTTP message was: Client error : Forbidden : Client error: (403) Forbidden

datastream-apidsws-apirerror-403
gaurav.png (54.6 KiB)
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
38.1k 69 35 53

@Hamilton.Nactor

I got the same error when using an invalid DSWS account.

1629278310099.png

A DSWS user account (Datastream Child ID and password) is required to run the code successfully. The username format is four letters and three numbers (ZABC123).

You may check your DSWS account via the http://product.datastream.com/DswsClient/Docs/TestRestV1.aspx with the Get Token service method.

1629278442920.png



1629278310099.png (7.0 KiB)
1629278442920.png (23.2 KiB)
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
20.3k 73 10 20

Hi @Hamilton.Nactor

Do the same credentials work with Python or C#?

I have seen the 403 error with RDP where a licence has expired or the credential does not have the appropriate licence required to access particular content sets.

DataStream Tutorials | Refinitiv Developers

DataStream Quickstart | Refinitiv Developers

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