Začínáme · Chyby
Překročený limit požadavků
API klíč nebo IP adresa vyčerpaly limit pro aktuální minutu.
429
RATE_LIMIT_EXCEEDEDPříčina
- Požadavky s platným klíčem překročily limit klíče.
- Požadavky bez klíče nebo neúspěšné autentizace překročily příslušný limit IP adresy.
Řešení
- Před dalším pokusem vyčkejte alespoň počet sekund z hlavičky Retry-After.
- Sledujte X-RateLimit-Remaining a zpomalte před vyčerpáním limitu.
Příklady odpovědí
Limit API klíče
429application/problem+json
{
"type": "https://developers.coinero.cz/errors/rate-limit-exceeded",
"title": "Rate limit exceeded",
"status": 429,
"code": "RATE_LIMIT_EXCEEDED",
"detail": "Too many requests for this API key. Slow down and retry after the number of seconds given in the Retry-After response header.",
"requestId": "0HN7GK4L2M9PQ"
}Limit IP adresy
429application/problem+json
{
"type": "https://developers.coinero.cz/errors/rate-limit-exceeded",
"title": "Rate limit exceeded",
"status": 429,
"code": "RATE_LIMIT_EXCEEDED",
"detail": "Too many requests from this IP address. Slow down and retry after the number of seconds given in the Retry-After response header.",
"requestId": "0HN7GK4L2M9PQ"
}