# 0065: Метка внешнего скрипта не найдена

Компилятор не смог найти начальную [метку](/ru/coding/data-types.md#metki) одного из внешних скриптов.

**Возможные решения**: проверьте, чтобы все внешние скрипты, объявленные в заголовке, были в файле. Добавьте пропущенный скрипт, или уберите его объявление из заголовка:

```
DEFINE MISSIONS 1
DEFINE MISSION 0 AT @MISSION_0

DEFINE EXTERNAL_SCRIPTS 2
DEFINE SCRIPT TEST AT @SCRIPT
DEFINE SCRIPT TEST2 AT @SCRIPT2

DEFINE UNKNOWN_EMPTY_SEGMENT 0
DEFINE UNKNOWN_THREADS_MEMORY 0

:MAIN

:MISSION_0

:SCRIPT

// ошибка, метка SCRIPT2 не найдена
```


---

# 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/ru/troubleshooting/errors/0065.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.
