For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
23 0 0 3

Received invalid 'digits' argument when using EIKON API R to pull data

Was using the Eikon API R to run a loop to pull data for various securities. When I returned to my computer and RStudio, I received this error:

Error in print.default("HTTP Error, code= ", response$status_code, sep = "") : 
  invalid 'digits' argument

Was unsure what was the problem as it was abrupt. Here is the traceback:

Error in print.default("HTTP Error, code= ", response$status_code, sep = "") : 
  invalid 'digits' argument 
6.  print.default("HTTP Error, code= ", response$status_code, sep = "") 
5.  print("HTTP Error, code= ", response$status_code, sep = "") 
4.  send_json_request(DataGrid_UDF_endpoint, payload, debug = debug) 
3.  get_data(instruments = aSEDOL, fields = list("TR.RIC")) 
2.  check_valid_sedol(aSEDOL) 
1.  update_all(SEDOLused$SEDOL) 


eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonreikon-data-api-r
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.

Upvotes
Accepted
23 0 0 3

Hi all, I returned to my script the next day and ran it again and it worked. Maybe the servers were under maintenance or something.

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.

Upvotes
23k 22 9 14

Hello @WestWinter,

Please be informed that Eikon API R is not officially supported by Refinitiv.

Sometimes we can answer a question, and in this case we will do so.

For a suspected issue report, it's best to discuss with the creator of Eikon API R at https://github.com/ahmedmohamedali/eikonapir

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