question

Upvotes
Accepted
1 0 0 0

Token Request : Unexpected error

Hi, I am getting the titled error, which I have seen mentioned by other people but the general response seems to be check with your administrator. Having contacted Refinitiv I received the following response, "I have reached out to the relevant team to help us check on your Datastream DSWS credentials. It is also confirmed that you are entitled to DSWSAPID." so I would assume I do have the right access levels. Could you please advise in how to resolve this issue?

datastream-apidsws-apitoken
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
681 2 2 1

Hi, have you spoken with your network team and had the website added to your white list?

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
39.2k 75 11 27

@craig.s
Access to DSWS requires its own set of credentials separate from your Eikon account credentials. Could you confirm you're passing your Datastream credentials (Datastream Child ID and password) as opposed to your Eikon account credentials?

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.

"your Datastream DSWS credentials", is quoted from the email provided by Refinitiv so I can only assume it is indeed DSWS credentials and not Eikon. The username also begins with Z, which I believe is correct based on the getting started documentation I have read.

Right. Thanks for confirming.
@Monika.Stankovic, other than the credentials what else could be the problem here?

To add further detail, when I got home I used Python through my personal laptop and was able to download all of the .py files from Github properly (it is blocked by my works firewall) as I was trying a work around when in the office. Good news is it worked without any issues. Given as such is there a way to download/receive the files that are posted on Github in another way? I can't email them to myself as my work account blocks that and I can't log into my personal emails at work as that is blocked also!

Show more comments
Upvotes
39.2k 75 11 27

@craig.s
Are you able to install packages from https://pypi.org using PIP? The best way to install DatastreamDSWS package is using

pip install DatastreamDSWS
When you use "pip install" command all the dependencies will be downloaded and installed automatically.
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.

Thanks, but I have already done so and still having problems. I'm pretty sure it is going to come down to some sort of security that has been put in place at my working place given the fact that it worked at home. If someone from Refinitiv can help me identify what is going wrong that would be most helpful.

Click below to post an Idea Post Idea