Bug: 'GitHub account lookup failed' after GitHub username rename #181

Closed
opened 2026-02-15 17:16:04 -05:00 by yindo · 0 comments
Owner

Originally created by @xiaoyaner0201 on GitHub (Feb 14, 2026).

Description

After renaming my GitHub account from dongsjoa-byte to xiaoyaner0201, I can no longer publish skills via the CLI or the web Import feature.

Steps to reproduce

  1. Have a ClawHub account linked to GitHub (original username: dongsjoa-byte)
  2. Rename GitHub account to xiaoyaner0201
  3. Run clawhub logout && clawhub login — succeeds, shows @dongsjoa-byte (stale)
  4. Run clawhub publish ./my-skill --slug my-skill --name 'My Skill' --version 1.0.0
  5. Error: GitHub account lookup failed

Expected behavior

  • clawhub login should update the stored username to the new GitHub username
  • clawhub publish should work after re-authentication

Actual behavior

  • clawhub whoami still shows the old username dongsjoa-byte
  • clawhub publish fails with GitHub account lookup failed
  • Web Import (clawhub.ai/import) also fails with Server Error Called by client

Root cause (guess)

ClawHub stores the GitHub username at registration/login time. When the username is renamed on GitHub, the stored username becomes stale. The publish flow likely calls the GitHub API with the old username, which returns a 404 (GitHub API doesn't redirect renamed usernames like the web UI does).

Environment

  • ClawHub CLI: v0.5.0
  • GitHub account: xiaoyaner0201 (renamed from dongsjoa-byte)
  • OS: macOS (arm64)

Workaround

None found. Logout + login doesn't refresh the username.

Originally created by @xiaoyaner0201 on GitHub (Feb 14, 2026). ## Description After renaming my GitHub account from `dongsjoa-byte` to `xiaoyaner0201`, I can no longer publish skills via the CLI or the web Import feature. ## Steps to reproduce 1. Have a ClawHub account linked to GitHub (original username: `dongsjoa-byte`) 2. Rename GitHub account to `xiaoyaner0201` 3. Run `clawhub logout && clawhub login` — succeeds, shows `@dongsjoa-byte` (stale) 4. Run `clawhub publish ./my-skill --slug my-skill --name 'My Skill' --version 1.0.0` 5. Error: `GitHub account lookup failed` ## Expected behavior - `clawhub login` should update the stored username to the new GitHub username - `clawhub publish` should work after re-authentication ## Actual behavior - `clawhub whoami` still shows the old username `dongsjoa-byte` - `clawhub publish` fails with `GitHub account lookup failed` - Web Import (`clawhub.ai/import`) also fails with `Server Error Called by client` ## Root cause (guess) ClawHub stores the GitHub username at registration/login time. When the username is renamed on GitHub, the stored username becomes stale. The `publish` flow likely calls the GitHub API with the old username, which returns a 404 (GitHub API doesn't redirect renamed usernames like the web UI does). ## Environment - ClawHub CLI: v0.5.0 - GitHub account: `xiaoyaner0201` (renamed from `dongsjoa-byte`) - OS: macOS (arm64) ## Workaround None found. Logout + login doesn't refresh the username.
yindo closed this issue 2026-02-15 17:16:04 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: openclaw/clawhub#181