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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
23 0 0 2

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-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.

1 Answer

Upvotes
Accepted
4.1k 4 6 11

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea