What happened
The request took longer than 30 seconds to process.
How to fix it
Use asynchronous endpoints for long operations and poll for completion.
Example response
{
"error": "HEN-6004",
"message": "Gateway timeout",
"status": 504,
"request_id": "req_728e27"
}
Should I retry?
Yes. Retry with exponential backoff and jitter.
| Code | HEN-6004 |
|---|---|
| HTTP status | 504 |
| Family | HEN-6xxx |
Related errors
Still stuck? Include the request_id when you contact support. Our hens can find it in about a second.