Skip to content

Report Client Error

POST
/api/client-errors

Log a client-side error report. Never raises — logging failures must not surface as a second error to the user whose original error we’re trying to record.

Authorizations

Request Body required

Body posted by the frontend’s reportError() helper.

object
context
Any of:
string
<= 200 characters
message
required
string
<= 2000 characters
stack
Any of:
string
<= 8000 characters
url
Any of:
string
<= 2000 characters

Responses

204

Successful Response

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string