> For the complete documentation index, see [llms.txt](https://ajaib.gitbook.io/ajaib-exchange-open-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ajaib.gitbook.io/ajaib-exchange-open-api/websocket-references/web-socket-streams/editor/error-messages.md).

# Error Messages

<table><thead><tr><th width="289">Error Message</th><th>Description</th></tr></thead><tbody><tr><td><pre class="language-json"><code class="lang-json">{
    "code": 2,
    "msg": "Invalid request: request ID must be an unsigned integer"
}
</code></pre></td><td>Parameter <code>id</code> had to be provided or the value provided in the <code>id</code> parameter is an unsupported type</td></tr><tr><td><pre class="language-json"><code class="lang-json">{
    "code": 2,
    "msg": "Invalid request: unknown variant %s, expected one of SUBSCRIBE, UNSUBSCRIBE, LIST_SUBSCRIPTIONS"
}
</code></pre></td><td>Possible typo in the provided method or provided method was neither of the expected values</td></tr><tr><td><pre class="language-json"><code class="lang-json">{
    "code": 2,
    "msg": "Invalid request: too many parameters"
}
</code></pre></td><td>Unnecessary parameters provided in the data</td></tr><tr><td><pre class="language-json"><code class="lang-json">{
    "code": 2,
    "msg": "Invalid request: missing field method"
}
</code></pre></td><td><code>method</code> was not provided in the data</td></tr><tr><td><pre class="language-json"><code class="lang-json">{
    "code": 3,
    "msg": "Invalid JSON"
}
</code></pre></td><td>JSON data sent has incorrect syntax.</td></tr></tbody></table>
