# Error -9998: Invalid number of channels

## Causes

This error occurs if you try to record an unsupported number of channels.&#x20;

## Fixes

Go to Audio Setup -> Recording channels and choose a different number of channels. Values which typically work are 1 (mono), 2 (stereo), and the highest number presented on the list. So for a 8 channel interface, 8 should work.&#x20;

{% hint style="success" %}
If the troubleshooting steps aren't working for you, feel free to ask in our communities:&#x20;

* [Forum](https://forum.audacityteam.org/)
* [Discord](https://discord.gg/audacity)
  {% endhint %}


---

# 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://support.audacityteam.org/troubleshooting/error-codes/error-9998-invalid-number-of-channels.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.
