Access Key Reset Every Hour

Have anyone got this problem when using Colab to connect with Alpaca?

It has run for about an hour then stop and show this error

alpaca_trade_api.rest.APIError: access key verification failed (Code = 40110000)

1 Like

I get this same error all the time. I have my code scanning a stock per second, however it seems that it regularly asks for a new key every hour. The weirdest part is that if you rerun with the same API key it will work!!! Try it again with the same API key and see if the error persists?

I get the same error when connecting through the Python API:
access key verification failed (Code = 40110000)
so I suspect it is a generic error.

Maybe Alpaca can comment?

/Steven

Just a followup question to this - do you only see this with paper trading or do you also see it with a live trading account?

I only have paper trading currently, hence the curiosity.

/Steven