Description
Mattermost inline buttons (interactive message actions) return 404 when clicked. The gateway does not register the /mattermost/interactions/default endpoint, even though the inlineButtons capability is enabled and interactions.callbackBaseUrl is configured.
Config
{
"channels": {
"mattermost": {
"capabilities": ["inlineButtons"],
"interactions": {
"callbackBaseUrl": "http://100.64.0.9:39247",
"allowedSourceIps": ["100.64.0.22"]
}
}
}
}
Steps to Reproduce
- Enable
inlineButtons in Mattermost channel capabilities
- Configure
interactions.callbackBaseUrl pointing to the gateway
- Send a message with buttons via the
message tool
- User clicks a button
- Mattermost POSTs to
http://<gateway>/mattermost/interactions/default
- Gateway returns 404
Mattermost Server Log
{"msg":"DoPostActionWithCookie POST request, through DoActionRequest","url":"http://100.64.0.9:39247/mattermost/interactions/default"}
{"msg":"Action integration error.","err_where":"DoActionRequest","http_code":400,"error":"DoActionRequest: Action integration error., status=404"}
Verification
curl -s -X POST http://100.64.0.9:39247/mattermost/interactions/default returns Not Found
- The route is not listed in gateway logs (only
/api/channels/mattermost/command is registered)
- Mattermost CAN reach the gateway (confirmed with AllowedUntrustedInternalConnections and direct curl)
- This previously worked on March 9 (gateway log shows successful interaction:
action=testok10)
- Broke sometime after, possibly after a gateway update/restart
Environment
- OpenClaw: v2026.3.13
- Mattermost: latest (HDD NAS Docker)
- Gateway bind: tailnet (100.64.0.9)
- macOS arm64
Description
Mattermost inline buttons (interactive message actions) return 404 when clicked. The gateway does not register the
/mattermost/interactions/defaultendpoint, even though theinlineButtonscapability is enabled andinteractions.callbackBaseUrlis configured.Config
{ "channels": { "mattermost": { "capabilities": ["inlineButtons"], "interactions": { "callbackBaseUrl": "http://100.64.0.9:39247", "allowedSourceIps": ["100.64.0.22"] } } } }Steps to Reproduce
inlineButtonsin Mattermost channel capabilitiesinteractions.callbackBaseUrlpointing to the gatewaymessagetoolhttp://<gateway>/mattermost/interactions/defaultMattermost Server Log
Verification
curl -s -X POST http://100.64.0.9:39247/mattermost/interactions/defaultreturnsNot Found/api/channels/mattermost/commandis registered)action=testok10)Environment