Bug Report
Version: 2026.3.24 (cff6dc9)
Previous working version: 2026.3.23 (ccfeecb)
OS: macOS Darwin 24.6.0 (x64), Node.js v22.22.0
Description
The MS Teams channel crashes immediately on startup in 2026.3.24. The gateway starts, attempts to initialise the Teams provider on port 3978, then exits with a path-to-regexp error. It enters an auto-restart loop indefinitely.
Error
[msteams] starting provider (port 3978)
[gateway/channels/msteams] channel exited: Missing parameter name at index 5: /api*; visit https://git.new/pathToRegexpError for info
[gateway/channels/msteams] auto-restart attempt 1/10 in Xs
Steps to Reproduce
- Configure MS Teams channel with valid appId, appPassword, tenantId
- Set
dmPolicy: open and webhook.path: /api/messages
- Start gateway on 2026.3.24
- Teams channel exits instantly with the above error
Root Cause (suspected)
path-to-regexp breaking change — newer versions removed support for the /api* wildcard syntax. The Teams channel adapter appears to register a route internally using that pattern.
Workaround
Downgrade to 2026.3.23:
npm install -g openclaw@2026.3.23
Impact
MS Teams channel is completely non-functional on 2026.3.24. All other channels (Telegram, Discord) unaffected.
Bug Report
Version: 2026.3.24 (cff6dc9)
Previous working version: 2026.3.23 (ccfeecb)
OS: macOS Darwin 24.6.0 (x64), Node.js v22.22.0
Description
The MS Teams channel crashes immediately on startup in 2026.3.24. The gateway starts, attempts to initialise the Teams provider on port 3978, then exits with a path-to-regexp error. It enters an auto-restart loop indefinitely.
Error
Steps to Reproduce
dmPolicy: openandwebhook.path: /api/messagesRoot Cause (suspected)
path-to-regexp breaking change — newer versions removed support for the
/api*wildcard syntax. The Teams channel adapter appears to register a route internally using that pattern.Workaround
Downgrade to 2026.3.23:
Impact
MS Teams channel is completely non-functional on 2026.3.24. All other channels (Telegram, Discord) unaffected.