How do I run a script using a different Oauth Token when using a python script for Gspread?

Viewed 59

I used a python script for GSpread a while back to move some things around on google sheets. I am trying to use it again with a new google account and started a new project with the new account and set up a new token. The problem is I keep getting this error as if its still trying to use the new token:

Exception has occurred: RefreshError ('deleted_client: The OAuth client was deleted.', {'error': 'deleted_client', 'error_description': 'The OAuth client was deleted.'})

How do I make it so my new token is recognized. In my code I am specifying the new token for the .Oauth() function as well but it seems to be ignoring that?

1 Answers
Related