FM-016 Time, State, and API Lifecycle

Rate-Limit and Throttling Failures

Inconsistent 429 responses, missing retry guidance, or one tenant's traffic degrading unrelated tenants.

Failure explanation

The API applies request limits incorrectly, inconsistently, or at the wrong scope. It may fail to throttle abusive traffic, throttle unrelated tenants together, reset counters unexpectedly, or return 429 without useful retry information. Rate limits may be based on user, credential, tenant, endpoint, or a shared resource, and the scope must be clear to consumers.

Example

Tenant A runs a synchronization loop and exceeds its quota. A shared gateway counter causes Tenant B’s unrelated requests to receive 429 responses as well.

How to test

  • Generate controlled traffic below, at, and above documented limits.
  • Test bursts, concurrency, multiple credentials, and multiple tenants.
  • Validate reset windows, headers, Retry-After, and counter scope.
  • Confirm that throttling one consumer does not affect others unless a shared limit is explicitly documented.

Expected behavior

Limits are enforced predictably and fairly according to the documented policy. Responses explain when the client can retry without exposing internal implementation details.

Runnable examples

Each example includes a broken server, a fixed server, an OpenAPI spec, and a clrsig scenario that detects the failure.

Learn how to find and fix it