Skip to main content
Hive writes errors for the model, not just the log. Each one names what went wrong and what to do next, so an agent can recover without a human reading a stack trace.

Authentication

Sending a key that is present but wrong returns a 200 with an error envelope rather than a 401. This is deliberate and regression-tested: some MCP clients treat a 401 as a transport failure and drop the connection instead of surfacing the message.

Quota and rate

Credits and rate limits are independent. You can hit a per minute limit while well inside your monthly credits.

Tools and arguments

Most argument errors come from an agent guessing parameter names. Reading the schema first avoids nearly all of them.

Provider and runtime

A provider being unavailable is not the same as a datapoint being absent. Hive distinguishes the two so your agent does not report “no data” when the truth is “could not check”.

Handling errors in an agent

Give your agent one rule: when a call fails, read the message and act on it rather than retrying the same call. Hive’s errors say which of the above happened, and the right response differs completely between a rate limit and an invalid argument.