---
title: Failure node
description: This node has no configurable properties but does the following:
component: auth-node-ref
version: 7.3
page_id: auth-node-ref::auth-node-failure
canonical_url: https://docs.pingidentity.com/auth-node-ref/latest/failure.html
llms_txt: https://docs.pingidentity.com/auth-node-ref/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
---

# Failure node

This node has no configurable properties but does the following:

* If you select Authentication > Settings > Account Lockout > Login Failure Lockout Mode for the realm (in the AM admin UI), the node checks the invalid attempts property of the user profile. It returns a warning message if the number of failed attempts is equal to or greater than the configured Warn User After N Failures value:

  ```json
  {
      "code":401,
      "reason":"Unauthorized",
      "message":"Warning: You will be locked out after 1 more failure(s).",
      "detail":
      {
          "failureUrl":""
      }
  }
  ```

* Increments the failure count in the user profile, when reached.

* Returns an error message if the account is marked as `Inactive`:

  ```json
  {
      "code":401,
      "reason":"Unauthorized",
      "message":"User Locked Out.",
      "detail":
      {
          "failureUrl":""
      }
  }
  ```
