# EnvironmentTasksFailed

> The Environment's code ran on the grader, with no network, and stopped before writing the run's tasks.

Source: https://www.nodus-compute.ai/docs/reference/errors/environment-tasks-failed/
Build revision: 4ebfc6023eeed1bd55d9969af1612182a7b0c7ff

<!-- Code generated by tools/errgen. DO NOT EDIT. -->

**HTTP status:** 422 · **Retryable:** no

The Environment’s code ran on the grader, with no network, and stopped before writing the run’s tasks.

## Message

```text
{reason}
```

## What to do

run the Environment’s tasks with no network, fix what the message names, and start a new run

## On the wire

The response is a Kubernetes `Status` with `reason: EnvironmentTasksFailed` and `code: 422`, plus `fix`, `docs` (this page) and `requestId`. `details.causes` lists the fields involved, when there are any. The CLI prints the fix and the request id; the Python SDK raises `nodus.errors.EnvironmentTasksFailed`.
