Skip to content

Finnhub API Exception(status_code: 403) #553

Description

@MH-Jazz

I am using the following PYTHON Code to down load Microsoft Candles. However I keep getting the below error message. Can you please help.

---------------------------- PYTHON CODE --------------------------------------

import finnhub
import pandas as pd

finnhub_client = finnhub.Client(api_key="xxxxxxxxxxxxxxxxxxxxxxxxxx")
symbol = 'MSFT'
interval = 'D' # for daily stock candle values
start_date = 1609455600 # 2021-01-01
end_date = 1612047600 # 2021-01-31

response = finnhub_client.stock_candles('MSFT', 'D', start_date, end_date)

print(response)


I am using the correct api_key. I have also renewed this key, however also with the new key it does not work.
I get the following message: "FinnhubAPIException: FinnhubAPIException(status_code: 403): You don't have access to this resource."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions