Browser error report, sent by the interface itself. Agents need not call it.

The interface reports on its own JS errors, unhandled rejections, scripts/CSS that failed to load and CSP blocks — once per session — and the app reports handled failures through window.mmErro.relata. The server validates the envelope, redacts credentials, e-mails and phone numbers, merges repeats of the same failure per minute and records an operational event; nothing is written to a database. It keeps no IP, cookie, query string or full User-Agent. Always answers 204, even for an invalid report. Returns: 204 with no body, always — an invalid, repeated or over-cap report also gets 204.

post/api/erro-cliente

Request

  • Base URL: https://agentalog.com
  • URL: https://agentalog.com/api/erro-cliente
  • Auth: none required

Request body

codestring required

Failure code, UI- + letters/digits (UI-JS-001 global error, UI-PROMESSA-001, UI-RECURSO-001, UI-CSP-001, UI-APP-001 app report).

phasestring required

Where it broke, lowercase: global, promessa, script, load_list…

pathstring

Path of the open page, without query; numbers, hashes and tokens in it are kept as :id.

messagestring

Error message, up to 2000 characters.

stackstring

Stack trace, up to 12000 characters.

sourcestring

Originating script; only its path is kept.

lineinteger

Line in the originating script.

columninteger

Column in the originating script.

visivelboolean

Whether the tab was visible when it broke.

buildstring

Build of the reporting page (its <meta name="build">), up to 64 letters, digits, ., _ or -; it dates the failure.

Response

204 with no body, always — an invalid, repeated or over-cap report also gets 204.

Changes

No recorded changes to this operation across all 1 revision of this API.