---
title: Client Scripts Should Not Use Unsupported Scripting APIs
description: "Impact Area Manageability Severity High Affected Element Client Scripts ## Rule ID **SN-0304** ## Impact A number of JQuery and Angular API calls and global variables are not supported in client script code which runs as part of the Service…"
url: "https://community-staging.qualityclouds.com/qcdocs/qc/servicenow-rules/client-scripts-should-not-use-unsupported-scripting-apis/"
updated: "2025-03-21"
category: Rules
---

# Client Scripts Should Not Use Unsupported Scripting APIs

Impact Area

Manageability

           Severity

High

           Affected Element

Client Scripts

## Rule ID

**SN-0304**

## Impact

A number of JQuery and Angular API calls and global variables are not supported in client script code which runs as part of the Service Portal, or in the Mobile UI. Trying to use them in Client Scripts where the UI Type is not “Desktop” will result in run time errors.

## Remediation

Understand which Client Scripts will run as part of the Service Portal user interface, and which APIs are available in each case. Remove any unsupported API calls from your code.

### Time to fix

60 min
