question

Upvotes
Accepted
301 13 33 38

Datastream token seems to be rejected

I’m able to log in to Datastream Web Service successfully, but I am not able to retrieve any data. My Token seems to be rejected. Why is my Token not accepted ?

datastream-apidsws-apitoken
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.

Upvotes
Accepted
1.1k 3 3 3

@Rupert Schilling

Please check two things:

  • Make sure that a Token has not been expired when being sent to the Datastream Web Service (DSWS) endpoint to retrieve data. A Token expires 24 hours after being issued.

  • If HTTP GET method is used, special characters like “+”, “=”, “/”, “&”, etc. included in a Token needs to be URL encoded to HEX codes such as “%2B”, “%3D”, etc.

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.

Upvotes
446 2 2 2

@Rupert Schilling Tokens have a life of 24 hours, so you may need to request a new one

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.

Ah, ok, thank you

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.