Expand description
Problem-report code values emitted by VTA/VTC services. Kept in sync with
the affinidi_messaging_didcomm_service::problem_report::codes taxonomy so
the SDK can classify errors without depending on the server-side crate.
Constants§
- BAD_
REQUEST - CONFLICT
- FORBIDDEN
- Workspace-specific extension to the affinidi taxonomy.
Distinguishes “permission denied” (caller authenticated but
lacks the role / context / sender-identity) from
unauthorized(auth failed). Without this, the SDK collapses both intoVtaError::Authand the CLI prints “Token may be expired” — which is misleading when the real problem is a privilege-laundering rejection or an ACL miss. - INTERNAL
- NOT_
FOUND - PROVISION_
CONTEXT_ REQUIRED - Per the canonical
provision/integration/0.1spec: emitted when the caller omitspayload.contextAND the maintainer cannot infer a unique target context from the relayer’s grant or its own contexts state. The problem-report body’sargscarriescandidates: Vec<String>so the relayer can surface the list to the operator and retry with an explicit choice. - UNAUTHORIZED