RocketChat / RocketChat/Rocket.Chat

[BUG] WebHook Integration only partially working (user permission?)

Open
#12,389 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

I have configured UptimeRobot integration using incomming WebHook: https://rocket.chat/docs/administrator-guides/integrations/uptime-robot/

Message in channel looks like this:

Monitor is DOWN: undefined (undefined). Reason: undefined

but after I add user bot to channel, everything is ok:

Monitor is DOWN: ad.cckjc.cz (http://ad.cckjc.cz). Reason: Connection Timeout

Is is strange. If user bot has no permission to post to channel how can post undefined (undefined). Reason: undefined?

Expected behavior:

Fix it or update documentation.

Actual behavior:

vyber_559

vyber_560

Server Setup Information:
  • Version of Rocket.Chat Server: 0.69.2
  • Operating System: Debian 9 (linux)
  • Deployment Method: snap
  • Number of Running Instances: 1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the UptimeRobot incoming WebHook integration described at https://rocket.chat/docs/administrator-guides/integrations/uptime-robot/ and reproduce the message with the bot absent and then added to the channel. Trace why the first message contains undefined values, then verify that the integration either reports the permission problem correctly or documents the required setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.