[GH-ISSUE #86] Bug: Can't use multiple webhooks in a single rule #20

Closed
opened 2026-09-02 13:08:58 +02:00 by TheLovinator · 2 comments
Owner

Originally created by @dziban303 on GitHub (Apr 1, 2023).
Original GitHub issue: https://github.com/TheLovinator1/discord-twitter-webhooks/issues/86

With the latest image, I would get this error when trying to turn up the stack:

dtw  | 2023-04-01 at 18:46:14 ERROR 404: Not Found
dtw  | 404 Not Found - I can't connect to https://discord.com/api/webhooks/(blah blah),https://discord.com/api/webhooks/(another blah blah), please check if it is a valid webhook.

This rule, sending the same notification to two different webhooks, had worked in the previous version.

To check if the webhook URL was valid, I created a separate webhook and rule combo using the second webhook URL (with a slightly different rule, as it can't run the same exact rule in a different webhook). This time it works, so it seems it may not be parsing the comma correctly in WEBHOOK_URLx=https://url1,https://url2,...

Originally created by @dziban303 on GitHub (Apr 1, 2023). Original GitHub issue: https://github.com/TheLovinator1/discord-twitter-webhooks/issues/86 With the latest image, I would get this error when trying to turn up the stack: ``` dtw | 2023-04-01 at 18:46:14 ERROR 404: Not Found dtw | 404 Not Found - I can't connect to https://discord.com/api/webhooks/(blah blah),https://discord.com/api/webhooks/(another blah blah), please check if it is a valid webhook. ``` This rule, sending the same notification to two different webhooks, had worked in the previous version. To check if the webhook URL was valid, I created a separate webhook and rule combo using the second webhook URL (with a slightly different rule, as it can't run the same exact rule in a different webhook). This time it works, so it seems it may not be parsing the comma correctly in `WEBHOOK_URLx=https://url1,https://url2,...`
Author
Owner

@TheLovinator1 commented on GitHub (Apr 1, 2023):

Oops, fixed in github.com/TheLovinator1/discord-twitter-webhooks@e64db2b64e, need ~5 min to build Docker images

<!-- gh-comment-id:1493077226 --> @TheLovinator1 commented on GitHub (Apr 1, 2023): Oops, fixed in https://github.com/TheLovinator1/discord-twitter-webhooks/commit/e64db2b64e62603629cfc06f40e7e896634c83be, need ~5 min to build Docker images
Author
Owner

@TheLovinator1 commented on GitHub (Apr 1, 2023):

Should be working now

<!-- gh-comment-id:1493078583 --> @TheLovinator1 commented on GitHub (Apr 1, 2023): Should be working now
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
TheLovinator/discord-twitter-webhooks#20
No description provided.