Skip to main content

Errors & Troubleshooting

Every Timepoint service is fronted by the API Gateway at api.timepointai.com (Clockchain public reads are also available directly at clockchain.timepointai.com). This page documents the error shapes, status codes, and rate-limit semantics you should expect — and a decision tree for the most common failures.

Error Response Shape

All Timepoint APIs return JSON. Non-2xx responses include a detail or error field describing what went wrong:
Some endpoints return a bare {"detail": "..."} (FastAPI convention); others return a richer {"error": "...", "code": "..."} envelope. Always check response.status first, then parse the body.

HTTP Status Codes

Decision Tree

Use this to quickly localize a failure:

Rate Limits

The Gateway enforces per-tier limits. All rate-limited responses include these headers: Current tiers (see Rate Limits for the canonical table): Client guidance: on a 429, do not retry immediately — compute wait = X-RateLimit-Reset - now() and sleep. Burst retries cause further throttling.

Authentication Errors

Authentication failures come from the Gateway and follow this pattern:
Common codes: See Authentication → Auth Schemes for the full key-type matrix (Bearer JWT, API Key, X-Service-Key, X-Admin-Key).

MCP-Specific Errors

When using the Clockchain MCP server (clockchain.timepointai.com/mcp/), tool failures surface as MCP error objects rather than HTTP errors:
Unauthenticated tools (clockchain_stats, clockchain_search, clockchain_moment, clockchain_neighbors) work without credentials. Authenticated tools (flash_render) require a JWT passed to the MCP client. See MCP Server → Tools.

Still Stuck?