Errors

Error codes returned by the Reggie API.

HTTP code Meaning
400 validation_failed Request body did not satisfy the schema.
400 signature_invalid Signature did not verify against the publisher key.
400 bond_insufficient Declared bond below the protocol minimum for this kind.
401 unauthenticated Missing or expired ACT.
403 forbidden ACT does not include the required scope.
404 not_found DID does not exist on this registry.
409 version_conflict A higher version with this DID already exists.
410 revoked Entry was revoked. Body includes the revocation receipt.
422 lineage_unverified Lineage chain failed verification.
429 rate_limited Per-token rate limit exceeded. Retry-After in seconds.
500 internal Server fault. Open an issue.
502 peer_unreachable A federation peer is unreachable; retry.

Body shape

{
  "code":       "rate_limited",
  "message":    "Write rate limit exceeded",
  "retryAfter": 12,
  "context":    { "scope": "mars.publish.skill" }
}