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)


Best Answer

  • WestWinter
    WestWinter Newcomer
    Answer ✓

    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.

Answers

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.