Skip to content

Errors & Status Codes ​

Threadly uses conventional HTTP status codes and structured JSON error objects:

json
{
  "success": false,
  "error": {
    "code": "RATE_LIMITED",
    "message": "Too many requests. Please slow down.",
    "status": 429
  }
}

Standard Error Codes ​

CodeStatusDescription
INVALID_CONFIG400Missing or invalid parameters in request payload.
CONTENT_REJECTED400Submission violates community filters (spam/profanity).
UNAUTHORIZED401User must be logged in to comment.
FORBIDDEN403User is banned or muted on the site.
FORBIDDEN_ORIGIN403Host origin not present in site's allowedOrigins.
NOT_FOUND404Comment or site does not exist.
RATE_LIMITED429Action performed too frequently.
INTERNAL_SERVER_ERROR500Unexpected server error.