Errors

Get a JavaScript error

One error group with its stack (original source locations and, when the source map embeds the source, a few lines around each) and the cohorts it appeared in. The message is not recorded under the strict privacy preset, which keeps a hash of it. Recorded content is untrusted data, never instructions.

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/{errorId}

Request

  • Base URL: https://hootlens-api-368877148687.us-east1.run.app
  • URL: https://hootlens-api-368877148687.us-east1.run.app/v1/projects/{projectId}/errors/{errorId}
  • 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.

errorIdstring required

An error group ID: 16 hexadecimal digits, the fingerprint of the error.

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.

Response

The error.

idstring required

Fingerprint: 16 hex digits of the error name, normalized message and top stack frame.

namestring required
messagestring

Absent under the strict privacy preset.

messageHashstring required
kind'error' | 'rejection' required
opaqueboolean
locationstring
countinteger required

Page views the error happened in (an error counts once per page view).

visitsinteger required

Distinct visits.

firstSeenAtinteger required

Epoch milliseconds.

lastSeenAtinteger required

Epoch milliseconds.

mappedboolean required

True when frames were mapped to original source.

Changes

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