863 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
83
views
Google Calendar API refresh token stops working after 1 hour – requires user to reconnect
I’m integrating Google Calendar using OAuth2.
During testing, I noticed that refresh tokens stop working after about an hour.
Issue behavior:
If I connect the calendar and use the token to create a ...
0
votes
1
answer
66
views
Ownership transfer of Google Drive files using the node api fails with "Missing required nested field: resource"
With the Google APIs Node library, I have been trying to get the datatransfer api going, to transfer ownership of all the files and directories in Drive that a quitting volunteer might have created.
...
0
votes
2
answers
98
views
google admin api for Node, users.list fails with http 400: GaxiosError: Invalid Input
I can run the users.list query and get the data response on the Api explorer for the Directory API (https://developers.google.com/workspace/explore?filter&discoveryUrl)
and the Javascript query ...
0
votes
0
answers
87
views
Google Drive API Webhooks - single change in a shared drive causes notifications on all other drive webhooks
Currently running into an issue where when I apply a change to a shared drive, rather than just the shared drive's watch channel getting notified, all 4 channels get notified. Causing 4 webhooks to ...
0
votes
1
answer
69
views
Unable to use Javascript Wallet client with a service account from different GCP project
I am attempting to use the Google Wallet node.js api with a service account.
The service account comes from a different GCP project. I have granted the service account the appropriate role so that it ...
0
votes
2
answers
241
views
Refreshing Google access token causes loss of oauth scope
I have a scenario where I am obtaining access/refresh tokens via oAuth consent. When the access token expires, the refreshed token returned after refresh is losing scopes previously acquired.
Summary ...
0
votes
1
answer
129
views
How do you debug GRPC error when there is no details?
I have already found a discussion regarding better debugging for GRPC: How to debug grpc call?
but I am running into a scenario where even after adding those flags GRPC_VERBOSITY and GRPC_TRACE, I ...
0
votes
0
answers
10
views
Google auth refresh tokens expiring after a few days [duplicate]
We use the youtube API on behalf of our users, but after 7 days some users report having to re-authenticate and generate new refresh and access tokens.
Our app is in production mode, so we are ...
0
votes
0
answers
161
views
invalid_grant using Gmail API
I have a node.js backend that uses gmail API to retrieve user emails. The problem is that for some users who recently sign up to use the app they get an "invalid_grant" error after some time....
0
votes
1
answer
180
views
Gmail with Nextjs 15 Reply conversation
i working with Gmail in Nextjs 15, i can get all my email, sending email, but my reply has a problem.when i reply a mail, in my mail conversation i can fetch every previous mail which is fine. but the ...
2
votes
2
answers
196
views
TypeError with Firebase Functions Auth Trigger in v6.1.0
I'm trying to set up a Firebase Auth trigger for user deletion using Firebase Functions v6.1.0, but I'm getting a TypeError. Here's my minimal reproduction case:
const functions = require('firebase-...
0
votes
1
answer
94
views
Set A Bearer Token when using @google-cloud nodejs library
So I have an electron app that performs:
const { v2 } = require('@google-cloud/speech');
...
client= new v2.SpeechClient({
apiEndpoint: `us-central1-speech.googleapis.com`,
keyFilename: ...
1
vote
0
answers
57
views
elapsedVideoTimeRatio does not return 100 datapoints google api
I'm using the the google api to measure the retention and acccording to their docs it should always return 100 datapoints but I'm getting lower than that, some as low as 71? Does anyone else have a ...
2
votes
1
answer
277
views
Getting "Precondition check failed" when calling gmail api using a service account that impersonates a user
I want to create a nodejs script that uses a service account to call gmail api on behalf of users of a domain. The service account has domain wide delegation enabled, the domain's workspace admin ...
2
votes
1
answer
109
views
Unexpected rate limit error while uploading videos using YouTube API
I'm using google YouTube API to programmatically upload videos to YouTube using my node.js server
I've installed googleapis npm package on my server, and authenticate each request with OAuth2 google ...