I'm attaching a screenshot but also here's the full details of the issue as well:
We're using the DSWS REST API. While trying to troubleshoot in case it was some of our code causing the issue, we tried multiple alternatives.
We tried the Python package https://github.com/datastreamapi/DatastreamPy as mentioned on https://developers.lseg.com/en/api-catalog/eikon/datastream-web-service, without any luck, resulting in the same error.
We also tried pure manual HTTPS requests to the same REST API specifically
1. Get auth token: https://product.datastream.com/DSWSClient/V1/DSService.svc/rest/Token?username=...&password=...
2. Get data using the above auth token https://product.datastream.com/DSWSClient/V1/DSService.svc/rest/Data?token=...&instrument=VOD&datatypes=PL%2cPH&datekind=TimeSeries&start=-30D&end=-25D&freq=D
The (1) auth token is returned successfully (HTTP code 200), but (2) fails to return the data and instead returns HTTP code 401 with the following response:
{
"Code": "InvalidCredentials",
"Message": "User ZEID052 access temporarily suspended. Access suspended whilst investigating end user . Please contact your LSEG representative",
"SubCode": null
}
and some headers of a sample problematic reponse:
X-Ds-Server: DSWP12
Date: Fri, 26 Jul 2024 16:44:46 GMT-18m 3s
X-DS-VIP: DS_Web_Prod_EXT-443
X-DS-TimeTaken: 3 ms
X-DS-URID: 1722012287719287366120319