question

Upvotes
Accepted
31 6 3 6

DSWS login not working

Hi,

I am unable to login to Datastream Web Service.

According to the account team, I should have access. They told me to use my Child Logon ID and gave me a new password, which is giving the following error message:

'{"Code":"InvalidCredentials","Message":"User \'[myUsername]\' not entitled to ClientApi service.","SubCode":null}'

Here is the code I am running in python.

CODE:

import requests
token_url = 'http://product.datastream.com/DSWSClient/V1/DSService.svc/rest/Token?' \
'username={0}&password={1}'.format([myUsername], [myPassword])
token_raw = requests.get(token_url) print(token_raw.text)

The client account team said that I should troubleshoot the issue here. Any thoughts on how to solve this?

Thanks!

datastream-apidsws-apilog-in
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.

1 Answer

Upvotes
Accepted
681 2 2 1

Hi, this should be raised with the helpdesk, so we can look into your credentials and ensure you can have access to this product.

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.