[GH-ISSUE #220] Webhook status code 400 #50

Open
opened 2026-09-02 13:09:04 +02:00 by TheLovinator · 1 comment
Owner

Originally created by @JakeFrosty on GitHub (Dec 31, 2023).
Original GitHub issue: https://github.com/TheLovinator1/discord-twitter-webhooks/issues/220

Settings used
update every 1 minute

What to send:

  • retweets

  • replies

  • Send embed

  • Append username before text

  • Replace escape sequence

Output from docker logs -f discord-twitter-webhooks

2023-12-31 at 11:59:15 DEBUG Webhook URL: https://discord.com/api/webhooks/<redacted>
Webhook status code 400: {"embeds": ["0"]}
2023-12-31 at 11:59:19 ERROR Got 400 from <discord_webhook.webhook.DiscordWebhook object at 0x7f9890eb65d0>. Response: {"embeds": ["0"]}
INFO:     10.25.0.4:64753 - "GET / HTTP/1.1" 200 OK
INFO:     10.25.0.4:64753 - "GET /favicon.svg HTTP/1.1" 200 OK
INFO:     10.25.0.4:64881 - "GET /settings HTTP/1.1" 200 OK
INFO:     10.25.0.4:64881 - "GET /favicon.svg HTTP/1.1" 200 OK
INFO:     10.25.0.4:64889 - "GET / HTTP/1.1" 200 OK
INFO:     10.25.0.4:64889 - "GET /favicon.svg HTTP/1.1" 200 OK

I also don't get any embeds posted in my webhook, I've tried changing webhooks to a new one too

Originally created by @JakeFrosty on GitHub (Dec 31, 2023). Original GitHub issue: https://github.com/TheLovinator1/discord-twitter-webhooks/issues/220 Settings used update every 1 minute What to send: - [x] retweets - [x] replies - [x] Send embed - [x] Append username before text - [x] Replace escape sequence Output from docker logs -f discord-twitter-webhooks ``` 2023-12-31 at 11:59:15 DEBUG Webhook URL: https://discord.com/api/webhooks/<redacted> Webhook status code 400: {"embeds": ["0"]} 2023-12-31 at 11:59:19 ERROR Got 400 from <discord_webhook.webhook.DiscordWebhook object at 0x7f9890eb65d0>. Response: {"embeds": ["0"]} INFO: 10.25.0.4:64753 - "GET / HTTP/1.1" 200 OK INFO: 10.25.0.4:64753 - "GET /favicon.svg HTTP/1.1" 200 OK INFO: 10.25.0.4:64881 - "GET /settings HTTP/1.1" 200 OK INFO: 10.25.0.4:64881 - "GET /favicon.svg HTTP/1.1" 200 OK INFO: 10.25.0.4:64889 - "GET / HTTP/1.1" 200 OK INFO: 10.25.0.4:64889 - "GET /favicon.svg HTTP/1.1" 200 OK ``` I also don't get any embeds posted in my webhook, I've tried changing webhooks to a new one too
Author
Owner

@MotikaCraft-TheJoshua commented on GitHub (Jan 23, 2025):

same issue @TheLovinator1

<!-- gh-comment-id:2610474756 --> @MotikaCraft-TheJoshua commented on GitHub (Jan 23, 2025): same issue @TheLovinator1
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#50
No description provided.