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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 0 0 0

EikonError: Error code -1 | Server returns error. Please try again |

Getting this error:

EikonError: Error code -1 | Server returns error. Please try again |

When pulling data via python using get_timeseries()

Any known issues on the backend?

What are possible solution the user can implement to overcome the error?

What dies the error code mean?

Thanks

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.

Hello @JPO,

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

If yes, please click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

-AHS

1 Answer

Upvotes
Accepted
6.7k 8 6 7

@JPO So yes this is backend error message which could be generated by a number of scenarios - when using the get_timeseries service its best to code defensively such as trapping errors and representing the api call if it fails for example. ie a try-except block.

We have a newer historical pricing service using our Refintiv Data Platform libraries - here is an example of how you could use it. Firstly, pip install refinitiv.dataplatform library.

import refinitiv.dataplatform as rdp
rdp.open_desktop_session('Your App Key Here')

rdp.get_historical_price_summaries('VOD.L',rdp.Intervals.ONE_MINUTE, count=10000)

This newer service has an expanded datamodel compared to the very limited get_timeseries OHLCVC datamodel. This new service cannot deliver economic indicators at present but does for nearly all instruments. So please give this a go - it is definitely better and more solid service in my opinion. There are some differences as well such as adjusted prices are default with the RDP service but you can change that using parameters in the API call. Please look at the API Playground for further details searching for historical pricing or open up the codebook app (type codebook into eikon search bar) and look at examples where there are many historical pricing python examples.

I hope this can help.


1616494775065.png (159.1 KiB)
1616495480032.png (499.4 KiB)
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