Errors, limits and retries
Diagnose transport, authentication and asynchronous failures.
Error envelopes
DynDNS normally returns {"error":"…"}; hosting validation returns {"message":"…"}. Registry uses OCI errors and Bearer challenges. Callback responses are empty. Some feature/method errors are empty; portal/proxy responses can be text/HTML. Always check status and Content-Type before parsing JSON.
| Status | Response |
|---|---|
| 400 | Correct JSON/envelope/callback ID; do not repeat invalid input. |
| 401 | Correct credentials or answer registry challenge. |
| 403 | Check scopes, account/domain status, roles or approved network. |
| 404 | Check host, route, feature flag and permitted artifact. |
| 405 | Use documented method. Discovery without credentials is GET-only. |
| 409 | Refresh revision/preview; resolve ownership or pending work. |
| 410 | Retired agent installer/package; use configurator. |
| 413 | Reduce body size. |
| 415 | Send application/json for DynDNS/agent POST. |
| 421 | Use configured feature host. |
| 422 | Correct address/domain/interval policy violation. |
| 429 | Honour Retry-After; slow all requests sharing the token/IP. |
| 503 | Dependency/address family unavailable; retry with backoff. |
Limits
DynDNS POST: 65536 bytes, JSON depth 32. Boundary: 600 requests/source IP/minute, API: 180/profile token/minute. Discovery shares the source limit. Rate limits return Retry-After 60; some service errors return 30.
Hosting POST: 131072 bytes; base64 payload field: 65536 bytes. Per peer/action/minute: 10 enrol, 120 progress, 120 renewal. Rate limits return Retry-After 60. Callback: 4096 bytes. Ingress may be stricter.
Safe retries
Use exponential backoff with jitter, capped delay/attempts and server Retry-After. Do not loop on authentication/validation errors. Agent retries need new nonce/time/signature. For uncertain DNS writes, inspect publication and request review rather than blindly repeat. HTTP acceptance and asynchronous completion are different outcomes.