Skip to content

Authentication error: Invalid or expired API token #95

@KaelWD

Description

@KaelWD

Run VIZZLY_TOKEN=vzt_3e... pnpm vizzly doctor: ✅ works

Run pnpm vizzly login then pnpm vizzly doctor: ❌ fails with

✖ API connectivity failed               
Authentication error: Invalid or expired API token. Please run "vizzly login" to authenticate.. Please check your VIZZLY_TOKEN.
⚠ Preflight completed with issues.

The error is thrown here:

throw new AuthError(

errorText is {"error":"Invalid API token format"} even though this.token is a valid JWT from ~/.vizzly/config.json

This also happens with vizzly run and vizzly tdd start --baseline-build

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