# Troubleshooting

Find what you see below, then follow the fix.

## Training will not start

**Train is turned off, or a submit is refused for balance.** On Pay as you go you cannot start a run once the balance is `$10.00` or less. Check the balance under **Credits** in the profile menu, or run `arena user credits`. An **Admin** adds balance under **Settings** → **Billing**. See [Billing and credits](../account/billing.md).

**Next or Save is blocked in the wizard.** The current step has a problem: no GPUs picked, no dataset or environment, an invalid algorithm field, or a reward function that has not passed its check. The message on screen names it. See [Train a model](../guides/train-a-model.md).

**Train is missing on the summary.** The experiment is not complete yet. Go back through the steps until each one saves.

**The algorithm you want is not offered.** The list depends on the dataset or environment you picked. See [Algorithms](algorithms.md).

**A run fails at once with a quota or region message.** Its machines could not be created. The failure reason says why, and you are not charged. See [Experiment statuses](experiment-statuses.md#why-a-run-fails-before-it-starts).

## A run is waiting

**Waiting for capacity.** No GPUs are free for the run’s resource class. It starts by itself when they are. You can stop it and pick another GPU type in [Choose compute](../guides/choose-compute.md). A run that is still waiting after 24 hours fails and is not charged.

**Scheduled, or Starting GPUs.** The machines are being created. Wait; the run moves on by itself. On your own cloud cluster the status shows how long it usually takes once enough runs have been measured.

**Waiting for cluster upgrade.** Arena is upgrading the agent on your BYOC cluster. The run starts by itself when the upgrade finishes, or after 70 minutes if it does not.

**Waiting longer than you expect on your own cluster.** Check that a node matches the class’s placement labels: the cluster’s **Health** names any class under **Classes with no matching nodes**. Run `arena cluster smoke` to test that the cluster can start a job. See [BYOC troubleshooting](../compute/install-byoc-cluster.md#troubleshooting).

**Your BYOC cluster shows Degraded, or a health check shows Failing.** See [BYOC troubleshooting](../compute/install-byoc-cluster.md#troubleshooting).

**An Update badge on a BYOC resource class.** The image stored on the class is behind the current training image. Jobs still run the current image, and **Reinstall** leaves the badge in place. See [Resource classes](../compute/resource-classes.md#change-or-remove-a-class).

To cancel a waiting run, use **Stop training** from the row menu, or `arena experiments stop`. All statuses are on [Experiment statuses](experiment-statuses.md).

## A run failed or stopped

**Find out why.** Open the row menu and click **View logs**, or run `arena experiments status` and `arena experiments logs`. The failure reason says whether it was your code, data or settings, or an error on Arena’s side. Runs that fail on Arena’s side are refunded.

**A running job stopped on its own.** On Pay as you go, running jobs stop when the balance falls below `$5.00`. Add balance and resume.

**Resume is missing.** **Resume** needs a saved checkpoint and a **Stopped**, **Succeeded** or **Failed** run. See [Monitor, halt and resume](../guides/monitor-halt-resume.md).

**No metrics on the results page.** Charts fill in once the run is **Running**. See [Results and checkpoints](../guides/results-and-checkpoints.md).

## Environments and datasets

**An environment version fails validation.** The error shows on the version. Fix the code or dependencies and validate again. See [Validate and profile an environment](../guides/validate-an-environment.md).

**You cannot train on an environment yet.** It needs a validated version and a finished profile. Profiling takes about fifteen minutes.

**A dataset upload is rejected.** Each dataset type has its own columns. Check the format for your type on [Upload a dataset](../guides/upload-a-dataset.md).

## Agents

**Stuck on Deploying.** Starting inference usually takes a minute or two, longer for large checkpoints. On Arena cloud, a deployment first waits for a free GPU machine (**Waiting for capacity**, up to 24 hours, not charged), then has 90 minutes from the machine’s arrival to become healthy. If it doesn’t, it fails and you get a notification.

**Deployed, then back to Deploying.** Arena found the endpoint unreachable and is bringing it back. If the card turns **Deployment failed**, read the reason on the agent’s page, then **Connect** or **Deploy** again.

**Stopped without you stopping it.** The balance could not cover the next hour, or an Arena admin stopped it. Add balance, then deploy again.

**Calls fail or return nothing.** Check the agent is **Deployed**, and copy the snippet from the agent’s page. See [Invoke an agent](../guides/invoke-an-agent.md) and [Inference contract](inference-contract.md).

## CLI

**A command fails with a sign-in error.** Run `arena login` again. If `ARENA_API_KEY` is set, the CLI uses it instead, so check it has not been rotated or revoked. See [Install and sign in](../cli/install.md).

**A judge or job cannot find an API key.** The job reads organization secrets by name. Check the name in your manifest matches one in `arena secrets list`. See [Organization secrets](../account/account.md#organization-secrets).

## Account and organization

**You cannot invite members or add balance.** Only an organization **Admin** can. Ask an **Admin** to do it, or to make you one. See [Profile and organizations](../account/account.md#roles).

**You see someone else’s projects, or not your own.** Data belongs to one organization at a time. Use **Switch organisation** in the profile menu.

**Bring your own compute classes are missing in the wizard.** Your organization needs to be on **Enterprise**, and an **Admin** needs to connect a cluster and switch its resource classes **On**. The cluster must be **Connected** and not disabled, and each class needs at least one GPU per worker. See [Resource classes](../compute/resource-classes.md).

If none of this matches, contact AgileRL support with your organization, the experiment or agent name, and the status you see.
