> Source: [sk182786](https://support.checkpoint.com/results/sk/sk182786)

# sk182786 - api.elg outbound payload shows "Not written as the response is successful. See sk182786 for more information."

| Property | Value |
|----------|-------|
| Solution ID | sk182786 |
| Date Created | 2024-10-28 |
| Last Modified | 2026-04-09 |
| Technical Level | Advanced |
| Products | Security Management Server, Multi-Domain Security Management Server |
| Versions | R82, R81.20, R81.10 (EOS), R81.10 (EOS), R81.20, R82 |

## Symptoms

- api.elg shows the following:
> *DATETIME*` INFO org.apache.cxf.interceptor.LoggingOutInterceptor.log:277 [`*THREAD-ID* `] - Outbound Message`  
> `
> ---------------------------`  
> `
> ID: 507`  
> `
> Response-Code: 200`  
> `
> Content-Type: text/plain`  
> `
> Headers: {Content-Type=[text/plain], Date=[`*DATETIME* `]}`  
> `
> Payload: Not written as the response is successful. See sk182786 for more information.`  
> `
> --------------------------------------`

* Response-Code: `200` indicates a successful response, so no payload is logged.
* Content-Type and Headers: Lists the message's content type (`text/plain`) and additional headers.
* Payload: Notes that payload content is skipped for successful responses to conserve resources.

## Cause

To optimize performance, the API does not log the outbound payload in `api.elg` when a call completes successfully with a `200` response code. However, if the response code differs from `200`, the outbound payload automatically logs to `api.elg` for diagnostic purposes.

Enabling API debug mode overrides this default behavior, causing the outbound payload to log to `api.elg` for every API call, regardless of the response code.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
