Finnhub-API icon indicating copy to clipboard operation
Finnhub-API copied to clipboard

Error "You don't have access to this resource." response code 401

Open kYem opened this issue 4 years ago • 7 comments

What is the issue ? Plz describe in details


https://finnhub.io/api/v1/stock/candle?symbol=0A02.L&resolution=D&from=1577836800&to=1613824343&token= Querying stock candle endpoint for specific symbol returns Unauthorized, 401 status code

Error message in json body saying:

{"error":"You don't have access to this resource."}

Initially I though my token was no longer valid or it was being passed incorrectly to the API.

Any kind of permissions related errors, should really return 403 Forbidden code, rather than 401, that indicates authentication issue.

kYem avatar Feb 20 '21 12:02 kYem

I am getting the same issue when trying to query TSX tickers. Were you able to solve it?

EDIT: I am getting Error 403 but am unsure why

jordm avatar Oct 25 '21 22:10 jordm

same error here! :(

OmarRuizM1 avatar Dec 16 '21 11:12 OmarRuizM1

Hi guys,

This error will show up if you currently don't have access to that data. If you are on a Free account, you can only access data for the US market. Other international markets will require a license.

finnhubio avatar Dec 16 '21 12:12 finnhubio

is this due to a free account ?

image

APU-Stark avatar Jul 03 '22 04:07 APU-Stark

GET https://finnhub.io/api/v1/qoute?symbol-MSFT&token=cd752uiad3i47lmpm16g 401

I'm try to query the data I got this error. I realy need your help

AnasShinkafi avatar Oct 18 '22 10:10 AnasShinkafi

This is very annoying. There should be at least 3 exchanges available for testing when developing apps.

tifaucz avatar Mar 03 '24 18:03 tifaucz

Same error here! I am just trying to query SPY and I get a 403...

@finnhubio any suggestions?

trav3711 avatar Jun 12 '24 18:06 trav3711