Error code 40110000

I am trying to connect the api to alpacas, but keep getting this error no matter how many times I regenerate a key to paper trading key. I have added print commands and it is using the correct keys I am using the argument api_version=‘v2’ as well. Any help is appreciated

error: access key verification failed : request is unauthorized (generate APCA-API-KEY-ID and APCA-API-ACCESS-SECRET-KEY from dashboard and include in HTTP header) (Code = 40110000)

Sorry I figured it out. it generates a new set of keys and secrets I just didn’t see the change in the key.