Upgrade from Eikon -> Workspace. Learn about programming differences.

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
23 1 2 3

Error code 403 | Client Error:

Hi,

I have been using the Eikon Data Api, but today I am getting this error, which I am not being able to solve:

command : data = ek.get_timeseries(rics,start_date = '2010-01-01', end_date = '2020-02-16', fields = 'Close')

error:

    179     ts_result = eikon.json_requests.send_json_request(TimeSeries_UDF_endpoint, payload, debug=debug)
    180 
~\anaconda3\lib\site-packages\eikon\json_requests.py in send_json_request(entity, payload, debug)
    128                 return result
    129             else:
--> 130                 _raise_for_status(response)
    131     132         except requests_async.exceptions.ConnectionError as connectionError:

~\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 403 | Client Error: <!DOCTYPE HTML> <html>


Regards,

Jagjit

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
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.

1 Answer

· Write an Answer
Upvotes
Accepted
4.1k 4 7 12

Hi @jagjit.singh
HTTP 403 meaning access to the requested resource is forbidden for some reason. For Refinitiv tools the most common causes are: no access for API feature, subscription has expired or account is not permissioned to access that particular data type.

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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.