Talewright Docs Open the app

What does the API answer when a request goes past a limit?

It depends on the kind of limit:

  • A length, a count or a format: 422 VALIDATION_FAILED, with details.field naming the input.
  • A size in bytes: 413 PAYLOAD_TOO_LARGE.
  • A rate: 429 RATE_LIMITED with Retry-After.
  • The 30 seconds of one request: 503 TIMEOUT.
  • An emailed link past its time: 400 TOKEN_INVALID.