Skip to content

Tenant Lease Not Available

URI: https://docs.ankatech.co/errors/tenant-lease-not-available
HTTP Status: 409 Conflict

When you see this

Tenant leases are not available until this deployment finalizes its upgrade. Nothing was read or changed.

Common Causes

  • A lease read or extension sent after an upgrade was applied but before it was finalized.

Response Example

{
  "type": "https://docs.ankatech.co/errors/tenant-lease-not-available",
  "title": "Tenant Lease Not Available",
  "status": 409,
  "detail": "Tenant leases are not available until this deployment finalizes its upgrade.",
  "instance": "/api/v3/admin/platform/tenants/7d2f4a10-9c31-4b8e-a5d6-2f11c0b47e93/lease",
  "timestamp": 1730000000,
  "extensions": {
    "requestId": "550e8400-e29b-41d4-a716-446655440000"
  }
}

Content-Type: application/problem+json — the response follows RFC 9457 Problem Details.

How to Resolve

  1. Finalize the upgrade (envctl.sh <env> upgrade finalize), then retry.

For full schema definitions, examples, and interactive testing, see the Developer Hub Reference.