# Scripts are failing on the conversion path

Rule `PERF_ERROR_001` · Performance · high severity · medium effort
By Leakly · Published 2026-09-25 · Updated 2026-09-27 · https://leakly.ai/library/PERF_ERROR_001

## The problem

The page raised JavaScript errors or failed requests while loading.

Script failures break the parts of a page that are usually the interactive ones — forms, validation, payment widgets. The visitor sees a dead control, not an error.

## How Leakly detects it

- **deterministic**: A structural fact counted in the rendered page, or a measurement against a threshold.

## What counts as proof

- Elements located in the rendered page, with their position and size.

Without this evidence the candidate is dropped before it reaches a report — never softened into advice.

## How to fix it

Fix the errors on the conversion path.

1. Resolve the script errors and failed requests the browser reported.
2. Check the form still submits when the failing script is blocked.

---

Source: https://leakly.ai/library/PERF_ERROR_001
