Unauthorized error when publishing despite successful login #55

Open
opened 2026-02-15 17:15:24 -05:00 by yindo · 1 comment
Owner

Originally created by @fortytwode on GitHub (Feb 3, 2026).

Problem

After successfully logging in via clawhub auth login and confirming with clawhub whoami (shows logged in as @fortytwode), attempting to publish a skill immediately fails with "Unauthorized".

Steps to Reproduce

  1. Run npx clawhub auth login - browser auth completes successfully
  2. Run npx clawhub whoami - shows "OK. Logged in as @fortytwode"
  3. Run npx clawhub publish /path/to/skill --version 1.0.0 --name "Meta Ad Creatives"
  4. Error: "Unauthorized"

Expected Behavior

Should be able to publish after successful authentication.

Environment

  • CLI version: 0.5.0 (7fe3b7ad)
  • OS: macOS Darwin 25.2.0
  • Node: via npx

Additional Context

The account was created via GitHub OAuth. Is there an additional verification step required for publishing permissions?

Originally created by @fortytwode on GitHub (Feb 3, 2026). ## Problem After successfully logging in via `clawhub auth login` and confirming with `clawhub whoami` (shows logged in as @fortytwode), attempting to publish a skill immediately fails with "Unauthorized". ## Steps to Reproduce 1. Run `npx clawhub auth login` - browser auth completes successfully 2. Run `npx clawhub whoami` - shows "OK. Logged in as @fortytwode" 3. Run `npx clawhub publish /path/to/skill --version 1.0.0 --name "Meta Ad Creatives"` 4. Error: "Unauthorized" ## Expected Behavior Should be able to publish after successful authentication. ## Environment - CLI version: 0.5.0 (7fe3b7ad) - OS: macOS Darwin 25.2.0 - Node: via npx ## Additional Context The account was created via GitHub OAuth. Is there an additional verification step required for publishing permissions?
Author
Owner

@waleedkadous commented on GitHub (Feb 3, 2026):

Experiencing the same issue. Browser login completes successfully (OK. Logged in as @waleedkadous), but clawhub publish and even clawhub whoami immediately fail with Unauthorized.

Tried:

  • Fresh logout/login cycle
  • Token-based login with a token generated from the website
  • Multiple different slugs

All result in the same Unauthorized error on publish despite successful login.

@waleedkadous commented on GitHub (Feb 3, 2026): Experiencing the same issue. Browser login completes successfully (`OK. Logged in as @waleedkadous`), but `clawhub publish` and even `clawhub whoami` immediately fail with `Unauthorized`. Tried: - Fresh logout/login cycle - Token-based login with a token generated from the website - Multiple different slugs All result in the same `Unauthorized` error on publish despite successful login.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: openclaw/clawhub#55