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.