Error codes
JSON body shape: { "error": { "code", "message", "details?" } }
| Code | HTTP | Meaning |
|---|---|---|
| INVALID_INPUT | 400 | Missing or malformed payload |
| INVALID_JSON | 400 | Chart config JSON parse failed |
| UNSUPPORTED_KIND | 400 | Unknown render kind |
| UNSUPPORTED_FORMAT | 400 | format must be png or svg |
| INPUT_TOO_LARGE | 400 | Input exceeds size limit |
| DIMENSIONS_TOO_LARGE | 400 | Width/height above max |
| RATE_LIMITED | 429 | Free-tier RPM exceeded; see Retry-After |
| UNAUTHORIZED | 401 | Invalid or revoked API key |
| TIMEOUT | 504 | Render exceeded time budget |
| RENDER_FAILED | 500 | Engine failure; check details |
| NOT_CONFIGURED | 503 | Required server integration is missing |