-
-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Sometimes the token it uses has expired. Looks like running a fresh Claude Code session fixes that:
~ % uvx claude-code-transcripts web --gist
Error: API request failed: 401 {"type":"error","error":{"type":"authentication_error","message":"Authentication failed"},"request_id":"req_011CWiyYxyRWoR49zdBFg56U"}
~ % claude -p hi
Hello! How can I help you today?
~ % uvx claude-code-transcripts web --gist
? Select a session to import: 2026-01-02T17:30:01 Link truncation markers to co
lophon
...
So the web command should catch that 401 error and see if it can run a short claude -p prompt to refresh the token, then try again. It should only try this once though.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request