Client error doctype

I have been using API for quite some time, and never gotten this error. Now I get this. How to troubleshoot this? Thanks

2024-02-05 11:09:36,223 P[6956] [MainThread 7328] Error code 404 | Client Error: <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>Error</title></head><body><pre>Cannot POST /api/v1/data</pre></body></html>


2024-02-05 11:09:36,250 P[6956] [MainThread 7328] HTTP request failed: EikonError-Client Error: <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>Error</title></head><body><pre>Cannot POST /api/v1/data</pre></body></html>


I got this error after running this request to check api status:

data = ek.get_timeseries('AAPL.O', # the RIC for Apple, Inc.

fields='*', # all fields

start_date='2017-01-01', # start

end_date='2017-12-31') # end datedate

Best Answer