For a deeper look into our Eikon Data API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials | Articles
I am trying to get the Eikon DATA API samples up and running and am coming across this error. It is working fine in Codebook but has all of a sudden stopped working in my personal environment.
Can you please look into what could be causing this?
Intento esto:
sedols = ['B1YW440', '0673123', 'B02J639', 'B1XZS82']
ek.get_symbology(sedols, to_symbol_type="ISIN")
Aquí el error:
EikonError Traceback (most recent call last)
<ipython-input-4-6308c7c1b287> in <module>
----> 1 ek.get_symbology(sedols, to_symbol_type="ISIN")
C:\ProgramData\Anaconda3\lib\site-packages\eikon\symbology.py in get_symbology(symbol, from_symbol_type, to_symbol_type, raw_output, debug, bestMatch)
111
112 payload = { 'symbols': symbol, 'from': from_symbol_type, 'to': to_symbol_type, 'bestMatchOnly': bestMatch}
--> 113 result = eikon.json_requests.send_json_request(Symbology_UDF_endpoint, payload, debug=debug)
114
115 if raw_output:
C:\ProgramData\Anaconda3\lib\site-packages\eikon\json_requests.py in send_json_request(entity, payload, debug)
128return result
129 else:
--> 130_raise_for_status(response)
131
132 except requests_async.exceptions.ConnectionError as connectionError:
C:\ProgramData\Anaconda3\lib\site-packages\eikon\json_requests.py in _raise_for_status(response)
251 if error_msg:
252 logger.error('Error code {} | {}'.format(response.status_code, error_msg))
--> 253 raise EikonError(response.status_code, error_msg)
EikonError: Error code 404 | Client Error: 404 page not found
Can you confirm which version of the EIkon Data API library you are using?
- import eikon as ek
- print(ek.__version__)
A new v1.1.6.post2 was made available yesterday on PyPI to address some issues. If you are using an older version please install the latest.
- pip install eikon
Please check the version again after running the above pip install command to ensure it has been applied to the correct environment.
FYI: Simone has confirmed that customer has upgraded to 1.1.6 but no solution
Hello @simone.da.costa,
Like to advise you of this parallel discussion thread and the solution that was found helpful.
Hoping that this can help you.
Thanks, but unfortunately the issue persist:
Successfully installed eikon-1.1.6.post2 httpcore-0.10.2 httpx-0.14.3 sniffio-1.1.0
Error: 2020-09-14 15:59:29,799 P[17664] [MainThread 25008] Error code 404 | Client Error: 404 page not found