---
title: "database_waking: what it means and how to fix it · Hypamoon"
description: "HTTP 503. A Postgres database (query_database, apply_database_migration, export_database) was asleep and did not answer in time while waking up."
url: https://hypamoon.com/docs/errors/database_waking
---

**Start for free.** [Sign up](https://app.hypamoon.com/?mode=signup&utm_source=docs&utm_campaign=banner) without a card and connect your chat, or create a test key for the API. Going live with something real asks for a quick check of your company first.

[Errors](https://hypamoon.com/docs/errors)

# database\_waking

**Status**\
503

**Type**\
`https://hypamoon.com/docs/errors/database_waking`

A Postgres database (`query_database`, `apply_database_migration`, `export_database`) was asleep and did not answer in time while waking up. A database sleeps after a few minutes without connections and usually wakes in under a second. Nothing was changed. Try the same call again after the `Retry-After` seconds.

Hypamoon is the infrastructure your chat or agent builds on for a business. Hypamoon API, version 1.[hypamoon.com](https://hypamoon.com/)
