I have a gspread Python script which has been working perfectly for 6 months. Now suddenly I'm receiving an error when trying to authorize my service account credentials.
Here is the error:
raise HttpAccessTokenRefreshError(error_msg, status=resp.status)
oauth2client.client.HttpAccessTokenRefreshError: internal_failure
Here is my auth code:
scope = ['http://spreadsheets.google.com/feeds',
'https://spreadsheets.google.com/feeds']
credentials = ServiceAccountCredentials.from_json_keyfile_name("assets/My Project-0101001.json", scope)
google_client = gspread.authorize(credentials)
I have tried creating new service accounts and even using an entirely different google account to generate a new refresh token, but nothing is working for me. This is fairly annoying as the script was working with no issues for months, now suddenly it decides to fail. Can anyone help?
Unauthorized
Error 401
` – R001W Nov 23 '16 at 00:36