DOCS / ERROR CODES

HEN-4101: Database timeout

A service waited too long for the database to respond..

HTTP 504Server side

What happened

A service waited too long for the database to respond.

How to fix it

Check pool size and slow queries. Raising max_conns is occasionally the answer, and occasionally the problem.

Example response

{
  "error": "HEN-4101",
  "message": "Database timeout",
  "status": 504,
  "request_id": "req_45dba4"
}

Should I retry?

Yes. Retry with exponential backoff and jitter.

CodeHEN-4101
HTTP status504
FamilyHEN-4xxx

Related errors

Still stuck? Include the request_id when you contact support. Our hens can find it in about a second.