Skip to content

HAMUR_E5521: The db queue names a connection that db.connections does not have

The db queue names a connection that db.connections does not have. Error HAMUR_E5521 belongs to @hamur/db (5501 – 5600).

Message

text
HAMUR_E5521 tasks.queue.connection "<connection>" is not in db.connections; set db.connections.<connection> in hamur.config.ts

Cause

tasks.queue: { driver: "db" } names a connection (default "default") that db.connections does not have.

Fix

Fix tasks.queue.connection, or add the connection to db.connections.