---
title: "Trigger Test Error"
method: GET
path: "/admin/__error_test"
---

# Trigger Test Error

`GET /admin/__error_test`

## Request

- Base URL: `https://usemeridian.us` (the document declares no server; this is the origin it was published from)
- URL: `https://usemeridian.us/admin/__error_test`
- Auth: none declared

Force an error response to exercise the 5xx counter + admin alerting.

Gated by ``MERIDIAN_ENABLE_ERROR_TEST=1`` so it only exists on preview /
staging — never on prod. ``kind=exception`` (default) raises an unhandled
Exception so the middleware logs the traceback and synthesizes a 500.
``kind=500`` returns a raw HTTPException(500) so the middleware records
the response status without going through the exception path.

## Query parameters

- `kind` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/usemeridian/apis/meridian.md) · [All operations](https://skmtc.dev/usemeridian/apis/meridian/llms.txt) · [OpenAPI document](https://skmtc.dev/usemeridian/apis/meridian/revisions/f37a894bd374?raw)
