Database Provisioning

database-provisioning · 409

The database is still being created in this environment, so the API opened no tunnel.

service and environment name the database and the environment it was asked in. The CLI exits with code 5.

Besides the members every error carries, this type adds service and environment.

Common causes

  • The database, or the environment, was created moments ago.
  • A retry of a provisioning that failed or was held is running.

How to fix the call

  • Wait until the database is ready, then run the same command again.
  • Leave a pause between tries rather than retrying in a tight loop.

Example response

json
{
  "type": "database-provisioning",
  "title": "Database Provisioning",
  "detail": "orders-db is still provisioning in staging.",
  "service": "orders-db",
  "environment": "staging",
  "requestId": "req-1785231000000-4f7b2c9ae",
  "timestamp": "2026-07-28T09:30:00.000Z",
  "path": "/v1/services/0199e0a3-6f21-7c4a-9d18-2b7c5f3ad401/tunnels",
  "method": "POST",
  "instance": "POST /v1/services/0199e0a3-6f21-7c4a-9d18-2b7c5f3ad401/tunnels",
  "status": 409,
  "docs": "https://ghaym.me/docs/errors/database-provisioning"
}