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
Description
hey composeconsistently returns a 500 Internal Server Error for all requests, including minimal ones.Steps to Reproduce
Expected Behavior
Email is composed and sent.
Actual Behavior
Debug Output
Environment
hey doctor: all checks passhey auth status: authenticated, credentials in keyringNotes
hey boxes,hey auth status,hey doctor) work finePOST /messages.jsonendpoint appears affected