API error · HTTP 409

mfa_already_enabled

setup cannot replace an active factor.

What it means

setup cannot replace an active factor.

How to handle it

Disable the active factor through the supported flow before starting a replacement setup.

Wire contract

Codemfa_already_enabled
Classconflict
HTTP status409
Meta keysNone
RaisedYes

The response uses the standard {"error": {…}} envelope. Branch on error.code, not the human-readable message. Preserve request_id when reporting a failure.