#Request Device pairing

1 messages ยท Page 1 of 1 (latest)

proper grotto
#
  • agent:main:discord:channel:1495910797333893184 (17m ago)
  • agent:main:discord:direct:1315374465282084915 (27m ago)
    gateway connect failed: GatewayClientRequestError: scope upgrade pending approval (requestId: d6e86222-4583-4f4c-98f1-a3d5f1e37c24)
    โ”‚
    โ—‡ Device pairing โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
    โ”‚ โ”‚
    โ”‚ - Pending scope upgrade d6e86222-4583-4f4c-98f1-a3d5f1e37c24 for โ”‚
    โ”‚ gateway:device.pair.list โ”‚
    โ”‚ (e0d174faa08fc39393e869ddf365d3d9b079cdd97b08c2cafd6aa9fe5ca6c77d): approved scopes โ”‚
    โ”‚ [operator.read], requested scopes [operator.pairing]. Review with openclaw devices โ”‚
    โ”‚ list, then approve with openclaw devices approve d6e86222-4583-4f4c-98f1-a3d5f1e37c24. โ”‚
    โ”‚
trim violetBOT
#

This is a scope-upgrade approval, not a generic auth failure.

Your device currently has only operator.read, but pairing actions need operator.pairing, so approve the pending request on the gateway host:

openclaw --version
openclaw devices list
openclaw devices approve d6e86222-4583-4f4c-98f1-a3d5f1e37c24

A couple gotchas:

  • run that locally on the gateway machine if you can
  • devices approve needs operator.pairing or operator.admin
  • if the device retried, the old request can get superseded, so check openclaw devices list first and approve the current exact requestId

Docs:

proper grotto
#

gateway connect failed: GatewayClientRequestError: scope upgrade pending approval (requestId: d9071268-d4da-4c08-9b9d-c75858ade4ee)
โ—‡
Direct scope access failed; using local fallback.
unknown requestId

trim violetBOT
#

Yep, that usually means the requestId already rotated and the one you approved is stale.

unknown requestId here = โ€œthat pending request no longer existsโ€.

Try this sequence on the gateway host:

openclaw --version
openclaw devices list
openclaw devices approve d9071268-d4da-4c08-9b9d-c75858ade4ee

But only use that ID if devices list still shows it. If not, approve the newest exact ID from the list.

Whatโ€™s happening:

  • the client retried pairing
  • OpenClaw superseded the old pending entry
#
  • approving the old ID returns unknown requestId

If it keeps changing, do this:

  1. trigger the connect once
  2. immediately run openclaw devices list
  3. approve the current pending ID right away

If it still fails, paste:

openclaw --version
openclaw devices list --json

Docs: https://docs.openclaw.ai/cli/devices

proper grotto
#

Workspace bootstrap files are near configured limits: โ”‚
โ”‚ - AGENTS.md: 10,428 chars (87% of max/file 12,000) โ”‚
โ”‚ Total bootstrap injected chars: 13,593 (23% of max/total 60,000). โ”‚
โ”‚ Total bootstrap raw chars (before truncation): 13,593.

trim violetBOT
#

That one is just a warning, not the cause of your pairing issue.

What it means:

  • AGENTS.md is at 87% of the per-file bootstrap cap
  • total injected bootstrap is only 23% of the total cap
  • so the only thing close to the limit is AGENTS.md, not the whole prompt

Default limits from docs:

  • agents.defaults.bootstrapMaxChars: 12000
  • agents.defaults.bootstrapTotalMaxChars: 60000

So right now youโ€™re still under budget. It only becomes a real problem once OpenClaw starts truncating the file, which can cause lower sections of AGENTS.md to stop being injected.

My recommendation:

  1. ignore it for now if nothing is being truncated
  2. if it keeps growing, trim AGENTS.md first