Upgrade from Eikon -> Workspace. Learn about programming differences.

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
18 3 5 5

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-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
icon clock
10 |1500

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

Upvotes
Accepted
39.4k 77 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 512.0 KiB each and 1.0 MiB total.

Upvotes
18.2k 21 13 21

Hi @jonabl

Please share your API call.

icon clock
10 |1500

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

Hi @jonabl

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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