Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

Webhook Status 400 #61

Open
tpfleck opened this issue Jun 4, 2019 · 1 comment
Open

Webhook Status 400 #61

tpfleck opened this issue Jun 4, 2019 · 1 comment

Comments

@tpfleck
Copy link

tpfleck commented Jun 4, 2019

After creating a Discord webhook, I get a status 400:

Timestamp Status Message Response
04 Jun 2019 12:45:39 400 {"text":"Hi, it's MicroBadger, sending you a test notification for linuxserver/plex https://microbadger.com/images/linuxserver/plex","new_tags":[],"image_name":"linuxserver/plex","changed_tags":[],"deleted_tags":[]} {"code": 50006, "message": "Cannot send an empty message"}

Any particular reason?

@rossf7
Copy link
Contributor

rossf7 commented Jun 9, 2019

Hey @tpfleck,
sorry about the delayed reply.

It looks like the Discord webhook is expecting a content or embeds field in the JSON which we are not passing.

https://birdie0.github.io/discord-webhooks-guide/discord_webhook.html

microbadger is now a side project for us. So it's unlikely we'll be able to change the message format anytime soon. Maybe you can check with Discord if they know of any workarounds?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants