Open jabber484 opened 3 years ago
I have the same issue
I had the same case, but now it work again.
P.S. Examples from https://finnhub.io/docs/api with request work well all time when this library return the error.
https://github.com/Finnhub-Stock-API/finnhub-python/blob/2c38c0c65264475ffea0de6913062202a969ade3/finnhub/client.py#L34 This line adds an additional forward slash to the URL (e.g., using ipo calendar it returns 'https://finnhub.io/api/v1//calendar/ipo').
At the time while I was getting 400 error, I tested both URLs with an additional forward slash and without. Using double forward slash returned 400 in request while using single slash worked (that's probably why API urls in docs worked when this library returned errors). Weird thing is that both URLs work now.
Hello,
I am experiencing 400 in all endpoint, but using standard request.get(), i am able to fetch data. Anyone experiencing the same thing?