pinned.events

Developer documentation

API Errors and Status Codes

Understand the error envelope, common status codes, and how to debug failed Public API requests.

Understand Pinned Events API error responses, status codes, validation errors, authentication failures, forbidden channel access, conflicts, and rate limits.

Error response format

{
  "error": {
    "code": "invalid_request",
    "message": "Request validation failed.",
    "requestId": "req_01J...",
    "details": {
      "field": "classifications",
      "issue": "Unknown classification slug \"gig\". Use GET /api/public/v1/classifications to list supported values."
    }
  }
}

Status codes

StatusMeaning
400 invalid_requestThe request body, query, or headers are invalid.
401 invalid_api_keyThe API key is missing, malformed, revoked, disabled, or expired.
403 forbidden or insufficient_scopeThe key is valid but lacks scope or channel access.
404 not_foundThe requested resource does not exist or is not accessible.
409 conflictThe request conflicts with existing state, usually idempotency.
429 rate_limitedThe request exceeded a route or policy limit.
500 internal_errorAn unexpected server error occurred.

How to debug

  • Check the requestId in logs when contacting support.
  • Confirm the API key is active and has the required scope.
  • Confirm the key owner still has access to the target channelId.
  • Validate classifications with GET /api/public/v1/classifications.
  • Use stable Idempotency-Key values for retries.

Related pages

Core resources