Skip to content

beeper verify sas-confirm fails with 409 despite verification being in sas_ready state #28

Description

@Melickonline

Bug

beeper verify sas-confirm -t fails with:

409 Verification action is not available in the current app state
...even though the verification request is demonstrably in state sas_ready with availableActions: ["sas.confirm", "cancel"] (confirmed via GET /v1/app/setup/verifications).

Calling the underlying API directly works and completes the verification:

beeper api post /v1/app/setup/verifications/{id}/sas/confirm
Environment

beeper-cli 0.6.2 · Beeper Server 4.3.34 (production) · macOS · app state initializing (setup phase)
Suspected cause

The CLI command appears to call a different, non-setup endpoint that enforces an app-state check the setup-phase endpoint doesn't require. The direct call to the setup-scoped route succeeds, suggesting sas-confirm hits the wrong route for a server still in setup state.

Steps to reproduce

Start the server fresh so app state is initializing (setup phase).
Trigger a device verification (emoji SAS flow) so a verification request is created.
Confirm via GET /v1/app/setup/verifications that the request is sas_ready with sas.confirm available.
Run beeper verify sas-confirm -t → fails with the 409.
Workaround: beeper api post /v1/app/setup/verifications/{id}/sas/confirm with the same id → succeeds.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions