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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 1 0

Error code 503 | Server Error: API Proxy is not available

hi, i was using the eikon python api to get some data. since a couple of days now this is not functioning. i am getting an error message: Error code 503 | Server Error: API Proxy is not available

eikoneikon-data-apipythonworkspaceworkspace-data-apirefinitiv-dataplatform-eikonapierror-503
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
18k 21 12 20

Hi @Paco Sebastian.Sunico

Please ask client to restart their PC + Eikon Desktop.

Please also refer them to https://developers.refinitiv.com/article/eikon-data-apipython-troubleshooting-refinitiv

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

Are you using CodeBook ? I think it maybe due to extended idle time.

Please try to restart CodeBook instance.

File > Hub Control Panel > Stop My Server and then close the CodeBook app.

Then try to re-launch the CodeBook app again.




ahs1.png (41.7 KiB)
ahs2.png (14.9 KiB)
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
1 0 1 0

Hi, thank you for your reply. This is what I got from my client.


No i am not using notebook.

I am running python scripts on my local PC. The moment it starts executing I am getting this error message




For reference, this is the full script I am using:


ek.set_app_key('xxxxxx')

begin= pd.Timestamp('2020-07-10', tz='CET')


#gets ts using eikon api

def get_eikon(name, freq, begin):

try:

df = ek.get_timeseries([name],

start_date= begin.strftime('%Y-%m-%d '),

interval=freq)

df= df[df['COUNT']!=-1]

except:

print('get_eikon: '+name+' could not be found')

df= pd.DataFrame()

return df.tz_localize('UTC').tz_convert('CET')


get_eikon('TFMBQM1', 'hour', begin)




This has been functioning smoothly for months now until a few days ago.. did something change from your side?



BR

Panos

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
1 0 1 0

@chavalit.jintamalit Thanks for your help, as per the client, that resolved the issue.

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.