---
title: Errors & troubleshooting
description: >-
  Most errors use the standard error body, with an error code and a message. A
  few endpoints add fields or return plain text, so check the Content-Type
  header.
canonical: 'https://lightning.ai/docs/platform/cluster/reference/errors'
---
# Errors & troubleshooting {#errors-troubleshooting}

Most errors use the [standard error body](/docs/platform/cluster/reference/api-conventions.md#errors), with an `error` code and a `message`. A few endpoints add fields or return plain text, so check the `Content-Type` header.

## Status codes {#status-codes}

| Status | Meaning | What to do |
|--------|---------|------------|
| `400 Bad Request` | The request is malformed, or the operation doesn't apply to this resource (for example, Kubernetes endpoints on a fleet without Kubernetes). | Read `error` and `details`, then fix the request. |
| `401 Unauthorized` | The token is missing, malformed, or expired. | Get a new token with `harbor auth token` and check the header is `Authorization: Bearer <token>`. |
| `403 Forbidden` | Your role doesn't allow this action. For example, a User tried a power action. | See [Roles & permissions](/docs/platform/cluster/access/roles-permissions.md), or ask an Administrator. |
| `404 Not Found` | The resource doesn't exist **or belongs to another organization**. | Check the ID, and check that you're calling the right [region](/docs/platform/cluster/get-started/regions.md). |
| `409 Conflict` | The resource's state doesn't allow this, or a request with the same idempotency key is still in progress. | Check the resource state, or retry with the same key after about 5 seconds. |
| `412 Precondition Failed` | A prerequisite isn't met. For example, GPU validation hasn't finished before a cluster validation run. | Wait for the prerequisite to finish. |
| `422 Unprocessable Entity` | The idempotency key was reused with a different request, or the resource isn't in a valid state (for example, health on a fleet that isn't `ACTIVE`). | Use a new key, or wait for the resource to be ready. |
| `423 Locked` | Another operation is running on the node (power). | Wait for it to finish. |
| `500 Internal Server Error` | An unexpected error occurred. From `POST /v1/audit-logs/export`, it can also mean [export isn't available in your region yet](/docs/platform/cluster/audit-logs.md#90-day-export). | Retry with backoff, except for the audit export case. For a `POST` sent with an `Idempotency-Key`, check the resource's state and use a [new key](/docs/platform/cluster/reference/api-conventions.md#idempotency). If it continues, contact support. |
| `502 Bad Gateway` | A service the request depends on (for example a node's management controller, storage, or Kubernetes) returned an error or couldn't be reached. | Retry with backoff, as for `500`. |
| `503 Service Unavailable` | Temporarily unavailable. For power actions, the operation was rejected immediately. | Retry. For power actions, use a new idempotency key. |

## Common problems {#common-problems}

### My token works in one region but not another {#my-token-works-in-one-region-but-not-another}

Tokens are region-specific. Log in to each region and use `harbor auth token --region <region>`. See [Regions & endpoints](/docs/platform/cluster/get-started/regions.md).

### I get 404 for a fleet I can see in the console {#i-get-404-for-a-fleet-i-can-see-in-the-console}

You're probably calling a different region's API. Check the region shown for the fleet in the console.

### My SSH key doesn't work on existing nodes {#my-ssh-key-doesn-t-work-on-existing-nodes}

Registering a key only affects new nodes. [Apply the key to the running fleet](/docs/platform/cluster/access/ssh-keys.md#apply-a-key-to-a-running-fleet).

### A deleted SSH key still works {#a-deleted-ssh-key-still-works}

Deleting an SSH key only takes it off fleets it was [applied to](/docs/platform/cluster/access/ssh-keys.md#apply-a-key-to-a-running-fleet) after creation. Keys installed when a fleet was created stay on its nodes. [Revoke the key from that fleet](/docs/platform/cluster/access/ssh-keys.md#revoke-a-key-from-a-fleet).

### Fleet health returns 422 {#fleet-health-returns-422}

Health is only available for `ACTIVE` fleets with nodes. Check the fleet's `status`.

### The node power state hasn't changed after an action {#the-node-power-state-hasn-t-changed-after-an-action}

The power state is eventually consistent. Poll `GET .../power` every 10–15 seconds while `lastOperation.status` is `ACCEPTED` or `IN_PROGRESS`. See [Node power](/docs/platform/cluster/fleets-and-nodes/node-power.md).

### The storage view is stuck in provisioning or modifying {#the-storage-view-is-stuck-in-provisioning-or-modifying}

Large changes can take several minutes. If `state` becomes `unhealthy`, contact [support](/docs/platform/cluster/support.md) with the fleet ID and mount point.

## Contacting support {#contacting-support}

Include the following so we can help quickly:

- Region and `fleetId`, plus `nodeName` or mount point if relevant
- The request method and path
- The response status and full body, and the time of the request
- The `Idempotency-Key`, if you sent one

See [Support](/docs/platform/cluster/support.md).

---

**Navigation**

- Parent: [Reference](/docs/platform/cluster/reference.md)
