Skip to content
NL

Errors

An error is application/problem+json (RFC 9457) with a fixed code; detail says in your Accept-Language what you can do. An error costs no credits.

{
"type": "https://huispedia.dev/en/docs/errors#insufficient_credits",
"title": "Insufficient credits",
"status": 402,
"code": "insufficient_credits",
"detail": "This call costs 8 credits; your balance is 3. Buy credits in the dashboard.",
"request_id": "req_01M4…",
"errors": []
}
HTTPcodeWhen
400invalid_requestThe request is not right; errors says what is wrong per field
401unauthenticatedMissing or unknown key
401key_revoked, key_expiredKey revoked or expired
402insufficient_creditsYour balance does not cover the call
402spend_cap_reachedYour spend cap for this month is reached
403entitlement_requiredThis endpoint is not part of your account
403ip_not_allowedIP address outside the key’s allowlist
403account_suspendedAccount suspended
403forbiddenThis account may not do this
404not_foundThe locator finds nothing
405method_not_allowedThis method does not exist on this path
409address_ambiguousSeveral homes at the address; errors carries the candidates
409conflictThe action clashes with the current state; detail says how
422data_unavailableThe home or area exists, but this data is not available for it
429rate_limitedPer-key or per-account limit; see Retry-After
503upstream_unavailableTemporarily unavailable; see Retry-After
503billing_unavailablePayments are not possible right now
500internal_errorA fault on our side; quote the request_id