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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
18 2 3 4

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

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
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
39.2k 75 11 27

@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.

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
18k 21 12 20

Hi @jonabl

Please share your API call.

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.

Hi @jonabl

Could you please your API call statement as requested by chavalit above?

Click below to post an Idea Post Idea