Description
gog calendar events list returns Google API error (404 notFound): Not Found when any date-filtering flag is used (--today, --from, --to, --days), but works correctly without date flags.
Repro
# Works - returns events
gog calendar events list --account oskar@firstmovr.com
# 404 - any date filter breaks it
gog calendar events list --account oskar@firstmovr.com --today
gog calendar events list --account oskar@firstmovr.com --from today --to tomorrow
gog calendar events list --account oskar@firstmovr.com --days 1
gog calendar events list --account oskar@firstmovr.com --from "2026-02-25T00:00:00-05:00"
Environment
- gog version: 0.11.0 (Homebrew)
- macOS 15.x (arm64)
- Google Workspace account
- Calendar ID is the account email (not
primary alias)
gog calendar calendars shows only one calendar with ID = account email
Notes
- The
--verbose flag shows auth succeeds; the 404 comes from the Google Calendar API itself.
- Suspect the date flags cause a different API call path that uses
primary as the calendarId, which doesn't resolve for this Workspace account.
- The non-date-filtered path presumably uses a different endpoint or defaults correctly.
Description
gog calendar events listreturnsGoogle API error (404 notFound): Not Foundwhen any date-filtering flag is used (--today,--from,--to,--days), but works correctly without date flags.Repro
Environment
primaryalias)gog calendar calendarsshows only one calendar with ID = account emailNotes
--verboseflag shows auth succeeds; the 404 comes from the Google Calendar API itself.primaryas the calendarId, which doesn't resolve for this Workspace account.