Errors

List JavaScript errors

JavaScript errors the site's pages threw, grouped by fingerprint (error name, normalized message and top stack frame), most affected first. Each group counts page views and visits and lists the releases, page revisions, variants, page groups and device classes it appeared in, each counted on its own. A stack frame is shown as the original source file and line when a source map for that release was uploaded. Example recordings need the replay scope. Recording must be on for the site (the site setting errorCapture); until then the list is empty. Ranges are limited to 92 days and default to the last 30.

Required token scopes are listed in x-hootlens-scopes. A signed-in person needs the matching permission on the site instead (the viewer and editor roles are presets of the permissions).

get/v1/projects/{projectId}/errors

Request

  • Base URL: https://hootlens-api-368877148687.us-east1.run.app
  • URL: https://hootlens-api-368877148687.us-east1.run.app/v1/projects/{projectId}/errors
  • Auth: HTTP bearer

Path parameters

projectIdstring required

An identifier: 1 to 80 letters, digits, underscores or hyphens.

The project ID. Project IDs are public identifiers, not secrets.

Query parameters

frominteger

Start of the range, epoch milliseconds. Counts are daily, so the range covers every UTC day it touches.

tointeger

End of the range, epoch milliseconds. Defaults to now.

groupstring

Only errors seen on this page group ID.

releasestring

Only errors seen under this release (the build ID the site reports).

deviceClass'desktop' | 'tablet' | 'mobile'

Device class. Viewports are bucketed by device class, never by exact pixel size.

limitinteger

Most error groups to return.

Response

The error groups.

frominteger required

Epoch milliseconds.

tointeger required

Epoch milliseconds.

recordingboolean required

False when the site has not turned error recording on.

moreinteger required

Groups left out by limit.

droppedinteger

Occurrences not kept because a day already held the most distinct errors it can.

Changes

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