Hello
I get my token
curl --location --request GET 'https://product.datastream.com/DSWSClient/V1/DSService.svc/rest/Token?username=ZHTXXX&password=XXXXXX';
Rhis gives me a token.
But when I do a getData request
Here is my call
curl --location --request GET 'https://product.datastream.com/DSWSClient/V1/DSService.svc/rest/Data?token=fMSwrVbhK3sPtofO0a5fIY4mQAO9XUu22EqXE7gEMIDj1cP3zi2G4s6wUUQSkX8MySi+OQAHBQYTN91uob0zGL559Dw9uTwjS1p1qYSa2FpCAYPuPL7VSJkyiOCZRHmzYOQuaVBH4y5kl8lUbaRDqTQKvzxb/9wdC9ZL112zz9bar1fjeu+UU82jiauZocQh6Mmy7KZmFFWlaiMT9IUA13tSR4JK6dwT3MliJ6xl7Bg=5894E718FFxxxx&instrument=VOD&datatypes=PL,PH&datekind=TimeSeries&start=-30D&end=-20D&freq=D'
I always have this error
{
"Code": "InvalidToken", "Message": "Failed to decode token. Invalid length for a Base-64 char array or string. (Token: fMSwrVbhK3sPtofO0a5fIY4mQAO9XUu22EqXE7gEMIDj1cP3zi2G4s6wUUQSkX8MySi OQAHBQYTN91uob0zGL559Dw9uTwjS1p1qYSa2FpCAYPuPL7VSJkyiOCZRHmzYOQuaVBH4y5kl8lUbaRDqTQKvzxb/9wdC9ZL112zz9bar1fjeu UU82jiauZocQh6Mmy7KZmFFWlaiMT9IUA13tSR4JK6dwT3MliJ6xl7Bg=5894E718xxxxx)", "SubCode": null}
In the 'documentation' there is nothing written on additional headers
Please help