Errors
state_esra_consent_required
409 — a signing operation requires an Electronic Signatures and Records Act (ESRA) consent that has not been recorded.
Last updated
Cause
Matter records explicit ESRA-style consent before any natural person can sign a document electronically inside the platform. The consent captures the signer's affirmative agreement to transact electronically, the technologies they consent to, and the means by which they can withdraw consent. state_esra_consent_required fires when a signing operation targets a natural person who has no current ESRA consent on file.
The consent is per signer, not per document. Once recorded with the current language version, it covers subsequent signings until withdrawn or until Matter publishes a new version that supersedes the prior one. The check fires the first time a signer attempts a signature, after an ESRA version bump, or after the signer has explicitly withdrawn consent.
Fix
- Surface the canonical ESRA disclosure text to the signer. Fetch the current text via
/api-reference/acknowledgementswith theesra_consentslug. - Capture the signer's affirmative click together with
accepted_at, IP, and user-agent. - Record the consent via the documented acknowledgement-record endpoint, attaching it to the signer's
stk_*Stakeholder id. - Retry the signing operation. The pre-flight check now passes.
Related codes
state_authorisation_required— a governance Resolution is missing.state_transition_invalid— the document is in a state that cannot be signed yet.