Error code 1503 eikon API

Frequently getting this error when using the eikon API.

Error code 1503 | Backend request failed. Post http:/Apps/DataGrid/StandardAsync: dial tcp: lookup views.cp.stc.reuint.com on 155.46.33.14:53: dial udp 155.46.33.14:53: socket: too many open files

Does anyone know what it means?

Best Answer

  • acathcart
    Answer ✓

    We are still getting random errors when we are confident we have not hit API limits. It seems like there is a soft limit which gets hit on too many refreshes. Situation is resolved after waiting a few hours or until the next day. Not ideal.

Answers

  • Here is an example line:

    Drawdown,err = ek.get_data(list(AP_List['TR Code'].dropna().unique()), fields = ['TR.FundMaxDrawDown3Year'])

  • Drawdown,err = ek.get_data(list(AP_List['TR Code'].dropna().unique()), fields = ['TR.FundMaxDrawDown3Year'])

  • Hi @acathcart

    I tested the field and it works fine.

    Please share your AP_List variable.

    image

  • Hi - it is a large ticker list - see below for a sample (680 in total). The issue is that sometimes the API call works and sometimes it doesnt. When it doesnt it often produces the 1503 error code, so I was wondering what that code represented (it isn't in the list of data limit error codes).

    ['LP65109111', 'LP63511197', 'LP65001064', 'LP65001063',

    'LP68488713', 'LP65146616', 'LP65020782', 'LP68497247',

    'LP65062183', 'LP65126498', 'LP68279846', 'LP65002334',

    'LP65002331', 'LP65002332', 'LP65002335', 'LP63512572',

    'LP65002237', 'LP63512054', 'LP65038717', 'LP63512060',

    'LP63512065', 'LP65144469', 'LP65146637', 'LP68056398',

    'LP68516239', 'LP68469907', 'LP65001164', 'LP68469906',

    'LP65001165', 'LP65021415', 'LP68041555', 'LP68567942',

    'LP68141897', 'LP68328506', 'LP68033272', 'LP68033273',

    'LP68469871', 'LP68061876', 'LP68257447', 'LP68350746']

  • Hi @acathcart

    I just tested these 40 instruments several times and it always works.

    I would advise that you split the universe into multiple API call, for example 150 instruments per API call.

    This should reduce the chance that it would fail.image

    For the error 1503 with a large input instruments, you can submit a ticket to Refinitiv Helpdesk and ask the helpdesk to transfer the case to "Technical Support Group"

    The Refinitiv Helpdesk can be reached using Contact Us capability in your Eikon application.
    Or by calling the Helpdesk number in your country.
    Or at https://my.refinitiv.com/