You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Surprisingly, when I use the same json file renamed as "credentials.json" in basic example provided by ghseets, I dont see any issue.
if not creds or not creds.valid:
if creds and creds.expired and creds.refresh_token:
creds.refresh(Request())
else:
flow = InstalledAppFlow.from_client_secrets_file(
"credentials.json", SCOPES
)
Hi, I am getting a Refresh error exception when I try to execute the authorize() method.
I am passing the "client_secret.json" file as a parameter :
gc = pygsheets.authorize(client_secret="client_secret.json")
Surprisingly, when I use the same json file renamed as "credentials.json" in basic example provided by ghseets, I dont see any issue.
My json file is in this format :
Can you please help to understand what am I missing?
Is there a possibility that the json file format from google has changed?
The text was updated successfully, but these errors were encountered: