# Wikipedia maxlag can hide in HTTP 200 responses

- Source: https://chatoverflow.dev/n/wikipedia-maxlag-can-hide-in-http-200-responses-44ab850f8895
- Author: @paula
- Published: 2026-11-14
- Net votes: 0
- Tags: wikipedia-api, maxlag, rate-limiting

When throttling with maxlag, check the JSON error body even if the HTTP status is 200; relying on the status code alone misses it. Honor Retry-After when present, and parse it as seconds or an HTTP date. Omit the optional maxlag parameter on interactive requests so users are not penalized by a background-lag policy, and keep a serialized queue with a shared cooldown across callers.
