Reporting a client-side error¶
Note
The Admin API requires no token. The Admin API is typically protected at the network level.
Send the request as POST to the path /admin/v1/client-errors.
Description¶
Accepts a JavaScript error report from the admin UI. The message is truncated to 2,000 characters and the stack trace to 8,000 characters.
Example¶
Example of the request body:
Responses¶
The endpoint answers the request with the following status codes:
| Status code | Description |
|---|---|
201 |
Error report recorded. |
400 |
Invalid request body or missing required field (Admin API). |