Getting forbidden error

I am trying to connect the new python api and I keep getting the forbidden error. I have been codng using the old python libraries and I realize that I can benefit from the new python libraries.

I have tried to reset my secret key many times but still the issue persist.

File “/qtbots/venv/lib/python3.8/site-packages/alpaca/common/”, line 206, in _one_request
raise APIError(error, http_error)
alpaca.common.exceptions.APIError: {“message”: “forbidden.”}

I tried to also add , paper=True but still the same error.

trading_client = TradingClient(‘apikey’, ‘secretkey’, paper=True)

File “/Users/amolc/2020/qtbots/venv/lib/python3.8/site-packages/requests/”, line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url:

During handling of the above exception, another exception occurred: