Errors & Troubleshooting
Every Timepoint service is fronted by the API Gateway atapi.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 adetail or error field describing what went wrong:
{"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:
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:
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?
- Check the health endpoints — a 5xx during a known outage is transient.
- Compare your request against the Quickstart — copy-paste, then diff.
- File an issue at github.com/timepointai.