Skip to content

hey compose returns 500 Internal Server Error #35

@jaxson

Description

@jaxson

Description

hey compose consistently returns a 500 Internal Server Error for all requests, including minimal ones.

Steps to Reproduce

hey compose --to "test@example.com" --subject "Test" -m "Hello"

Expected Behavior

Email is composed and sent.

Actual Behavior

{
  "ok": false,
  "error": "API error: 500 Internal Server Error",
  "code": "api"
}

Debug Output

time=2026-03-10T17:55:35.179-04:00 level=DEBUG msg="http request" method=POST url=https://app.hey.com/messages.json
time=2026-03-10T17:55:35.302-04:00 level=DEBUG msg="http response" status=500

Environment

  • hey-cli version: ff3dbbf (built from source, 2026-03-10)
  • Go: 1.26.1
  • OS: macOS (Darwin 25.2.0, arm64)
  • Auth: OAuth, valid, not expired
  • hey doctor: all checks pass
  • hey auth status: authenticated, credentials in keyring

Notes

  • Happens with any recipient, subject, or body content
  • Other commands (hey boxes, hey auth status, hey doctor) work fine
  • Only the POST /messages.json endpoint appears affected

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions