Promptles
Debugging & Error Handling

Root Cause

intermediate

Definition

The underlying reason a bug happens, not just the symptom you see. A page might show a blank screen (symptom), but the root cause could be a typo in an API URL three files away. Fixing the root cause prevents the bug from coming back in a different form.

In the wild

Symptom: 'The user list is empty.' Quick fix: hardcode some users. Root cause: the API call uses http instead of https, so the browser blocks it silently. Fixing the URL solves it for real.

More from Debugging & Error Handling