---
title: "Debug Boom Endpoint"
method: GET
path: "/debug/boom"
---

# Debug Boom Endpoint

`GET /debug/boom`

## Request

- Base URL: `https://api.pavoot.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pavoot.com/debug/boom`
- Auth: none declared

Fail on purpose, to exercise the error masking and reporting flow end to end.

Two shapes, because they take different paths through auxiliary/error_handlers.py:
    ?kind=unhandled  a bare exception escaping the endpoint
    ?kind=leak       a 500 whose detail contains real infrastructure strings, which
                     is what 113 sites in this codebase actually do

Both must come back as a generic message plus a reference, with the real text only in
CloudWatch. SUPER_ADMIN only, and it refuses outright when APP_ENV=prod — a working
"make the server fail" endpoint has no business existing in production.

## Query parameters

- `kind` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pavoot/apis/pavoot-api.md) - [All operations](https://skmtc.dev/pavoot/apis/pavoot-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pavoot/apis/pavoot-api/revisions/8c0cd91c2a05?raw)
