---
title: "Report Client Error"
method: POST
path: "/v2/errors/client"
tags: ["v2 - Error Reports"]
---

# Report Client Error

`POST /v2/errors/client`

## Request

- Base URL: `https://api.jubjubapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jubjubapp.com/v2/errors/client`
- Auth: HTTP bearer

Record an automatic client error. High-volume + anonymous-capable, so it
writes straight to error_reports_v1 and does NOT route through the agent
system. Fields are truncated to keep docs well under Firestore's 1MB limit.

## Headers

- `Authorization` string, nullable

## Request body

- ClientErrorReport: Payload from the dashboard error-reporter (unhandled / api_error / timeout).
  - `error_message` string, required
  - `stack_trace` string, nullable
  - `route` string, nullable
  - `build_id` string, nullable
  - `user_agent` string, nullable
  - `type` string, nullable
  - `context` object, nullable

## Response `202`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jubjubapp/apis/jubjub-api.md) - [All operations](https://skmtc.dev/jubjubapp/apis/jubjub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jubjubapp/apis/jubjub-api/revisions/353157b296f2?raw)
