Errors & Rate Limits | TTF Docs
Skip to main content
api reference

Errors & Rate Limits

Standard HTTP status codes, rate limiting windows, and validation error handling across master-backend.

HTTP Status Codes

StatusMeaningCommon Cause
200 OKRequest succeededStandard read/update success
201 CreatedResource createdNew record, form, ticket, or SSO client
400 Bad RequestInvalid inputMissing required fields or invalid code_challenge_method
401 UnauthorizedAuth required or invalidExpired JWT, missing header, or aud: 'ttf-identity' on protected route
403 ForbiddenInsufficient roleMissing SUPERADMIN or tenant role permission
404 Not FoundResource missingInvalid ID or resource owned by another companyId
429 Too Many RequestsRate limitedExceeded rateLimiter, authRateLimiter, or publicSubmitLimiter

Rate Limiting Layers

  • Global Limiter (rateLimiter): Protects all /api/* endpoints from burst abuse.
  • Auth Limiter (authRateLimiter): Stricter limits applied on login and token exchange endpoints.
  • Public Form Limiter (publicSubmitLimiter): Protects /api/forms/public/:token/submit alongside honeypot spam filtering.