# 0097: Too many actual parameters

The compiler found more arguments than it is required for the current [instruction](/language/instructions.md).

The number of arguments for the current instruction can be found in [Sanny Builder Library](https://library.sannybuilder.com/). It is also visible in the status bar when the `Show opcode info` [option](/editor/options/editor.md#editor-configuration) is enabled.

Some instructions have a variable number of arguments. For example, `004F: start_new_script @label [arguments]` accepts extra arguments to set the initial values of local variables in the new script. The number of variable arguments is also [limited](/scm-documentation/gta-limits.md) and is equal to the total number of local variables available to the scripts of the target game.

**Possible solutions:** provide the required number of parameters:

```pascal
0001: wait 0 1 // error, expected one parameter
0001: wait 0 // OK
```


---

# 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/0097.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.
