Error codes · ksef · Poland
KSeF rate limit reached for this endpoint
This is the rejection, word for word: „[KSEF-21121] KSeF error 21121 ("Limit żądań osiągnięty") is returned when the calling context exceeds the per-endpoint request quota published by the Polish Ministry of Finance. The API rejects the request with HTTP 429 and the client must back off before retrying. Quotas are applied per NIP context, per endpoint, and per time window.“
The Ministry publishes current limits at https://ksef-test.mf.gov.pl/document/LimitValues/1.3/PL. Limits differ between environments (test vs production) and between endpoints — /online/Session/AuthorisationChallenge, /online/Invoice/Send, /online/Query/Invoice/Sync, and batch endpoints each have their own bucket. The response includes a Retry-After header when a wait time is defined.