We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db76bdd commit 2853125Copy full SHA for 2853125
internal/pkg/auth/auth.go
@@ -202,7 +202,7 @@ func GetValidAccessToken(p *print.Printer) (string, error) {
202
// Refresh the tokens
203
err = refreshTokens(utf)
204
if err != nil {
205
- return "", fmt.Errorf("refresh access token: %w", err)
+ return "", fmt.Errorf("access token expired and refresh token is invalid. Please run 'stackit auth login' to re-authenticate: %w", err)
206
}
207
208
// Return the new access token
0 commit comments