# Errors

> Error codes of the Intear API, what each one means, and the HTTP status it comes with.

This page is part of the Intear API docs. The Intear API is at `https://api.intea.rs` and `wss://api.intea.rs/ws`, with no API key. https://docs.intear.tech/api/llms-full.txt has all of its pages in one file, and https://docs.intear.tech/llms.txt lists every page of the Intear docs.

An error is `{ "code": "...", "message": "..." }`: in a reply's `error` on the WebSocket, or the body's `error` over HTTP. `message` is for developers and says what went wrong.

| Code | HTTP | Meaning |
| --- | --- | --- |
| `bad_request` | `400` | Params that aren't valid |
| `unknown_method` | `404` | No such method, or no such HTTP path |
| `unknown_field` | `400` | A field that doesn't exist, or that can't be used where it was, like a text field in `sort` |
| `unsupported_threshold` | `400` | A `min_change` or `min_interval_ms` that isn't one of the supported values |
| `not_found` | `404` | No such token, trade or subscription |
| `too_many` | `400` | Over one of the [limits](https://docs.intear.tech/api/reference/limits.md) |
| `too_far_behind` | `400` | More than 10,000 rows after an `after_id`, or a subscription the client fell too far behind on |
| `not_indexed` | `503` | A time after the latest indexed block, in `prices.at` |
| `upstream_unavailable` | | Only in `balances.*` `errors`, for a source that couldn't be read, and from `native` for an account that doesn't exist |
| `internal` | `500` | Something went wrong on the server |
