Skip to content

Live roster returns 404 with Grok Bot desktop 1.2.3 on macOS #171

Open

Description

@TannaciousXP

gbot bots list --gateway --json fails on macOS with Grok Bot desktop 1.2.3. The signed-in desktop app still shows the bot roster.

The installed CLI is a local build based on 0.12.5 (0.12.5-repair.20261110.1), running on Node 24.16.0. I reproduced this with the local build. Stock 0.12.5 has yet to be tested here.

$ gbot bots list --gateway --json
listAgents failed: 404 The request could not be routed

gbot skills list --gateway --json stops at the same listAgents error. The CLI build calls /api/listAgents, while the desktop client uses ListGrokBotAgents for its roster. The 404 leaves open whether the gateway route has changed or the request is reaching the wrong backend.

Is there a supported CLI version or configuration that restores live roster access with desktop 1.2.3?

Activity

  1. clement006 commented on Nov 27, 2026

    @clement006

    Independent reproduction and fix confirmation on macOS with Grok Bot 1.3.0, Node.js 24.22.1, and the stock npm CLI 0.12.5:

    • Stock gbot bots list fails with listAgents failed: 404 The request could not be routed, while the desktop app is open and signed in.
    • The exact commit from PR Send the gateway port token (fixes 404 'The request could not be routed') #169 (86046d296149f3fad7290d49c2e71f5fbc949595) successfully lists the bot roster using the same desktop session. I verified both its committed executable and a fresh local build.
    • npm run check passes: validation, build, artifact validation, typecheck, 510 unit tests and 97 route tests.

    For this reproduction, forwarding the gatewayPortToken returned by EnsureSandBox as x-anyrun-port-token fixes the routing failure; switching /api/listAgents to ListGrokBotAgents is not necessary. Only the read-only roster command was exercised live; no messages were sent and no bots were created or changed.

    I preserved the existing PR's commit unchanged in a personal fork while awaiting an upstream release: https://github.com/clement006/grok-bot-cli/tree/fix/gateway-port-token. No duplicate fix PR opened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions