-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
Description
Description:
Omnichannel Webhooks can't be saved. The error notification contains only "[undefined]" text in it.
Log message:
{"level":50,"time":"2021-11-04T09:30:50.419Z","pid":11,"hostname":"6208d53b0878","name":"System","msg":"Exception while invoking method livechat:saveIntegration 'settings.updateValueById is not a function'"}
Steps to reproduce:
- Go to Omnichannel -> Webhooks
- Try to add any webhook
- Get error
Expected behavior:
Webhooks should be saved without errors.
Actual behavior:
Server Setup Information:
Deployment Method: docker
Version: 4.1.0
Deployment ID: oRpmw7vzRQBRJRirX
Apps Engine Version: 1.28.0
Node Version: v12.22.1
Database Migration: 242 (4 November 2021 y., 11:34)
MongoDB: 4.0.27 / mmapv1 (oplog Enabled)
Commit Details HEAD: (0da143c)
Branch: HEAD
PID: 11
Client Setup Information
- Desktop App or Browser Version: Firefox 95
- Operating System: Windows 10
Additional context
It's a community version of rocket.chat
Relevant logs:
Request /api/v1/method.call/livechat%3AsaveIntegration
{"message":"{\"msg\":\"method\",\"id\":\"20\",\"method\":\"livechat:saveIntegration\",\"params\":[{\"Livechat_webhookUrl\":\"https://824a-94-125-125-154.eu.ngrok.io/api/offline\",\"Livechat_secret_token\":\"\",\"Livechat_webhook_on_start\":0,\"Livechat_webhook_on_close\":1,\"Livechat_webhook_on_chat_taken\":0,\"Livechat_webhook_on_chat_queued\":0,\"Livechat_webhook_on_forward\":0,\"Livechat_webhook_on_offline_msg\":0,\"Livechat_webhook_on_visitor_message\":0,\"Livechat_webhook_on_agent_message\":0}]}"}
Response
{"message":"{\"msg\":\"result\",\"id\":\"20\",\"error\":{}}","success":true}
Reactions are currently unavailable
