Error Codes

Reference guide for HTTP statuses and Map Zena error codes returned by the API.

Error Codes

Errors return JSON with a stable structure and explicit code fields for reliable automation.

Error format

json
{
  "status": "error",
  "error": {
    "code": "invalid_request",
    "message": "Missing required parameter: q"
  }
}

Common errors

HTTPCodeMeaning
400invalid_requestMalformed or missing parameters.
401unauthorizedAPI key missing or invalid.
402insufficient_creditRegistered key has no remaining account credit.
404not_foundNo matching record for request.
429anonymous_quota_exceededAnonymous free quota exhausted for the day.
429rate_limit_exceededBurst limit exceeded for current request window.
500internal_errorUnexpected server-side failure.
503service_unavailableMaintenance or temporary outage.

Troubleshooting

  • Verify required parameters and type formats.
  • Check free quota status and rate-limit headers.
  • If using a key, verify your account credit balance.
  • Retry 5xx responses with exponential backoff.
  • Open a support request via Contact for persistent failures.