Skip to content

--reminder flag causes "cannotUseDefaultRemindersAndSpecifyOverride" error #97

@syd3n

Description

@syd3n

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions