---
title: "Report Frontend Error"
method: POST
path: "/api/errors/report"
tags: ["errors"]
---

# Report Frontend Error

`POST /api/errors/report`

## Request

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

Accept an error report from the frontend and log it to Supabase.

## Request body

- FrontendError
  - `error_type` string
  - `message` string, required
  - `symbol` string, nullable
  - `endpoint` string, nullable
  - `stack` string, nullable
  - `context` object

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/equity-rank/apis/equity-rank-api.md) · [All operations](https://skmtc.dev/equity-rank/apis/equity-rank-api/llms.txt) · [OpenAPI document](https://skmtc.dev/equity-rank/apis/equity-rank-api/revisions/c2f2463fee33?raw)
