errors

Mark an error group as ignored. Provide a duration to ignore it for a fixed window, and/or thresholds that re-surface the error when exceeded. Send a JSON body (use {} to ignore indefinitely).

post/api/v1/errors/{errorId}/ignore

Request

Request body

durationinteger

How long to ignore the error for, in milliseconds.

occurrenceRatenumber

Re-surface the error if its occurrence rate exceeds this many occurrences per minute.

totalOccurrencesinteger

Re-surface the error once it accrues this many new occurrences after being ignored.

reasonstring

An optional human-readable reason for ignoring the error.

Example request

{
  "duration": 86400000
}

Response

Successful request

idstring required

The unique ID of the error group, prefixed with error_

fingerprintstring required

The raw fingerprint the error is grouped by

taskIdentifierstring required

The identifier of the task the error belongs to

errorTypestring required

The error type or name (e.g. TypeError)

errorMessagestring required

The normalized error message

countinteger required

The total number of occurrences of this error group

firstSeenstring date-time required
lastSeenstring date-time required
affectedVersionsstring[] required

The most recent worker versions the error has occurred in (up to five)

status'unresolved' | 'resolved' | 'ignored' required
resolvedAtstring date-time nullable
resolvedInVersionstring nullable
resolvedBystring nullable

The ID of the user who resolved the error, when attributable

ignoredAtstring date-time nullable
ignoredUntilstring date-time nullable
ignoredReasonstring nullable
ignoredByUserIdstring nullable
ignoredUntilOccurrenceRatenumber nullable
ignoredUntilTotalOccurrencesinteger nullable

Example response

{
  "id": "error_8f3b2a1c9d4e5f60"
}

Changes