question

Upvotes
Accepted
23 0 0 3

Received this error when trying to run any requests on DatastreamDSWS2R

I have been getting this error when trying to run any timeseriesrequest or snapshotrequest. Tried it on some simple securities since yesterday but has not been working. Please help

Error requesting json...
Error: Forbidden


GenericCurlError:
Forbidden

ForbiddenHTTPErrorsimpleErrorerrorcondition
Error in rjson::fromJSON(json_str = myDataResponse) : 
  STRING_ELT() can only be applied to a 'character vector', not a 'list'
datastream-apidsws-apir
icon clock
10 |1500

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

FYI, I have been running these for weeks with success... So I don't think it is my code's problem.

Hello @WestWinter

Could you please share your code and logging result that requested by @jirapongse.phuriphanvichai?

1 Answer

Upvotes
Accepted
38.1k 71 35 53

@WestWinter

I can run it properly.

Could you please share the code that you are using? Moreover, you can also add the following line to enable logging.

mydsws$logging <- 5
icon clock
10 |1500

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

Click below to post an Idea Post Idea