Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 5 Nov 2026. What's built · Install 0.3.0
jadpo
ReferenceErrors

ErrorsTools · rule

deliveries.unavailable

On this page

The app's deliveries couldn't be read from their database, because it can't be reached or has no table for them yet.

Area 14, Tools; not declinable; the next step is usually the human's.

Why Jadpo refuses it

jadpo deliveries lists and acts on the app's event deliveries and schedule runs, which Jadpo keeps in tables of their own in the app's database. Those tables come with the project's migrations. When the database can't be reached, or has no such table, there is nothing to list or act on, so the command stops before it reads or changes anything.

Jadpo won't apply the migrations for you here or try another address. The database may be production's, and whether it is the right one only you know.

What it looks like

A project where adding a note emits NoteAdded, which the subscriber share_added delivers:

domains/notes/subscribers/share_added.jadpo:

example
use notes/actions { share_note }use notes/events { NoteAdded }/// Shares each note once it is written down.subscriber share_added {    on: NoteAdded    run: share_note(event.note_id)}

jadpo deliveries against a new database, to which the project's migrations haven't been applied:

shell
jadpo deliveries
jadpo deliveries

error The database main has no table for deliveries yet

reason
jadpo_deliveries comes with the project's migrations, so either the database hasn't applied them, or it isn't this project's database.
next
Run jadpo migrate apply if it is this project's database, then run the command again (human)
rule
deliveries.unavailable
help
https://jadpo.dev/docs/errors/deliveries.unavailable

(human) at the end of the next: line tells your coding agent to stop and ask you which fix you want, because the choice is yours to make: it decides which database the command reads, and whether its schema changes.

A database whose server isn't running gives the same error, saying it can't be reached. Here DATABASE_URL, the variable the connection's setting reads, names a database on this machine with no server running:

shell
DATABASE_URL=postgresql://localhost:5499/app jadpo deliveries
jadpo deliveries

error The database main can't be reached

reason
Connecting to it failed, so no deliveries could be read.
next
Check the database is running and its address is right, then run the command again (human)
rule
deliveries.unavailable
help
https://jadpo.dev/docs/errors/deliveries.unavailable

How to fix it

The question is whether the address names this project's database.

If it is this project's database, not yet migrated, apply the migrations, then run the command again:

shell
jadpo migrate applyjadpo deliveries

The tables are made, and the command reads them.

If its server isn't running, start the server, then run the command again:

shell
jadpo deliveries

The command reaches the database and reads it.

If the address names another database than the one you meant, such as production's, name that one with --url:

shell
jadpo deliveries --url "$PRODUCTION_DATABASE_URL"

The command reads that database instead, and leaves the other alone.

Markdown for agents: /docs/errors/deliveries.unavailable.md.Built from Jadpo main at aee2e8f.