EigenpalError.
| HTTP | Class | Notes |
|---|---|---|
| 400 | EigenpalValidationError | .issues carries per-field problems |
| 401 | EigenpalAuthError | Bad / missing API key |
| 403 | EigenpalForbiddenError | API trigger disabled, scope mismatch |
| 404 | EigenpalNotFoundError | Workflow / execution doesn’t exist |
| 429 | EigenpalRateLimitError | .retryAfter is the server-suggested wait (seconds) |
| 5xx | EigenpalServerError | Auto-retried up to maxRetries |
| timeout / abort | EigenpalTimeoutError |
Retries
The SDK retries on5xx, 429 (honoring Retry-After), and network errors. 4xx errors are surfaced immediately as typed exceptions. Configure via maxRetries:
Retry-After.
Request id
Every error carriesrequestId from the server’s response header. Forward it to support for fastest triage:
Bad baseUrl
IfbaseUrl points at a non-API host (the marketing site, a misconfigured proxy), the SDK throws EigenpalError with a clear message instead of returning HTML or surfacing a downstream JSON-parse crash. Set baseUrl to your EigenPal instance root.