---
title: Bad advice loop termination URL
description: When a user has insufficient credentials to access a requested resource, AM can return policy advice that requires the user to authenticate at a higher level.
component: java-agents
version: 2025.11
page_id: java-agents:properties-reference:org.forgerock.agents.bad.advice.loop.termination.url
canonical_url: https://docs.pingidentity.com/java-agents/2025.11/properties-reference/org.forgerock.agents.bad.advice.loop.termination.url.html
---

# Bad advice loop termination URL

When a user has insufficient credentials to access a requested resource, AM can return policy advice that requires the user to authenticate at a higher level.

If there is an error in the AM configuration, an infinite authentication loop can occur, where the user is repeatedly asked to authenticate.

This property defines the URL or URI of a page to display when the agent breaks a loop. Consider indicating on the page that there is an AM configuration error.

|                          |                                                                                                                                                                    |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Property name            | `org.forgerock.agents.bad.advice.loop.termination.url`                                                                                                             |
| Aliases                  | `org.forgerock.agents.bad.advice.loop.termination.url`   Introduced in Java Agent 2023.11   [Recognized](preface.html#how_am_manages_multiple_aliases) from AM 7.1 |
| Function                 | Bad configuration detection                                                                                                                                        |
| Type                     | String                                                                                                                                                             |
| Bootstrap property       | No                                                                                                                                                                 |
| Required property        | No                                                                                                                                                                 |
| Restart required         | No                                                                                                                                                                 |
| Local configuration file | `AgentConfig.properties`                                                                                                                                           |
