openclaw - 💡(How to fix) Fix [Bug]: Device re-approval fails with unknown requestId — requires gateway restart to self-heal [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#81442Fetched 2026-05-14 03:32:12
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
2
Author
Timeline (top)
closed ×1commented ×1cross-referenced ×1

Error Message

GatewayClientRequestError: unknown requestId

Fix Action

Workaround

Restarting the gateway (openclaw gateway restart) causes the device to reconnect and re-authenticate successfully without manual approval needed.

Code Example

GatewayClientRequestError: unknown requestId

---

security audit: device metadata upgrade requested reason=metadata-upgrade
device=46d266be... claimedPlatform=macOS 26.5.0 pinnedPlatform=macOS 26.4.1
...
code=1008 reason=pairing required: device identity changed and must be re-approved
RAW_BUFFERClick to expand / collapse

Problem Summary

After a device metadata upgrade (e.g. platform version change from macOS 26.4.1 → 26.5.0), the gateway requires re-approval for an already-paired device. Attempting to approve the pending request via CLI fails with:

GatewayClientRequestError: unknown requestId

Steps to Reproduce

  1. Device already paired and working
  2. Platform version changes (e.g. macOS update changes metadata)
  3. Gateway creates a "re-approval, repair" pending request
  4. Run: openclaw devices approve <requestId> → fails with unknown requestId
  5. Gateway restart resolves the issue (device auto-reconnects and re-authenticates)

Observed Log

security audit: device metadata upgrade requested reason=metadata-upgrade
device=46d266be... claimedPlatform=macOS 26.5.0 pinnedPlatform=macOS 26.4.1
...
code=1008 reason=pairing required: device identity changed and must be re-approved

Expected Behavior

  • openclaw devices approve should successfully approve the pending request
  • Or the device should auto-recover without requiring gateway restart

Environment

  • OpenClaw 2026.5.7 (eeef486)
  • macOS 26.5.0 (arm64)
  • Gateway: LaunchAgent, loopback mode
  • CLI → Gateway communication fails with unknown requestId before restart

Workaround

Restarting the gateway (openclaw gateway restart) causes the device to reconnect and re-authenticate successfully without manual approval needed.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING