# 0041: Invalid mission id

A mission number is negative, or is greater or equal to the total missions number.

**Possible solutions:** change the id number:

```
DEFINE MISSIONS 1
DEFINE MISSION -1 at @label // error, id can not be negative
DEFINE MISSION 1 at @label // error, id is greater or equal than the total number
DEFINE MISSION 0 // correct
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sannybuilder.com/troubleshooting/errors/0041.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
