Hello, could you please help me to bypass the following error?
EikonError: Error code 401 | Client Error: Unauthorized - Eikon API Proxy requires authentication.
Output:
runfile('C:/Anaconda3/Lib/site-packages/eikon/test.py', wdir='C:/Anaconda3/Lib/site-packages/eikon')
Error code 401 | Client Error: Unauthorized - Eikon API Proxy requires authentication.
Traceback (most recent call last):
File "<ipython-input-13-af335af83c7d>", line 1, in <module>
runfile('C:/Anaconda3/Lib/site-packages/eikon/test.py', wdir='C:/Anaconda3/Lib/site-packages/eikon')
File "C:\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 704, in runfile
execfile(filename, namespace)
File "C:\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 108, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "C:/Anaconda3/Lib/site-packages/eikon/test.py", line 10, in <module>
ek.get_news_headlines('R:LHAG.DE', date_from='2017-04-05T09:00:00', date_to='2017-04-05T18:00:00')
File "C:\Anaconda3\lib\site-packages\eikon\news_request.py", line 120, in get_news_headlines
result = eikon.json_requests.send_json_request(News_Headlines_UDF_endpoint, payload, debug=debug)
File "C:\Anaconda3\lib\site-packages\eikon\json_requests.py", line 100, in send_json_request
raise_for_status(response)
File "C:\Anaconda3\lib\site-packages\eikon\json_requests.py", line 191, in raise_for_status
raise EikonError(response.status_code, error_msg)
EikonError: Error code 401 | Client Error: Unauthorized - Eikon API Proxy requires authentication.