KontextNews

Errors

JSON error bodies with a detail field.

401Missing or invalid API key.
404Resource not found.
422Invalid parameters, for example a limit out of range.
429Rate limit exceeded. See Rate limits.
500Server error.

Body

{"detail": "article not found"}

Check the HTTP status first, then read detail for a human-readable reason.