WePeopleDocs
IntegrationsPricingDocsSign inGet started
Get started
Docs home

Getting Started

  • What is WePeople
  • First week checklist
  • Core concepts

Product

  • Monitoring
  • Reports
  • People & profiles
  • SPACE scoring
  • Organization settings
  • Statistics
  • Billing & retention
  • Privacy model

Integrations

  • Overview
  • Slack
  • GitHub
  • Jira
  • Trust model

Developers

  • Platform overview
  • Quick start
  • Ingest guide
  • Custom statistics
  • Hosted MCP
  • TypeScript SDK

API Reference

  • Overview
  • Auth & headers
  • GET ping
  • POST events
  • POST snapshots
  • Apps statistics
  • Error codes
  • OpenAPI & SDK

Browse docs

API Reference

Error codes

Every failed Ingest or apps statistics request returns JSON with a stable machine-readable code. Check code first — message is human-friendly and may change copy edits.

Error shape

Error payloadjson
{
  "error": {
    "code": "forbidden_event_type",
    "message": "eventType 'deploy.shipped' is not in this app's whitelist.",
    "requestId": "req_01HP3K5V4J3M9NVT8XZKQ9YQ2E",
    "docsUrl": "https://wepeople.app/docs/reference/errors"
  }
}

Cite requestId in support tickets. docsUrl deep-links to this page.

Code table

CodeHTTPWhen
missing_authorization401No Authorization header present.
invalid_key401Key does not exist or is malformed.
key_revoked401Key was revoked in the Developer tab.
key_expired401Key is past its expiresAt.
plan_disabled402Plan does not include the developer API.
quota_exceeded402Monthly event quota (maxEventsPerMonth) exhausted.
rate_limited429Per-key (60/s) or per-org (600/s) burst exceeded.
forbidden_event_type403eventType is not in the app's whitelist.
invalid_body400Validation failed; message lists first issues.
batch_too_large413Body > 1 MB or batch > 100 events.
missing_actor400actor lacks workerId, externalId, and email.
worker_not_found404workerId did not resolve for this org.
internal_error500Unexpected failure; retry with backoff.

Handling tips

  • rate_limited — respect Retry-After; the SDK backs off automatically.
  • forbidden_event_type — add the type to your app whitelist in Organization → Developer.
  • quota_exceeded — upgrade plan or wait for the monthly reset.
  • internal_error — retry with exponential backoff; include requestId if it persists.

Partial batch failures on POST events return 207 with per-row codes in results.rejected — not the top-level error envelope.

On this page

  • Error shape
  • Code table
  • Handling tips
WePeople

Team insight, not surveillance. A lead's-eye view built on metadata from the tools your team already uses — never source code, never messages, never DMs.

Product

  • Monitoring & Reports
  • SPACE scoring
  • Pricing

Docs

  • Docs home
  • Getting started
  • Developer platform
  • API reference
  • MCP

Integrations

  • Browse integrations

Company

  • Support
  • Status

Legal

  • Brand
  • Privacy
  • Terms

© 2026 WePeople. Built with care.

Metadata only. No source code, no message bodies, no DMs — read the policy.