Skip to content

[Bug]: missing scope: operator.write when chat.send #17408

@YanceyOfficial

Description

@YanceyOfficial

Summary

Hi, I'm building a Tauri app and try to send the follows codes when receive connect.challenge, it seems connect to OpenClaw correctly, but when I send some texts using chat.send, it said missing scope: operator.write.

const connectReq = {
  type: "req",
  id: uuidV4(),
  method: "connect",
  params: {
    minProtocol: 3,
    maxProtocol: 3,
    client: {
      id: "gateway-client",
      version: "1.0.0",
      platform: navigator.platform,
      mode: "backend",
      displayName: "Clippy",
    },
    role: "operator",
    scopes: ["operator.read", "operator.write"],
    caps: [],
    auth: {
      token: "1647a15eb92254fe3bf93f032c71564c2122af04078020b5",
    },
    locale: navigator.language ?? "en-US",
    userAgent: navigator.userAgent,
  },
};

Steps to reproduce

  1. Establish WebSokect connection
  2. send connectReq
  3. send text to chat.send

Expected behavior

Send text successfully and receive AI text returns

Actual behavior

Receive missing scope: operator.write

OpenClaw version

2026.2.14

Operating system

macOS 15.4

Install method

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions