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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
646 6 13 25

Backend error. 400 Bad Request

2019-03-18 16:42:00,165 -- pyeikon -- DEBUG -- Request:{'Entity': {'E': 'DataGrid', 'W': {'instruments': ['0#SFC:'], 'fields': [{'name': 'RECORDTYPE'}]}}, 'ID': '123'} 

2019-03-18 16:42:18,681 -- pyeikon -- DEBUG -- HTTP Response code: 200 

2019-03-18 16:42:18,681 -- pyeikon -- DEBUG -- HTTP Response: {"ErrorCode":400,"ErrorMessage":"Backend error. 400 Bad Request"} 

2019-03-18 16:42:18,681 -- pyeikon -- ERROR -- Backend error. 400 Bad Request 

2019-03-18 16:42:18,698 -- pyeikon -- DEBUG -- Request:{'Entity': {'E': 'DataGrid', 'W': {'instruments': ['0#SFC:'], 'fields': [{'name': 'RECORDTYPE'}]}}, 'ID': '123'} 

2019-03-18 16:42:20,173 -- pyeikon -- DEBUG -- HTTP Response code: 200 

2019-03-18 16:42:20,173 -- pyeikon -- DEBUG -- HTTP Response: {"columnHeadersCount":1,"data":[["/.FTXIN9",118],["/SFCH9",114],["/SFCJ9",114],["/SFCK9",114],["/SFCM9",114],["/SFCU9",114],["/SFCZ9",114],["/SFCH0",114]],"headerOrientation":"horizontal","headers":[[{"displayName":"Instrument"},{"displayName":"RECORDTYPE","field":"RECORDTYPE"}]],"rowHeadersCount":1,"totalColumnsCount":2,"totalRowsCount":9} 

Is the common reason for Error 400? This was a very first request today, so it's not about any limit.

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.

1 Answer

Upvotes
Accepted
4.6k 26 7 22

@igorg when the platform receives too many requests (like at US market open, for example), it will start rejecting yours selectively with the 400 status.

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