Errors¶
Errors answer JSON with a message:
{"error": "unknown league \"xyz\""}
| status | when |
|---|---|
400 |
invalid parameters: unknown league or division, bad date or range |
401 |
unknown key |
402 |
no key, or the key's subscription has lapsed; on routes sold per request, the PAYMENT-REQUIRED header holds the x402 requirements |
403 |
the key's plan doesn't include this |
404 |
unknown fixture id or path |
409 |
an x402 payment in use by another request |
429 |
too many requests (Retry-After gives the seconds), or too many streams open for the key (see Plans) |
451 |
not available in your country (x402 and the sample) |
500 |
our fault; try again. An x402 pass settled but not recorded says so and names its transaction (tx): contact us with it |
503 |
x402 payments not available yet (Retry-After: 30) |