End Failure Node
| Description | The End Failure node is used to terminate the flow with a failure result. If an error or failure occurs during execution, the flow is redirected to this node, and the process is closed with an unsuccessful outcome. |
| Available in | Authentication, Admin, Self Service, API, Library, Consent, Custom, User Defined |
The set of available options may depend on the flow category or type in which the node is used.
Authentication / Self Service / Admin flows
Node Name: Flow - End Failure
Use a Vuetify Form
By default, the End Failure node displays a **predefined Vuetify form**. Alternatively, you can provide **custom HTML code** to define the failure page layout and behavior. The default template includes the **`{{flow.error.message}}`** variable to display the error message, along with a **Retry** button that allows the user to restart the flow. The default form is **fully customizable** — you can modify colors, labels, and text, or add new elements using the **ADD** button. A **Preview** button is also available.Head element
Inject head elements into the rendered page. See [Start Node]({filename}/pages/io/io-nodes/io-node-types/flow-nodes/start.md#head-element) for full details.Consent flows
Node Name: Flow - End Failure
Configurations: Redirect URL, Use a Vuetify Form, Head element
Redirect URL
Defines the **destination URL** to which the user is redirected once the node ends.API flows
Node Name: Flow - End Failure
Body
Defines the **HTTP response body** returned. The value you configure (JSON or plain text) is returned to the client.Status
Defines the **HTTP status code** returned in the response.API Headers
Allows you to define custom **HTTP headers** to include in the response.Cookie Configurations
Allows you to include **Set-Cookie headers** in the response.Library flows
Node Name: Flow - Nested Failure
No configurations required. Terminates the nested flow with a failure outcome and returns control to the parent flow.
Custom / User Defined flows
Two separate nodes available:
End Failure FrontEnd
Configurations: Use a Vuetify Form, Head element
End Failure BackEnd
Configurations: Body, Status, API Headers, Cookie Configurations