Error code 400 | Backend error. 400 Bad Request for 0#SPXW*.U

Logging a client error which was reported, but which I am also able to replicate internally; Normally Error code 400 is associated with the server timing out,, but this consistently seems to be happening anytime I bring in an options RIC - ;examples...

0#SPXW*.U

0#SPY*.U

0#TSLA*.U


If I bring in any other chain RIC; like 0#.SPX it works fine, but the options chain universe RICs seem to time out. Any thoughts/ideas? Is this a known issue?


ek.get_data('0#SPXW*.U ', 'DSPLY_NAME')

image


Best Answer

  • wasin.w
    wasin.w admin
    Answer ✓

    The Eikon support team has investigate this issue. The team is working on the fix of this issue.

    The root cause is following:

    The chain RIC's on the request contains 10k+ RICs  and if we request single items with DSPLY_NAME it's over 10k RICs.For me it looks that the number of RIC codes we are requesting is too large reason we are getting that error message.I suspect that the issue may be due to the amount of data that we are trying to retrieve.This is indeed backend timeout issue. The reason why it's reproduced with options chains and not with index chains is likely that the options chains mentioned are longer. 


Answers