1,683 questions
1
vote
0
answers
138
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
54
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
115
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
2
answers
88
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
0
answers
129
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 ...
2
votes
1
answer
192
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
30
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/...
1
vote
1
answer
111
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 ...
0
votes
0
answers
211
views
Issue with redirect URI mismatch for Google OAuth 2.0
I am creating a Python script to generate a token from the user and store the generated token. While testing locally, everything worked fine when I used http://localhost:8000/ as the redirect URI in ...
0
votes
1
answer
69
views
Deleting Personal Emails from Gmail Efficiently
My Gmail reached the 15 GB limit, so I archived old emails with Thunderbird and I want to delete all the emails that are older than two weeks. Using the GUI is cumbersome because it seems like I can ...
0
votes
1
answer
90
views
Google Play Developer API create user always returns error code 500
I'm trying to create some automation to add users to a Google Play Developer account using the API. I wrote a python script using the google-api-python-client library. The service account I'm using ...
2
votes
1
answer
193
views
Google DV360 Reporting - Error while fetching performance metrics
I am trying to extract and download reports from DV360 API using python. I have gone through the documentation https://developers.google.com/bid-manager/guides/get-started/send-request ,but not able ...
1
vote
1
answer
113
views
Getting Google site reviews with Python
I need to be able to get Google site reviews by their API do put them in our data warehouse.
I tried with the following code:
from googleapiclient.discovery import build
API_KEY = '...
3
votes
1
answer
6k
views
Parse Table data from a public google doc using Python
I have a URL to a public google doc which is published (It says published using Google Docs at the top). It has a URL in the form of
https://docs.google.com/document/d/e/<Some long random string, I ...
1
vote
1
answer
68
views
How to search specific columns and return specific values in python using Google spreadsheet?
I’m having trouble getting this to work. Essentially I want a user to input a keyword and then get a question and answer pair as a return. The first, second, and third columns in the the spreadsheet ...
1
vote
0
answers
79
views
Google service python API fails: is it a bad parameter (400) or a failed authentication (401)?
I'm working with the mybusinessbusinessinformation API, attempting to get a list of locations.
The documentation for this API is here.
I have already taken the following steps:
Filled out the form ...
0
votes
1
answer
351
views
Google pubsub SubscriberClient AttributeError: 'generator' object has no attribute 'add_done_callback'
I'm working on a project and must consume some messages from my GCP Pubsub subscription. Locally I can consume messages normally.
But when I release the changes to a container in the cloud (something ...
2
votes
1
answer
488
views
Google Drive API Get file metedata
Does anyone know how to use the GoggleDrive API to get files that are in the Shared Drives category.
I have a API call that I can use to get metadata via FileID which
works for files that are shared ...
0
votes
0
answers
93
views
Google Authentication with Python to Google Cloud resources
I am developing an application with Python which consumes resources from Google Cloud. I would like to automate the authentication process (right now what I have is the authentication via an API Key ...
1
vote
1
answer
130
views
How to fix error in get doc from Google API?
from google.oauth2.service_account import Credentials
from googleapiclient.discovery import build
import random
import msvcrt
import json
credentials_doc = 'service_account.json'
...
0
votes
1
answer
113
views
MWAA: Timeout on googleapiclient Connection
We are experiencing timeout issue when connecting to Google Sheets, specifically using googleapiclient. The code has been working, but after some new deployment, we start getting this error. Even we ...
1
vote
1
answer
201
views
Getting FolderID and folder name inside a particular folder in Google Drive
I am using Colab in Python to get the folder ID and folder name inside a particular folder called myProject from Google Drive.
Folder structure is like this:
Google Drive (When I open drive.google.com ...
1
vote
1
answer
233
views
Why Does Google API Not Connect and Times Out
I am trying to use the API Key and it does take the picture on the Raspi but then gets stuck trying to send it to the Drive and I am unsure why.
Note: I took out the key and ID for privacy but I do ...
0
votes
1
answer
83
views
Created Event Not Visible in Google Calendar Google Api Client Python
i am using service account auth2client.service_account and googleapiclient to connect to google calendars and create events, my issue is my events are creating and also confirmed using list events, ...
2
votes
2
answers
8k
views
ModuleNotFoundError: No module named 'google' with Python
I have a very simply program that I copied from Google's workspaces, the import statements are as follows
import os.path
from google.auth.transport.requests import Request
from google.oauth2....