Avura

Errors

HTTP status codes and stable error codes returned by the API.

Errors are returned as { "error": "code" } with a matching HTTP status. Codes are stable and safe to match on in client code.

StatusExample error codeMeaning
400zone_name_type_content_requiredThe request body is missing a required field or is otherwise invalid.
401invalid_tokenThe bearer token is missing, malformed, revoked, or expired.
403forbidden / read_scope_tokenAuthenticated, but not allowed to perform this action (role, scope, or domain pin).
403token_scope_restrictedA zone-pinned token called a path outside the Domains, DNS, external-dns, and tokens surface.
403domain_pin_requiredToken minting without a domain pin — required for non-admins and for all zone-pinned callers.
404not_foundThe resource does not exist in your organization.
405method_not_allowedThe HTTP method is not supported on this route.
409cname_conflict / managed_recordThe change conflicts with existing state — a clashing DNS record, or a system-managed record that needs ?force=true.
502powerdns_unavailableA downstream dependency (the DNS provider) failed. Safe to retry.