Skip to main content

Variable: SETUP_PROBLEM_CODES

const SETUP_PROBLEM_CODES: readonly ["host_not_setup", "origin_refused", "request_token_refused", "session_required", "session_idle_expired", "session_absolute_expired", "code_wrong", "code_used", "code_expired", "code_not_registered", "too_many_attempts", "setup_completed", "step_not_reached", "step_done", "run_in_progress", "steps_incomplete", "head_moved", "head_is_wizard", "setup_in_progress", "secret_value_refused", "section_not_in_step", "answers_invalid"]

Defined in: packages/contracts/src/setup.ts:423

The refusals the setup API answers with, as the code of an RFC 9457 problem. The console branches on these and has a sentence for each.