Common issues
401 Unauthorized
- Ensure the header is
Authorization(capitalized) and notauthorizationin some HTTP clients. - Rotate keys if they were committed or leaked.
- If you are using a proxy, check that headers are forwarded to the API gateway.
400 Bad Request (validation fail)
Validation errors return a
message describing the missing field. Always inspect the JSON response for details.- Re-check required JSON fields against the endpoint documentation (see each
/api-references/endpoints/page). - Validate
limit/pagebounds to stay within [1, 100]. - When creating objects, include only documented fields—extra attributes are rejected.
429 Too Many Requests
- Cache GET responses, especially for workspace info and member lists.
- Use exponential backoff: wait 1s, 2s, 4s before retrying.
- Consider generating a second key for read-heavy integrations.
500 Internal Server Error
- Retry once after a short delay; if the issue persists, report it via Discord or GitHub.
- Log request IDs (returned in
X-Request-IDheaders) and include them when asking for help.
Deployment checklist
- Verify
SESSION_SECRETandDATABASE_URLenvironment variables are set before building. - Run
prisma db pushafter schema changes to avoid migration mismatches. - Ensure your hosting region matches the workspace region to reduce latency.