#Message: send failed

1 messages · Page 1 of 1 (latest)

jagged tigerBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

grand gobletBOT
#

That gateway closed (1008): unauthorized: device token mismatch is Gateway device-auth, not Discord auth.

It means the client that’s connected to the Gateway WS (Control UI / CLI / macOS app / node) is presenting a saved device token that no longer matches what the Gateway has on disk (common after restoring ~/.openclaw, moving gateways, clearing/duplicating browser storage, or pairing against a different gateway URL).

Fix (re-pair / re-issue the device token):

  1. On the gateway host, grab basics:
openclaw --version
openclaw gateway status
openclaw devices list
  1. Identify the device entry that matches the client you’re using (role is usually operator for Control UI, node for phone/node).

  2. Revoke the token for that device+role (forces a clean re-pair):