1,682 questions
0
votes
1
answer
54
views
How do I call domainAliases.list with the discovery API?
Looking at the docs this is the only perm I should need to grant my service account: https://www.googleapis.com/auth/admin.directory.domain.readonly
The service account I'm using has domain ...
1
vote
0
answers
147
views
Google Docs API - 403 - googleapiclient.errors.HttpError: 403
Problem:
I am facing this error-
googleapiclient.errors.HttpError: <HttpError 403 when requesting https://docs.googleapis.com/v1/documents?alt=json returned "The caller does not have ...
0
votes
1
answer
61
views
403 Forbidden Error when updating caption track via captions.update
I’m using the Python client library (google-api-python-client) to call captions.update, but I keep getting a 403 forbidden even though I’ve granted all the obvious scopes. I’d appreciate any insight ...
0
votes
0
answers
145
views
Google gmail api not working when using pyinstaller
So I am making this spam email filter in python so I tested it in vscode and it works as intended but when I use pyinstaller to package it it give me the error:
"Error accessing Gmail: ('...
0
votes
0
answers
134
views
Google OAuth2 Refresh Token Expires Quickly Despite “offline” Access (Unverified Published App)
Problem:
Even after requesting “offline” access and saving the refresh token, the refresh token stops working after 1 day or sometimes just a few hours.
Actual error: Reauthentication is needed. ...
0
votes
1
answer
44
views
Remove resource from event where caller is not the organizer using Google Calendar API?
I'm trying to remove resources (conference rooms) that have declined events. It works as expected for events where the caller is the event organizer, but not if another person is the organizer. The ...
0
votes
2
answers
95
views
Can't create a monthly recurring google calendar event with python
I am using a python script to import calendar entries from one tool to google calendar. I have no problems with events that repeat weekly, but the monthly repeating events get created incorrectly.
I ...
0
votes
2
answers
174
views
Correct way to use GKE Connect Gateway client?
I'm trying to use the Connect Gateway client in python to connect to GKE but I keep getting 400, even if everything seemingly is correct.
Example
from google.cloud.gkeconnect import gateway_v1
client ...
0
votes
0
answers
140
views
Problem authenticating users' youtube brand accounts
An issue appeared today on my app where when users try to link their youtube brand accounts through the google oauth flow, they get stuck after agreeing to the terms and conditions. They are not ...
1
vote
0
answers
197
views
Unable to Query Google Calendar API due to Authentication Issues; Error 400 and 403: "Method does not allow unregistered callers"
I'm trying to integrate Google Calendar API in my python script, but I keep getting authentication errors, and I'm not sure why.
Errors:
(running the python script in the terminal):
An error occurred: ...
2
votes
1
answer
197
views
google-api-python-client random timeout error
I have project that involves taking a picture every one hour with a Raspberry and saving it to Google Drive. I'm using the google-api-python-client to connect to a Google Drive and apscheduler to ...
0
votes
0
answers
65
views
Vertex AI Feature Store - Unable to Fetch Historical Feature Values
I'm trying to retrieve historical feature values from Vertex AI Feature Store following the documentation. I'm running the example notebook from vertex-ai-samples. Everything works fine until running:
...
0
votes
0
answers
35
views
Occasional "Invalid email or password" with Firebase auth in pyrebase4
I am using Firebase's Firestore and have built a backend API server using FastAPI. I am also using Firebase's login feature with the Pyrebase4 library (referenced from: https://github.com/nhorvath/...
0
votes
0
answers
52
views
Google API for Monetization Issue when accessing Youtube Revenue data for channel
I have the ClientId and SecretKey json file and trying to get the estimatedRevenue for the youtube channel.
I have this scope defined
SCOPES = ["https://www.googleapis.com/auth/yt-analytics-...
1
vote
1
answer
114
views
Google Sheets API - Create empty sheet - Slow performance
Using the Python example taken directly from the "Google Sheets API documentation > Create a spreadsheet" and changing only the credentials, I am experiencing poor performance. It's ...