> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.itential.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.itential.com/_mcp/server.

# Troubleshoot result codes

> Adapter result codes and their meanings.

Most HTTP response codes returned by an adapter come directly from the downstream system. Two result codes are generated by the adapter itself.

**`-2` — Timeout.** The adapter has an `attempt_timeout` property that defines how long it will wait for a response before giving up. If the timeout expires before a response is received, the adapter returns a `-2` code with the message "The Adapter has run out of time for the request" and recommends increasing `request.attempt_timeout`.

**`-1` — Connection reset.** When the downstream system or something in the network drops the connection, the adapter receives and forwards an `ECONNRESET` error with a `-1` code. The message reads "The connection was terminated by the network or external system" and recommends checking connectivity to the external system.

If the adapter is unable to build the request at all — for example, due to a configuration error — it returns its own error with a message and recommendation describing what needs to be resolved.