19,894 questions
Best practices
0
votes
0
replies
30
views
Should I store android and iOS in app purchases together in the same collection/table?
My app uses mongoDB.
There will be in app purchases of consumable products.
Do I store those transactions in the same table/collection for both android and iOS platforms?
0
votes
0
answers
63
views
gRPC YouTube disconnecting with EOF after a few seconds
I'm building a desktop application (Go + gRPC) to analyze YouTube Live Chat in real time.
The REST endpoint liveChatMessages.list works, but I want to switch to liveChatMessages.streamList because ...
2
votes
0
answers
78
views
Changes made in Google OAuth testing project are not reflecting
Changes made in the Google OAuth testing project are not reflecting.
I tried updating the Redirect URI in Google Cloud Console
, but even after saving, it still throws a redirect_uri_mismatch error. ...
1
vote
0
answers
43
views
"permission denied" error in Cloud Function that imports gmail
I'm stuck getting a "permission denied" error when using the gmail googleapi in a firebase cloud function to "import" syntetic emails to a workspace email box.
I've followed this ...
0
votes
0
answers
31
views
Why does Google Drive API drive.file scope fail to copy external file but work with drive scope?
I'm building an application where new users (who are external to my Google Workspace domain) need a personal copy of a single Google Docs file (a template I've created). The file is shared as "...
0
votes
0
answers
69
views
Issue with Persian Language Support in Closed Captions on Self-Hosted Jitsi Meet Using Google Speech-to-Text API
I'm running a self-hosted instance of Jitsi Meet on my server, and I've successfully set up closed captions (CC) using the Google Speech-to-Text API. The feature works fine for English: when I enable ...
0
votes
2
answers
2k
views
How to correctly structure the 'video' object for Veo 3.1 endpoint?
I'm trying to use the video extension feature with the Veo 3.1 model using the Google Generative Language API. I am sending requests to the endpoint:
https://generativelanguage.googleapis.com/v1beta/...
0
votes
0
answers
55
views
google sheets API only returning single chart
I have a little program that is supposed to return all of the charts in a Google Sheets document. The program is as follows:
from google.oauth2.credentials import Credentials
from ...
0
votes
0
answers
101
views
Gmail API OAuth token expires after a few days, and re-authentication fails for some accounts
I’ve built an app similar to gmass.co/inbox
I'm using gmail.readonly
to help check where our emails land (Inbox, Promotions, Spam, etc.) in specific Gmail accounts before launching email campaigns.
...
0
votes
0
answers
54
views
Azure Logic App GET to Google Custom Search returns 400 INVALID_ARGUMENT though same URL works in browser
I have a Consumption Logic App that retrieves two secrets from Key Vault (GOOGLE_API_KEY and GOOGLE_SEARCH_ENGINE_ID) and then calls Google Custom Search (customsearch.googleapis.com/customsearch/v1) ...
0
votes
1
answer
35
views
Google Adsense API report
I am using Google API for retrieve report data for adsense account.
I need to get information about every single custom channel, potentially 500 channels.
If I will make a single request for every ...
3
votes
2
answers
218
views
Restricting Gemini Web Search to a Single Domain – Possible?
I’m experimenting with the Gemini web search model and have a very specific use case.
I need Gemini to perform retrieval only within a single specified website (e.g., example.com).
No external sources ...
-1
votes
1
answer
189
views
I have no access to a Google Cloud Console project and don't understand what it's for [closed]
The project name is seemingly randomly generated: lustrous-vortex-nq476
When selecting "Enabled APIs & Services", It lists:
Gemini for Google Cloud API
Developer Connect API
Secret ...
0
votes
0
answers
43
views
Looker Studio + YouTube Analytics – How to access VideoType and Playlist fields?
I have a question: is there any other YouTube connector for Looker Studio that provides more fields, such as Video Type (Video, Shorts, etc.) and Playlist (the playlist the video belongs to)?
I’m ...
1
vote
0
answers
89
views
Google Cloud Security Command Center Compliance/Posture page fails with active "Resource Usage Restriction" policy
I'm encountering a very persistent issue in Google Cloud's Security Command Center. When I try to access the Compliance or Posture dashboards, I receive the following error message:
Your ...
0
votes
0
answers
132
views
Accessing all files in Google Drive using Google Picker with drive.files scope
Goal
Let users create files in my web app and save them to Google Drive.
Let users use Google Picker to select any file they own or that’s shared with them.
After selection, let my app download or ...
0
votes
0
answers
143
views
How to create a Google Spreadsheet document using a service account?
I am building a script which is supposed to create and update documents in a certain folder of my Google Drive (personal account, not Google Workspace).
If there is no document that particular name, ...
2
votes
1
answer
332
views
Google Navigation SDK (Android): setDestinations(..., CustomRoutesOptions(routeToken)) still takes fastest route instead of my chosen route
I’m using the Google Navigation SDK for Android together with the Routes API - directions/v2:computeRoutes.
From computeRoutes I get two routes: the default one and an alternate. I want to navigate ...
0
votes
0
answers
138
views
Google CSE API returns different results than public CSE URL and regular Google search
I'm encountering inconsistent search results between Google's Custom Search JSON API, the public CSE URL, and regular Google searches despite identical queries and configuration. Here's my setup:
CSE ...
0
votes
0
answers
62
views
Merchant API - accessing Google Customer Reviews
We are using the Google Customer Reviews (GCR) system to collect our Google Store Ratings. This is the verified reviews feature within Google Merchant Center. We want to use the Merchant API to GET ...
0
votes
1
answer
104
views
Google Drive API: gapi.client.drive.files.copy returns 404 for existing file (Slides template)
I'm trying to copy a Google Slides template using the Google Drive API with gapi.client.drive.files.copy, but I always get a 404 error, even though the file exists and is owned by the same account I'm ...
1
vote
0
answers
221
views
Storage quota errors when trying to upload files via Google Drive API
I'm trying to upload a small sample CSV file up to my personal google drive via a Service Account, but it keeps failing.
I've created a folder in my personal Drive, and shared it with my Service ...
1
vote
0
answers
61
views
How to query folders which have names that surrounded by apostrophes?
I'm using the google/apiclient API in PHP to query Google Drive.
I have two folders in the same parent folder in Google Drive:
test ' folder
'test folder'
I have the following query to retrieve the ...
0
votes
1
answer
127
views
Google Streaming STT does not return is_final = True
I'm building a phone call application using Twilio Media Streams.
The workflow is as follows:
Twilio Media Stream → Google STT (Streaming) → LLM → TTS
I'm using the sample code from the following ...
0
votes
0
answers
71
views
Follow-up email using Gmail API appears as a new conversation even with threadId and In-Reply-To headers
I'm using the Gmail API in Node.js to send automated follow-up emails that should appear as part of an existing conversation thread.
Here's what I'm doing:
I retrieve the original thread using gmail....
0
votes
0
answers
287
views
Google OAuth Error 400: invalid_request when using n8n on Fly.io
I’m running n8n (workflow automation tool) on Fly.io, and it works fine.
Now I’m trying to connect Google services like Gmail or Google Sheets using OAuth2.
I created a Google Cloud OAuth 2.0 Client ...
0
votes
0
answers
42
views
Service accounts cannot invite attendees without Domain-Wide Delegation of Authority - but NOT inviting any
Getting this error when Patching an event with new attendees. BUT we are NOT inviting attendees (sendNotifications is false, and sendUpdates = 'none').
We cannot do Domain Wide Delgation (nor do we ...
0
votes
0
answers
24
views
MapBox map marks's. Don't custom marks
I don't know how I can realize trigger on marks from mapbox while not making them custom. MapBox add different kinds of maps, and this maps have their markers, how I can realize click on this map's ...
0
votes
1
answer
63
views
Google business get placeId from storeCode
When using the Google Business API to retrieve locations managed by the end user, I get a storeCode. What I'm trying to do is check if that business location has a placeId on Google Maps or not.
...
0
votes
0
answers
61
views
How to verify a Chrome Extension that uses Google Calendar API without owning a domain?
I'm developing a Chrome Extension (non-commercial, open-source) that extracts information from Gmail messages and creates Google Calendar events.
To avoid the “This app is unverified” warning, I'm ...
0
votes
0
answers
29
views
Get location reviews via API with Service Account
Please tell me how to add a service account to a location group to receive location reviews?
When adding SA, an invitation is sent, but it cannot be accepted via API
-1
votes
1
answer
88
views
google-api for geolocation not the same as about google maps
While using the Geocoding API, I noticed that there are differences in determining the country, which do not exist in the Google Maps web interface.
Example:
Input address: city code 300000 + CN
...
0
votes
0
answers
32
views
Google API - Get profile info from email
Particularly, I want to get the profile picture URL of a Google account using account's email address.
I have tried using the People API and the Gmail API, but nothing gives me the desired result. ...
0
votes
0
answers
101
views
GoogleAPI, Get User's Additional Emails
I have a question about GAPI and People API. After the user signs in with Google OAuth I need to collect every email address attached to that Google Account (aliases / secondary addresses).
So what I'...
0
votes
0
answers
77
views
Google TTS stealing the first few ms of a script - but not the way I would think
I’ve built a PHP service that calls Google Cloud Text-to-Speech and writes the audioContent (base64-decoded) directly to an MP3 file. When I prepend a hard-coded phrase (e.g. “Ein Moment der Ruhe…”m ...
0
votes
1
answer
96
views
How to authorize a Google Service Account to upload videos via YouTube Data API v3?
I'm developing a backend application using a Google Service Account to upload videos to YouTube via the YouTube Data API v3.
The service account is granted OAuth scopes:
https://www.googleapis.com/...
2
votes
0
answers
85
views
Integrating New Google Maps Autocomplete API into Django Project
I'm using the new Google PlaceAutocompleteElement() API function (not the legacy google.maps.places.Autocomplete) and would like help integrating it into my Django project.
Specifically, I want to add ...
0
votes
0
answers
39
views
Adding text to gdoc using Google API sets random paragraph style
I have the following method that adds formatted text to a data structure for it to be used in a batchUpdate request:
def add_text(
self,
text,
bold=None,
color=None,
...
0
votes
1
answer
108
views
Data Transfer API 401 error with service account (Domain-wide Delegation), but Directory API works
I'm trying to use a service account with domain-wide delegation to transfer Google Drive data between users in my Workspace domain.
The service account works fine with Directory API, but the Data ...
0
votes
0
answers
58
views
Google SpeechClient 'phone_call' model does not support 'alternativeLanguageCodes', But I need it
So I am making a Multi-lingual call Bot. And I am using google speechClient for the STT.
ws.on("message", async (message) => {
const msg = JSON.parse(message);
...
1
vote
1
answer
125
views
How to restrict access of a service account to only specified user(s) in google workspace?
I'm developing an application that needs to read and label emails from a single, specific mailbox that is a part of a google workspace.
I managed to connect a service account to the workspace using ...
0
votes
1
answer
61
views
How to use a Google Service Account with Admin SDK?
I would like to use the Members function of the Admin SDK of Google. I'm using PHP and Codeigniter 3. I created a Service Account in the Google Cloud Console.
My Codeigniter model:
use Google\Client ...
1
vote
1
answer
166
views
Getting started with Oauth for google Drive API Getting a 502 response from gapi.client.init
I'm trying to write a web client for google drive, but I'm stuck trying to get the authorization client to work. Specifically, when I call gapi.client.init() I'm getting a response of 502 - Bad ...
0
votes
1
answer
140
views
Google Photos API: App no longer has access to user data despite consent screen
I have an app registered and verified for the Google Photos Library API.
Since the beginning of June, it seems that my app is no longer allowed to access users' Photos data, even though users are ...
0
votes
0
answers
58
views
Invalid request from Google API in python
I trying to write code to access the Youtube API in python. I followed the sample code get authenticated for Google API. When I run this I get a message
Access blocked: MyAPP request is invalid
I ...
0
votes
2
answers
176
views
Google OAuth invalid_grant error during token exchange - code_verifier is undefined, redirect_uri mismatch?
I am implementing the Google OAuth 2.0 authorization code flow to fetch Gmail data. However, during the token exchange step on my backend, I consistently encounter the following error:
Error during ...
0
votes
0
answers
91
views
Google Calendar API: scopes are readonly but event deletion is possible
In Google Cloud Console, I created a project with read only accesses to my Google Calendar:
Your non-sensitive scopes
.../auth/calendar.calendarlist.readonly See the list of Google calendars you’re ...
1
vote
0
answers
54
views
Google OAuth 400 invalid_request (Missing redirect_uri) with Python InstalledAppFlow despite correct "Desktop app" JSON
I am trying to authenticate with the Google Blogger API from a Python script (in a standard Google Colab environment) and am consistently getting a 400: invalid_request error with the detail Missing ...
0
votes
1
answer
91
views
Indexing API Get Metadata request only returning 404
I'm working on a C# program to handle my many websites. Right now I'm using the indexing API to request indexation. This part works fine. Here is the doc I'm using.
Now there is in the bottom a GET ...
0
votes
1
answer
133
views
How to authenticate with Google Routes API
I'm attempting to use the Google Routes Api through their client library in C#. They show sample code:
public async Task ComputeRoutesRequestObjectAsync()
{
// Create client
...