7,327 questions
0
votes
1
answer
170
views
Is it possible to get Google Calendar API access token directly from Firebase GoogleAuthProvider?
I'm using Firebase Authentication to log in users with Google in my web app. I want to access Google Calendar API on behalf of the user.
Currently, Firebase gives me a Firebase ID token and a ...
0
votes
0
answers
41
views
Publish group google calendar event via google script
Through the google calendar publish event interface, it is possible to copy an URL link which can be used by others to see that event, if they have access to the calendar.
Google Calendar Publish ...
4
votes
1
answer
115
views
Google Calendar API: update() does not apply recurrence changes for some events
I'm trying to update the recurrence rule of a recurring event in Google Calendar using the Python SDK.
Specifically, I want to extend the event by changing the UNTIL date in the RRULE and calling ...
0
votes
1
answer
166
views
Google Calendar cid=<ICS URL> shows “Unable to add calendar. Check the URL.” — but the same ICS works via “From URL”
I’m trying to give users a one-click Add to Google Calendar link using the documente pattern:
https://calendar.google.com/calendar/r?cid=\<URL-ENCODED_ICS_URL>
However, Google consistently ...
1
vote
2
answers
88
views
Fetching overridden events from Google Calendar
I have a Google Apps Script to automate the description of Google Calendar events. The script runs once a week and tries to fetch, and modify, the occurrence for the week to follow.
The code to find ...
0
votes
0
answers
128
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 ...
3
votes
1
answer
229
views
Why does auth.authenticate_user() in Google Colab not give access to my personal Google Calendar?
I’m trying to access my Google Calendar events from Google Colab using the Google Calendar API.
from google.colab import auth
from googleapiclient.discovery import build
import google.auth
import ...
2
votes
1
answer
338
views
`google.auth` python SDK not reading granted scopes from credentials file
I've run:
gcloud auth application-default login --client-id-file google_oauth_client_id.json --scopes="https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/calendar....
0
votes
0
answers
48
views
Google Calendar Recurring event messes up on DST days
When creating a weekly recurring event via the google calendar API (calendar.events.insert) ex. Every week on day X at 1:00 - 11:00 AM, it works just fine, except on the DST day where it will be 1:00-...
1
vote
1
answer
93
views
Multiple Attendees for Automated Calendar Invite via Sheets
I hitting an error when I try to add multiple attendees via my spreadsheet. It works with one but when I try comma-separate to include multiple attendees it throws an error:
Error ...
0
votes
0
answers
64
views
I can't add a custom duration time to an calendar event in appsheet (+ google calendar)
I'm trying to make a custom amount of time for the duration of an event in my calendar view, this view is associated to a google calendar and when the event is created then is automatically added an ...
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
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
71
views
Google Calendar API keeps returning empty result set with events.list
I have Google Calendar with multiple events, both single and recurring. Occasionally I run a script to refresh it by deleting all existing events and adding new ones, using the Google Calendar API.
To ...
2
votes
1
answer
185
views
Struggling to Get Signed-In Google User Session Using New Credential Manager API
I'm updating my app to use the new Credential Manager API for authenticating users via Firebase with Google Sign-In, since the previous approach using GoogleSignIn.getSignedInAccountFromIntent is now ...
1
vote
1
answer
181
views
Cancelling all Recurring Events past a certain date
I've been attempting to cancel all future recurring events past a certain date, according to this documentation
However, when attempting to update the recurrence property with a new UNTIL date, ALL of ...
1
vote
0
answers
101
views
Google Calendar Add-on sync not working for users with many events
I have built a custom Google Calendar Add-on. After user authentication, it allows users to create an event with name, date, time, and selected add-ons. Once the user selects an add-on, the event is ...
0
votes
1
answer
101
views
Python Google Calendar API Batch Request
The following two lines of code are similar. The first line of code executes a single request. The second line of code adds a request to a batch, which is later executed.
service.events().insert(...
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 ...
0
votes
0
answers
84
views
Unable to Enable Google Calendar API
I am unable to enable the Google Calendar API for my project.
Technical Details:
Attempted Command: gcloud services enable calendar.googleapis.com
Error: PERMISSION_DENIED for calendar.googleapis.com
...
0
votes
0
answers
96
views
Error 401 when accessing to Google Cloud API for retrieving calendar events with a "valid" token
I want to download the google calendar events into my tool, to show them in a calendar developed in Angular. The tool is composed by an Angular frontend and a Java Spring Boot backend. I successfully ...
0
votes
1
answer
43
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
1
answer
186
views
Google Calendar Permissions for a Apps Script Accessing a Public Calendar
I'm trying to write a Google Apps Script that checks if certain days are holidays by accessing public holiday Google calendars.
I assumed this would only require the https://www.googleapis.com/auth/...
0
votes
2
answers
93
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 ...
1
vote
0
answers
144
views
google auth2 with multi-user failed in refreshing a token, 401 Unauthorized
I've application connected to google calendar with multiple keys or users in accessing the oauth2 token. All users can register(using Servlet) and send the calendar event in around one hour after ...
0
votes
1
answer
95
views
Google Calendar Push Notification - Body is empty?
I have setup a push notification for calendar events like so:
const response = await calendar.events.watch({
auth: authClient,
calendarId: 'primary',
requestBody: {
id: 'calendar-...
0
votes
1
answer
99
views
getStartTime/getEndTime
Im currently working on a simple internal add-on for google calendar. When we click a event we will choose a option from a dropdown and click a button. When that happens, take the selected item with ...
2
votes
0
answers
110
views
Python Google Calendar script on Raspberry Pi requires periodic re-authentication
I have a Python script running on a Raspberry Pi that fetches Google Calendar events (using google-api-python-client and google-auth-oauthlib) and displays them on a Waveshare e-Paper display. The ...
-1
votes
1
answer
105
views
Exception: The parameters (String,String,null,(class)) don't match the method signature for CalendarApp.Calendar.createEvent
I am trying to create a google sheet that I can use to schedule a workshop servicing calendar.
I have followed the below tutorial but am getting something wrong, hoping someone can easily identify the ...
0
votes
0
answers
263
views
Google workspace calendar third-party conference add-on not working even tho conferenceData is returned from the http endpoint
I am trying to create a Google Workspace calendar add-on for a third-party conference solution using HTTP endpoint (aka alternate runtime for addons). I set up the HTTP endpoint server in Spring Boot. ...
0
votes
0
answers
64
views
Converting Firebase Timestamp to JS Date with correct timezone
I have some data in Firestore with a Timestamp in my local timezone (Europe/Copenhagen) and because we are in summer that is UTC+2 right now. I also have some ints in the Firestore collection to save ...
0
votes
0
answers
80
views
Sync Google Calendar with appointment booking app
I have a Laravel dashboard with an appointment booking feature. I can save new appointments to Google Calendar using this library https://github.com/spatie/laravel-google-calendar as well as updating ...
2
votes
0
answers
82
views
How to identify Birthday Events in Main Calendar via ContentResolver
Recently a change to birthdays was introduced which also introduced the eventtype to identify birthday events.
https://workspaceupdates.googleblog.com/2024/09/create-birthdays-in-google-calendar.html
...
1
vote
0
answers
187
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: ...
1
vote
1
answer
168
views
Google calendar API returning events that are deleted
I maintain an application that extracts calendar events from Google. The API that I use is this:
GET https://www.googleapis.com/calendar/v3/calendars/calendarId/events
This generally works fine but I'...
0
votes
1
answer
53
views
Calendar events getting cancelled status & missing details
I've been observing some events created on Gcal will get status cancelled after sometime.
{
"kind": "calendar#event",
"etag": "\"<some numbers>\"&...
0
votes
0
answers
45
views
Is it expected that Google produces the same resource ID from Watch API when using Domain Wide Delegation
Using a service account, I'm impersonating users (non-service accounts) in my domain, and subscribing to the Watch API of their primary calendar.
Google is returning the same resource ID for each user'...
0
votes
1
answer
109
views
Expand recurrence rules from a Google Calendar Event
As reported here, an event of the Google Calendar API can have a recurrence rule following the RFC5545.
Let's suppose I have to store these events into my database (including the recurrence rule). ...
0
votes
0
answers
71
views
{"error":"Failed to authenticate with Google"} - 500 error in production only
I have the below set up to try and get users data from google calendar and tasks APIs.
Googleauth.ts
import { google } from 'googleapis';
import { NextApiRequest, NextApiResponse } from 'next';
const ...
0
votes
1
answer
67
views
Getting my Google service account's email address when I try getting my calendar's "primary" calendar
Using the following code, when I display the summary of the "primary" calendar, it displays the email address of the service account. I have shared my Google account's calendars with the ...
0
votes
1
answer
279
views
Find all recurring events in Google Calendar using Google Apps Script or the Google Calendar API
I am using getEvents to find events. It returns all events expanded. So if there is a recurring event, it returns all instances. I want just the original/main/root instance.
I know I can use ...
0
votes
0
answers
46
views
Google Calendar API Email Notifications Not Sending To Attendees (PHP)
I use the calendar api (PHP) to create a calendar event that has a 24 hour email notification and a 1-hour email notification. The email notifications send fine to the main calendar account that the ...
0
votes
0
answers
230
views
How to avoid [403] "Calendar usage limits exceeded" errors with the Google Calendar API in case of high usage?
I'm working on a project where we use the Google Calendar API to create and manage events. Our use case includes:
Creating 30 events per week, with the number of events expected to increase in the ...
0
votes
1
answer
90
views
Google Calendar API: "Invalid conference type value" when creating Meet links in batch requests with Service Account
I'm using a service account with domain-wide delegation to create Google Meet links in batch requests via the Google Calendar API. The service account also created the calendar, so it should have ...
0
votes
0
answers
50
views
How to tell if google calendar is "enterprise"?
I am attempting to create out of office events for some of my users, who might not have enterprise accounts. Today, when my app attempts to insert these events for free users, I get a 400 response ...
0
votes
0
answers
144
views
How to implement automatic Google Calendar API authentication through supabase without user OAuth flow?
Context
I'm building a React application that needs to interact with Google Calendar API to create events automatically. Currently using OAuth2 which requires user interaction, but I need this to work ...
0
votes
0
answers
81
views
Insert Google Calendar throw exception. The service calendar has thrown an exception. HttpStatusCode is Forbidden. No error message was specified
I use .NET 8 locally - the function works as expected. However, after deploying to Kubernetes (K8s), the function that inserts events into Google Calendar throws an exception
Here is my config/library ...
0
votes
1
answer
214
views
Check user permissions to move original event in Google Calendar
I am developing an application that gives users an option to grant my application access rights to add/modify events in their calendars. I am obtaining access rights to user calendars using OAuth2 ...
1
vote
0
answers
67
views
Need help mimicking a hyperlink to auto-add .ical subscription/feed in Google Calendar
My goal...
Here's a public example you can see that I'm trying to replicate, albeit using my own calendar feed data instead:
Click the link below to add a calendar feed (Detroit Lions) to your Google ...
-1
votes
1
answer
73
views
Retrieve the event via Calendar Service in appscripts
my case is a bit weird so i'll try to explain it in details.
I've built an auto-approval appscript (based on different set of logics) and it works perfectly, with one edge case that i'm unable to ...