event add fails with --link; succeeds without it (HTTP 403 observed)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 18/100
Research direction
Start with the --link flag in internal/cmd/events.go, then check how it maps to calendar_event[url] in go/pkg/hey/calendar_events.go in hey-sdk. Reproduce with a public HTTPS URL to see whether the 403 depends on the link value, and compare the request with a no-link run. Done means the link is accepted or the CLI returns a clear validation error, with the cause recorded.
Written by the indexing model from the issue text.
Description
A timed event with --link failed through the CLI, while the same reference URL was saved successfully through HEY's normal browser event form.
Observed results
- In a cloud Linux environment, HEY CLI 1.7.0 (SDK 0.31.1, OAuth) returns
Form request failed (HTTP 403)fromPOST /calendar/events.json. - On my own machine, the command also fails with
--linkand succeeds when only that argument is removed. The local CLI version and exact local error have not yet been captured for this report. - The same event and URL were successfully saved through the signed-in browser interface. CLI readback preserved the URL.
- OAuth status, inbox reads and calendar reads work.
The reference is a private HTTPS HEY email-thread URL, omitted here. No public-URL reproducer has been verified, so this report does not establish that every --link value fails.
The argument was supplied as --link '<private HTTPS reference URL>' alongside the normal title, calendar, date, time-zone, location and notes options. The pinned CLI documents --link as "Meeting or reference URL" and passes Content.Link to calendar_event[url]. Current source uses the same mapping.
A diagnostics-only build preserving the request, authentication and transport found an HTML 403 body containing CAPTCHA/browser-challenge-related keywords. The provider and root cause are unknown; no raw body, credentials or headers are included here.
Expected
The CLI should accept the reference URL that HEY's browser form accepts, or return an actionable validation error.
Could you investigate the link-dependent failure and advise on a supported fix?
References
- Dominant language
- Go
- Stars
- 412
- Forks
- 52
- Avg merge
- 22h 16m
- Merged PRs (30d)
- 75
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from basecamp/hey-cli
-
TUI Calendar: Enter does nothing on a highlighted event (Day/Week), though the help bar shows "enter: open"Possibly taken @albertreig claimed this 35 days ago. OpenCLI Only
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
CLI Only
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
basecamp/hey-cli#408 · 1 comment ·
Maintainers usually reply within 1 day
-
installer-canary
Difficulty 2/5 1-3 hours Newbie friendliness 54/100
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Maintainers usually reply within 1 day
All issues in basecamp/hey-cli
Similar issues
-
triage/pending-triage
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
external-secrets/external-secrets#7117 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ENTERPILOT/GoModel#1183 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Edwin-metcalf/MetCode#16 ·
-
Action Required: Fix Renovate ConfigurationPossibly taken @thompson-tomo claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 78/100
open-telemetry/opentelemetry-collector#16170 ·
Maintainers usually reply within 1 day
-
Buffer.writeRTX drops the RTCP returned by calc, so NACKs for other lost packets are never sentOpen
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day