Resolve an error
Mark an error group as resolved. Optionally record the worker version that resolved it. Send a JSON body (use {} when you have no fields to set).
Authorizations
Use your project-specific Secret API key. Will start with tr_dev_, tr_prod, tr_stg, etc.
You can find your Secret API key in the API Keys section of your Trigger.dev project dashboard.
Our TypeScript SDK will default to using the value of the TRIGGER_SECRET_KEY environment variable if it is set. If you are using the SDK in a different environment, you can set the key using the configure function.
import { configure } from "@trigger.dev/sdk";
configure({ accessToken: "tr_dev_1234" });
Path Parameters
The ID of an error group, starts with error_.
Body
The worker version the error was resolved in.
20240101.1
Response
Successful request
The unique ID of the error group, prefixed with error_
"error_8f3b2a1c9d4e5f60"
The raw fingerprint the error is grouped by
The identifier of the task the error belongs to
The error type or name (e.g. TypeError)
The normalized error message
The total number of occurrences of this error group
The most recent worker versions the error has occurred in (up to five)
unresolved, resolved, ignored The ID of the user who resolved the error, when attributable

