Provisioning Not Retryable

provisioning-not-retryable · 409

The database isn't held or failed in this environment, so there is no provisioning to retry and the API changed nothing.

Only a database whose provisioning is cap_blocked or failed can be retried, and provisionStatus is where it is now. ghaym cloud services retry-provisioning <service> sends this call.

Besides the members every error carries, this type adds serviceId, environmentId and provisionStatus.

Common causes

  • The database is ready already, or pending or provisioning again.
  • Two retries were sent at once and the other one won: provisionStatus is then pending.
  • The database runs but keeps crashing (crash_looping): provisioning worked, so there is nothing to retry.
  • The call left out environmentId, as ghaym cloud services retry-provisioning <service> always does, so it reached production, while the held or failed database is in another environment.

How to fix the call

  • Read the service and act on its state: wait while it is pending or provisioning.
  • To retry the environment where the database is held or failed, send POST /v1/services/<id>/provisioning/retry?environmentId=<environment>.
  • For a database that keeps crashing, read its logs with ghaym cloud services logs <service>, or choose a bigger size if it runs out of memory.

Example response

json
{
  "type": "provisioning-not-retryable",
  "title": "Provisioning Not Retryable",
  "detail": "This database slot is 'ready'; provisioning can only be retried from cap_blocked or failed.",
  "serviceId": "0199e0a3-6f21-7c4a-9d18-2b7c5f3ad401",
  "environmentId": "0199e0a3-6f21-7c4a-9d18-2b7c5f3ad403",
  "provisionStatus": "ready",
  "requestId": "req-1785231000000-4f7b2c9ae",
  "timestamp": "2026-07-28T09:30:00.000Z",
  "path": "/v1/services/0199e0a3-6f21-7c4a-9d18-2b7c5f3ad401/provisioning/retry",
  "method": "POST",
  "instance": "POST /v1/services/0199e0a3-6f21-7c4a-9d18-2b7c5f3ad401/provisioning/retry",
  "status": 409,
  "docs": "https://ghaym.me/docs/errors/provisioning-not-retryable"
}