Connection problem error code 400

File "/usr/local/lib/python3.5/dist-packages/eikon/data_grid.py", line 164, in get_data

result = eikon.json_requests.send_json_request(DataGrid_UDF_endpoint, payload, debug=debug)

File "/usr/local/lib/python3.5/dist-packages/eikon/json_requests.py", line 96, in send_json_request

check_server_error(result)

File "/usr/local/lib/python3.5/dist-packages/eikon/json_requests.py", line 144, in check_server_error

raise EikonError(server_response['ErrorCode'], error_message)

eikon.eikonError.EikonError: Error code 400 | Backend error. 400 Bad Request

Best Answer

  • @jonabl
    This is a generic error, which can occur for a number of different reasons. Without knowing details such as the call that returned this error, the version of Eikon Data APIs library etc. it's impossible to determine the root cause of why the error was returned. One recommendation is to make sure you use the latest version of Eikon Data APIs library. Version 1.0.1 of Eikon Data APIs library introduced a fix that greatly reduced the occurrence of this error due to timeouts from the backend.

Answers