Errors

A Laravel project with Error Tracking gets an Errors item in its menu, under Run, with the number of unresolved issues next to it. The organization's Errors page in the sidebar, after Uptime, lists the issues of every project in one place.

The issue list #

Each row is an issue: one error, however many times it happened. A row shows its status, level, events per day for the last 14 days, event count, affected users, release and when it was last seen.

  • Search matches the exception, the message and the file.
  • Filters: status (Unresolved by default, Resolved, Ignored, All statuses), environment and level.
  • Sort by last seen, most events or first seen.
  • 50 issues per page.

The organization’s Errors page has the same list across projects, with a project filter; a row opens the issue in its project. The Projects list shows each project’s unresolved count next to its name.

An issue #

The issue page shows the latest stored events, up to 50, with Older and Newer to step through them. For each event:

  • the stack trace, with frames from your code open and vendor frames folded
  • the request, breadcrumbs, tags, user and context

Authorization, cookie and similar headers, cookies, and body or query values whose key looks like a password, token, secret or key are shown as [Filtered].

Above the events are the 14-day chart, and the first and last release. The first release links to the deployment that shipped it.

Resolving and ignoring #

ActionWhat it does
ResolveMarks the issue resolved. An event from any release opens it again as a regression.
Resolve in next releaseResolves it for the release the project serves now. Events from that release do not reopen it; events from any other release do.
IgnoreKeeps counting events without alerting.
UnresolveOpens it again.
DeleteRemoves the issue and its stored events. If the error happens again, it opens as a new issue.

To act on several issues, select their rows and choose Resolve, Ignore, Mark Unresolved or Delete, up to 500 at a time. Resolve all unresolved in the More menu resolves every unresolved issue in the project.

Alert rules #

More → Alert rules decides what the project sends:

AlertDefaultWhen
New issueonthe first event of an issue
Regressionona resolved issue happens again
SpikeoffN or more events within M minutes. N is 2 to 100,000, M is 1 to 1,440

Both channels, email and Slack, are on by default. Alerts cover the production environment unless you add others; an event without an environment never alerts. Ignored issues do not send spike alerts.

Who receives them #

Members who can see the project receive the alerts. Each member chooses per alert and channel under Settings → Notifications: New error issue, Error regression and Error spike, all on by default. Slack alerts go to members who connected Slack there.

How often #

  • At most one alert per issue per hour, whatever the type.
  • When more than 10 new issues appear in a project within 10 minutes, the first 10 are sent one by one and the rest arrive in one summary when the 10 minutes end.

What an alert says #

Every alert names the project, the exception and where it was thrown, the level, environment and release. A new issue also names the deploy that shipped the release: “Introduced by deploy #N (commit) by name, X before the first event”. A regression names the release it came back in and the one it was resolved in. A spike gives the count, the window, and how many times the issue’s usual rate that is, measured against the last 14 days.

The alert has View issue, Resolve and Ignore buttons. Resolve and Ignore open the issue page and ask before changing anything.

Who can do what #

  • Viewing issues and alert rules needs error:read, which every role has.
  • Resolving, ignoring and deleting needs error:manage: Owner, Admin, Manager and Developer.
  • Editing alert rules needs error:configure: Owner, Admin and Manager.

API #

An API token needs the matching permission for each endpoint:

EndpointPermission
GET /api/v1/projects/{project}/errors (status, environment, level, q, sort, page)error:read
GET /api/v1/errors (same filters, plus project)error:read
GET /api/v1/errors/events/{event}error:read
GET /api/v1/projects/{project}/errors/{issue}error:read
GET /api/v1/projects/{project}/errors/{issue}/events/{event}?received_at=error:read
PATCH /api/v1/projects/{project}/errors/{issue} with {action}error:manage
DELETE /api/v1/projects/{project}/errors/{issue}error:manage
POST /api/v1/projects/{project}/errors/bulk with {action, ids[]} or {action, all_unresolved}error:manage
GET /api/v1/projects/{project}/errors/alert-settingserror:read
PUT /api/v1/projects/{project}/errors/alert-settingserror:configure

GET /api/v1/errors lists the issues of every project in the organization; each row carries the project’s id and name.

Open an event from its id #

GET /api/v1/errors/events/{event} returns one event with its project and issue, and needs nothing but the event id. The id is the one the application log prints next to the exception and the one php artisan sentry:test prints: 32 hex digits, or the same digits with dashes, in either case. An id that does not exist, is malformed, or belongs to another organization returns 404.

Cookies, Authorization and similar request headers, and password or token fields in the request body are masked in the response.

Use it from an assistant #

Four MCP tools read and update the same issues, so an assistant can start from a log line and open the event behind it. The API token or MCP connection needs error:read to read and error:manage to resolve, ignore or reopen; a token without them is refused until you add them under Settings → API tokens. Deleting an issue is only available in the console.