---
title: Unlogged API Call Error Condition
description: "**Impact area** Manageability **Severity** Medium **Affected element** Business Rule Script Include Inline Script ## Rule number **SN-0372** ## Impact All error conditions in transactions executed through REST or SOAP calls should be logged via `gs.error`, `gs.warn` or `gs.debug`. ## Remediation Add the required logging…"
url: "https://community-staging.qualityclouds.com/qcdocs/qc/servicenow-rules/unlogged-api-call-error-condition/"
updated: "2025-03-21"
category: Rules
---

# Unlogged API Call Error Condition

**Impact area**

Manageability

**Severity**

Medium

**Affected element**

Business Rule

Script Include

Inline Script

## Rule number

**SN-0372**

## Impact

All error conditions in transactions executed through REST or SOAP calls should be logged via `gs.error`, `gs.warn` or `gs.debug`.

## Remediation

Add the required logging statements to the catch block of the code which make the REST or SOAP calls.

### Time to fix

15 min
