Skip to main content
Always use the errorCode field for programmatic error handling. The message field is human-readable and may change without notice.
{
  "success": false,
  "errorCode": "INVALID_BIRTHDATE",
  "message": "Birthdate must be in YYYY-MM-DD format"
}

Authentication Errors

Error CodeHTTP StatusDescriptionAction
API_KEY_MISSING401No Authorization header providedAdd Authorization: Bearer YOUR_KEY header
API_KEY_INVALID401API key not found or deactivatedCheck your key in the dashboard
GEOCODE_KEY_MISSING401No HD-Geocode-Key header on a location-based endpointAdd the header, or use the coordinates endpoint
UNAUTHORIZED401General authentication failureVerify your credentials

Authorization Errors

Error CodeHTTP StatusDescriptionAction
ACCESS_DENIED403Your plan does not include this endpointUpgrade to a plan with the required access tier
ACCOUNT_INACTIVE403Account has been deactivatedContact support

Billing Errors

Error CodeHTTP StatusDescriptionAction
CREDITS_EXHAUSTED402No credits remaining and overage is disabledWait for monthly reset, enable overage, or upgrade your plan

Validation Errors

Error CodeHTTP StatusDescriptionAction
INVALID_BIRTHDATE400Birthdate is missing or not in YYYY-MM-DD formatUse ISO 8601 format: "1990-01-15"
INVALID_BIRTHTIME400Birthtime is missing or not in HH:MM formatUse 24-hour format: "14:30"
INVALID_LOCATION400Location is empty or shorter than 4 charactersProvide a valid location: "Amsterdam, The Netherlands"
INVALID_LATITUDE400Latitude is missing, not a number, or outside -90 to 90Provide a valid latitude: 52.3676
INVALID_LONGITUDE400Longitude is missing, not a number, or outside -180 to 180Provide a valid longitude: 4.9041
MISSING_REQUIRED_FIELD400A required field is missing from the request bodyCheck the endpoint documentation for required fields
INVALID_REQUEST_BODY422Request body is malformed or has structural errorsEnsure valid JSON with correct field types

Service Errors

Error CodeHTTP StatusDescriptionAction
GEOCODE_FAILED400Google Geocoding service returned an errorCheck your geocoding key and try again
GEOCODE_KEY_INVALID400Google Geocoding API key is invalid or restrictedVerify your key in Google Cloud Console
GEOCODE_LOCATION_NOT_FOUND400Location could not be geocodedCheck spelling, try a more specific location, or use coordinates
GEOCODE_RATE_LIMITED429Google Geocoding rate limit exceededWait and retry, or use the coordinates endpoint
TIMEZONE_LOOKUP_FAILED500Could not determine timezone for the locationTry a nearby major city, or use coordinates with a known timezone
EPHEMERIS_ERROR500Astronomical calculation failedContact support if this persists
CHART_GENERATION_FAILED500Chart generation failed unexpectedlyContact support if this persists
INTERNAL_ERROR500Unexpected server errorContact support if this persists

Rate Limiting

Error CodeHTTP StatusDescriptionAction
RATE_LIMIT_EXCEEDED429Too many requestsWait for the Retry-After header value (in seconds) before retrying
See Rate Limiting for limit details.