How it works
How BugBeacon works
One HTTP request goes in, one issue comes out. This page follows a report from your agent's POST to the issue page, step by step, with what is stored where.

The path of one report
- The request. Your agent, app or script sends
POST /api/v1/notifywith a JSON body of up to 2 MB. The project key goes in theX-Api-Keyheader, or asapiKeyin the body. - The key check. A Cloud Function looks the key up and finds its project. An unknown key gets
401(no key) or400(wrong key) and nothing is stored. - The stack trace. If
error.stacktraceis a string, it is split into frames. Three line formats are read: V8 (Node.js and browsers), JVM (Kotlin and Java) and Apple symbol lines. You can also send frames as an array of objects. - The fingerprint. The report gets a key that decides which issue it belongs to. How grouping works explains the key in full.
- The issue. In one Firestore transaction the issue is created, or its event count, user count, last-seen time and daily count go up. A resolved issue goes back to unresolved.
- The event. The full report is saved under the issue: frames, raw trace, breadcrumbs, device, user and metadata.
- The answer. BugBeacon replies
202withissueId,eventIdandisNewIssue.
HTTP/1.1 202 Accepted
{
"success": true,
"issueId": "9f3c2a71e0b45d18c6a2b7f4",
"eventId": "Qm4v0nRk2sWb8TzY1cLp",
"isNewIssue": false,
"message": "Crash report accepted for processing"
}
What is stored
| Where | What |
|---|---|
projects/{id} | The project, its key, its owner and members, and totals per platform. |
…/issues/{fingerprint} | One issue: error class and message, status, first and last seen, event and user counts, daily counts and a summary of the latest event. |
…/issues/{id}/events/{id} | Every report in full, as your agent sent it, with the parsed frames. |
User counts come from user.id. The last 50 distinct ids are kept on the issue. If you send no user, the request's IP address is stored as user.ip.
Who can write and who can read
Reports never reach the database from the client that sent them. Firestore rules deny every write to events; only the ingest function, which runs with admin rights after the key check, stores reports. Signed-in owners and members can read their project and change an issue's status from the dashboard.
The project key is a write-only key for reports. It cannot read issues. Still, keep it out of public repositories: anyone with it can add reports to your project.
What it does not do yet
- There is no read API. Agents get
issueIdandisNewIssueback, and people read issues in the dashboard. - There is no source map or dSYM upload: frames are shown as they arrive.
- Alerts by webhook can be set up in a project's settings screen, but sending them is not built yet.