Webhook features doesn't work with Discord #522

Closed
opened 2026-02-04 20:10:31 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @intersecato on GitHub (Jun 7, 2024).

I tried using Discord with the latest webhook feature introduced by @HannesOberreiter with PR https://github.com/plankanban/planka/pull/771 but it doesn't seem to work. the error it prints is

[E] Webhook failed with status 400 and message: {"message": "Cannot send an empty message", "code": 50006}

Originally created by @intersecato on GitHub (Jun 7, 2024). I tried using Discord with the latest webhook feature introduced by @HannesOberreiter with PR https://github.com/plankanban/planka/pull/771 but it doesn't seem to work. the error it prints is `[E] Webhook failed with status 400 and message: {"message": "Cannot send an empty message", "code": 50006}`
Author
Owner

@meltyshev commented on GitHub (Jun 7, 2024):

Hi! If you specify a Discord address directly, it won't work, you need some kind of layer that receives events from Planka and knows how to send them to a needed service. We haven't tried doing different integrations ourselves yet, as we want to make a release with webhooks first (they are only available in dev image) and maybe after that we can provide some examples. You could also try to use n8n or Zapier as a layer.

@meltyshev commented on GitHub (Jun 7, 2024): Hi! If you specify a Discord address directly, it won't work, you need some kind of layer that receives events from Planka and knows how to send them to a needed service. We haven't tried doing different integrations ourselves yet, as we want to make a release with webhooks first (they are only available in dev image) and maybe after that we can provide some examples. You could also try to use n8n or Zapier as a layer.
Author
Owner

@HannesOberreiter commented on GitHub (Jun 19, 2024):

As @meltyshev mentioned, the webhook needs to be sent to a service for further manipulation. You can achieve this with no-code services as mentioned or by using a simple serverless function on any major cloud provider.

(We could consider a default message string per action since many services support "message" or "msg" as keys. However, I'm hesitant about sending all the data with each request to any third party).

Cheers
Hannes

@HannesOberreiter commented on GitHub (Jun 19, 2024): As @meltyshev mentioned, the webhook needs to be sent to a service for further manipulation. You can achieve this with no-code services as mentioned or by using a simple serverless function on any major cloud provider. (We could consider a default message string per action since many services support "message" or "msg" as keys. However, I'm hesitant about sending all the data with each request to any third party). Cheers Hannes
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#522