Skip to content

Claude subscription token expires after a period of time #6559

@leeweisern

Description

@leeweisern

Description

Usually it happens when i stopped using for a while. e.g: 12 hours. The first session i talk to Claude, I will get Error: Token refresh failed: 400

i have to type something random, and then it works. This is a minor issue, but i am using opencode as a remote agent. So it affects the user experience.

From what i am seeing, the token expires, it throws the errors but the refresh token actually succeeds.

So the user have to manually send another message for it to continue.

Image

OpenCode version

1.0.220

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions