> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tryhellosearch.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Errors

> One error shape, stable codes.

Every error the API answers has the same shape:

```json theme={null}
{ "error": { "code": "invalid_parameter", "message": "period: give either period, or from and to, not both." } }
```

`code` is stable and meant for your program. `message` is meant for the person reading it, and may change.

| Status | `code` | When |
| - | - | - |
| 401 | `unauthorized` | no valid key (see [Authentication](https://docs.tryhellosearch.com/authentication.md)) |
| 400 | `invalid_body` | a request body that is not a JSON object |
| 400 | `invalid_parameter` | a query parameter or a body field the route cannot read; the message starts with its name |
| 404 | `not_found` | no opportunity of your account has this id, or the opportunity's format is not decided yet (`format: null` in the list) |
| 409 | `not_awaiting_decision` | a decision on an opportunity that no longer awaits your answer; nothing was changed |

## Nothing is guessed

A parameter the route cannot read is refused, never silently replaced by a default: `?period=1y` is a 400, not thirty days. An empty `period`, `from`, `to`, `engine` or `status` (`?period=`) counts as left out; an empty `page` or `per_page` is refused. Unknown parameter names are ignored.

A refused call changes none of your data.

> [!NOTE]
>
> A timeout or an outage of the hosting platform can still answer a `5xx` with another body, or none. Treat any status your program does not expect as a failure, without reading `error.code`. The MCP server reports its own errors as tool errors and JSON-RPC errors: see [Tools](https://docs.tryhellosearch.com/mcp/tools.md#errors).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.