Getting Error: account not found

I was able to use the python “alpaca_trade_api” package and also straight “requests”
to use API to interact with Alpaca couple of months ago.

I did not use it since then, and today when I tried, it did not connect.
I tried to get a new API (several times), and try to connect, but I get
“alpaca_trade_api.rest.APIError: account not found for”

How can this be fixed?
Do the API expire?

It appears to be working now on the paper account

Hi,
you have different api keys for live and paper accounts.
I assume that you experienced that.

do those keys expire?
I used the same keys and base account (the paper account) I use a while ago.
and it did not work.
I created new API keys for both and now it works…

Now I have a different issue :slight_smile: