# Error

The **Error** node is used to return an error response to the client (browser).

## Options

### Status code

This is the HTTP status code that will be sent with the response. It should be a valid HTTP status code, such as 400 for a bad request or 500 for a server error.

### Message

This is the error message that will be sent in the body of the response. It should be a string containing a brief description of the error.

## Output

Returns the JSON response.

{% hint style="warning" %}
With SSR enabled, the Error node redirects the client (browser) to the error page defined in the start node.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.alphi.dev/response-nodes/error.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
