---
title: Maximum REST Response Body Size
description: The maximum size in bytes of a response body the agent accumulates from a single PingAM server response on the agent REST channel. When a response exceeds this size, the agent aborts reading the response and treats the request as failed.
component: web-agents
version: 2026
page_id: web-agents:properties-reference:com.forgerock.agents.config.rest.response.body.max.size
canonical_url: https://docs.pingidentity.com/web-agents/2026/properties-reference/com.forgerock.agents.config.rest.response.body.max.size.html
llms_txt: https://docs.pingidentity.com/web-agents/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
---

# Maximum REST Response Body Size

The maximum size in bytes of a response body the agent accumulates from a single PingAM server response on the agent REST channel. When a response exceeds this size, the agent aborts reading the response and treats the request as failed.

Legitimate PingAM responses (sessions, policies, notifications) are well below the default; increase this only if your deployment returns unusually large responses from PingAM.

Default: `4194304` (4 MB)

|                    |                                                                                             |
| ------------------ | ------------------------------------------------------------------------------------------- |
| Property name      | `com.forgerock.agents.config.rest.response.body.max.size`   Introduced in Web Agent 2026.11 |
| Function           | Advanced                                                                                    |
| Type               | Integer                                                                                     |
| Bootstrap property | Yes                                                                                         |
| Required property  | No                                                                                          |
| Restart required   | No                                                                                          |
