Skip to main content

Accepts errors from the UI client

POST <your-unleash-url>/api/admin/record-ui-error

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

This endpoint accepts error reports from the UI client, so that we can add observability on UI errors.

Request

Body

required

recordUiErrorSchema

  • errorMessage string required

    The error message

  • errorStack string

    The stack trace of the error

Responses

This response has no body.

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

Request

Base URL
<your-unleash-url>
Security Scheme
apiKey
Body required
{
"errorMessage": "string",
"errorStack": "string"
}
curl / cURL
curl -L -X POST '<your-unleash-url>/api/admin/record-ui-error' \
-H 'Content-Type: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
--data-raw '{
"errorMessage": "string",
"errorStack": "string"
}'