Skip to main content
Errors in the latest version use a metadata + errors envelope:
Each error has a machine-readable code and a message. Some errors include additional details.

Error codes

Older API versions use a different error envelope: { success: false, code, message, fields }. The error codes above apply to the latest version (2026-05-25).

Handling errors

  • Check code and handle each status explicitly.
  • For RATE_LIMIT_EXCEEDED, retry with exponential backoff.
  • For UNAUTHORIZED, verify your api-key header and that the key belongs to the Google News API product workspace.
  • For FORBIDDEN, confirm your plan covers the requested API version.