Description
When using --reminder flag with gog calendar create or update, the API returns: "Google API error (400 cannotUseDefaultRemindersAndSpecifyOverride): Cannot specify both default reminders and overrides at the same time."
Steps to Reproduce
gog calendar create primary --summary "Test Event" --from "2026-01-19" --to "2026-01-19" --all-day --reminder="popup:7h"
gog calendar update primary <eventId> --reminder="" --json
Expected Behavior
Event should be created with the specified reminder override (reminders.useDefault: false and reminders.overrides: [{method: "popup", minutes: 420}]).
Actual Behavior
Google API error (400 cannotUseDefaultRemindersAndSpecifyOverride): Cannot specify both default reminders and overrides at the same time.
Environment
- gog version: v0.8.0 (4f2b12e)
- OS: macOS
Analysis
It appears gog is sending both reminders.useDefault: true AND reminders.overrides in the same request, which the Google Calendar API doesn't allow.
Description
When using
--reminderflag withgog calendar createorupdate, the API returns: "Google API error (400 cannotUseDefaultRemindersAndSpecifyOverride): Cannot specify both default reminders and overrides at the same time."Steps to Reproduce
gog calendar create primary --summary "Test Event" --from "2026-01-19" --to "2026-01-19" --all-day --reminder="popup:7h"gog calendar update primary <eventId> --reminder="" --jsonExpected Behavior
Event should be created with the specified reminder override (
reminders.useDefault: falseandreminders.overrides: [{method: "popup", minutes: 420}]).Actual Behavior
Google API error (400 cannotUseDefaultRemindersAndSpecifyOverride): Cannot specify both default reminders and overrides at the same time.
Environment
Analysis
It appears gog is sending both
reminders.useDefault: trueANDreminders.overridesin the same request, which the Google Calendar API doesn't allow.