19,857 questions
0
votes
0
answers
24
views
Google Admin SDK Reports API - Cannot filter calendar audit logs by start_time (intValue/int64) - 500 and 400 errors
Problem
I'm trying to fetch deleted Google Calendar events for a specific
user using the Admin SDK Reports API and filter them by start_time.
API Endpoint
GET https://admin.googleapis.com/admin/...
Advice
0
votes
0
replies
41
views
How to get Refresh Token for google api
I am developing an application that integrates with Google Bussiness API.
Currently, I am using a temporary Access Token for development, but it expires every 60 minutes, which interrupts the testing ...
Advice
0
votes
0
replies
26
views
How to restore a subscription using the Google api
I ran into a problem using unsubscription via the Google API (stopping auto-renewal)- https://developers.google.com/android-publisher/api-ref/rest/v3/purchases.subscriptionsv2/cancel I can't restore ...
0
votes
0
answers
135
views
Google Custom Search JSON API returns 403 - project does not have access with billing enabled
I have a Google Custom Search JSON API returning 403 error despite having billing enabled.
I have tried:
Created 2 different Google Cloud projects
Enabled Custom Search JSON API in both
Activated ...
1
vote
2
answers
96
views
The browser asks for Google Sign-in each time I open or reload the page - how to fix?
Here is my code, that uses Google Sign-in, exactly taken from Google Calendar API documentation.
It works. However, it calls Google Sign-in EVERY time I open the page or reload it.
I can't figure out ...
Advice
0
votes
2
replies
70
views
Using Batch Request API to export up to 100 Slides to PNG
How do I convert exporting slides into png into a Batch Request?
Is there other ways I can speed up the processing of this coding
section?
I am running into an issue with the google execution time ...
Best practices
0
votes
1
replies
60
views
Why is there no spreadsheets.file scope similar to drive.file for user-selected Sheets only?
I’m running into some confusion with OAuth scopes around Google Sheets and wanted to sanity check that I’m not missing something obvious.
My use case is pretty simple:
I let users pick a Google Sheet ...
0
votes
1
answer
90
views
Google OAuth UserInfo error "Authentication failed: Request is missing required authentication credential. Expected OAuth 2 access token..."
As part of the usual OAuth/OpenID login flow, you usually want the user profile too. This is available from https://www.googleapis.com/oauth2/v2/userinfo
Error: Authentication failed: Request is ...
0
votes
0
answers
87
views
Unable use Gemini API inside VPS
I have generated an API key from Google AI Studio to use Gemini models inside my Hetzner VPS. But for some reason, Google is blocking the API call. Returning 403 (Forbidden). The same API key works ...
1
vote
0
answers
46
views
How do I upload a domain contact photo in Google Workspace?
I have Python code to update a contact photo using the Google People API. It works for a user contact, but I can't get it to work for domain contacts..
from __future__ import print_function
import os....
0
votes
0
answers
46
views
NestJS service using googleapis causes Node.js heap out-of-memory only when deployed on server
I have a NestJS backend running on a ~2GB Ubuntu server (PM2).
The application runs fine until I add a single service file (GoogleIapService).
As soon as this file exists, Node crashes with:
FATAL ...
1
vote
1
answer
63
views
Google Books API returns totalItems = 0 in France but works from US IP – regional restriction?
I’m experiencing a consistent issue with the Google Books API (/books/v1/volumes) that appears to be region-related.
Observed behavior
When executing requests from France (both Wi-Fi and mobile ...
0
votes
1
answer
109
views
Script that creates HTML that references files in google drive
I have a script that creates an HTML file, and I would like for the HTML to be able to access files on my google drive (mainly for img tags). I've found various posts that gives ways to do this, but ...
-2
votes
1
answer
60
views
I already have dotenv.config() at the top of my server.js file, but still getting this error?
I have tried restarting my computer, running in a different IDE but this error still persists.
Terminal (BASH)
OPENAI_API_KEY: undefined
file:///C:/Projects/chatbot_platform/server/node_modules/...
3
votes
0
answers
50
views
Modify Google Calendar with non-restricted scopes
I have a PHP site using Google API for user login. Some users have creation and modification roles on a public Google Calendar.
I would like to modify that calendar when one of these users are logged ...