errorcoredocsbeta

errorcore docs

Stack traces tell you where. errorcore tells you why.

When code breaks in production, the errorcore SDK captures the state that led to the failure: local variables in each frame, the ordered I/O that ran before the throw, the request that triggered it, and the async trace context. It scrubs sensitive fields, encrypts the package inside your process, and ships it to the errorcore ingestion API. The backend authenticates the envelope, stores it as received, decrypts it in a worker, and groups identical failures into a case you read in the console.

These docs cover the parts you operate: installing and configuring the SDK, the credentials it needs, what the ingestion API accepts, how usage is counted, and how agents read your incidents.

Start here

Credentials

errorcore uses two distinct server-side secrets, and neither one is a license key.

  • API keys: ec_live_ bearer credentials that authenticate your servers to the ingest API.
  • Encryption keys: the ERRORCORE_DEK your process uses to encrypt payloads.

Operate

On this page