To preface this, I’ll inform you that this is one of my first times properly using Zapier. I’m still playing around to learn new things so some simple advice might seem a bit difficult to me
I am currently trying to link my sites BetterUptime page to Discord via a Custom POST request. I am doing this as the in-built method seems to be restricted when it comes to Embeds on Discord.
Now, I have the method set to “POST” and the URL is set to the Discord webhook URL. This has been copied straight from the Discord client and inserted into this field with no changes.
Next I have my data field where I have inputted what I want the embed to send to the channel.
{
"content": "🚨 **INCIDENT ALERT** 🚨",
"embed": {
"title": "INCIDENT ALERT: :TITLE OF FAILING MONITOR]",
"description": "Details of the incident are provided below.",
"url": "https://status.2smoke.co.uk",
"color": 16711680,
"timestamp": "2024-09-01T11:54:55.422Z",
"footer": {
"text": "rName of the team]",
"icon_url": "https://cdn.discordapp.com/avatars/974413091456565248/93fe44912f5bd1f0404e4c38b5678ba7.webp?size=80"
},
"author": {
"name": "rName of the team]",
"url": "https://status.2smoke.co.uk",
"icon_url": "https://cdn.discordapp.com/avatars/974413091456565248/93fe44912f5bd1f0404e4c38b5678ba7.webp?size=80"
},
"fields": b
{
"name": "Cause:",
"value": ">Cause of the Incident]",
"inline": true
},
{
"name": "Incident ID:",
"value": ">Incident ID]",
"inline": true
},
{
"name": "Status:",
"value": ">Status]",
"inline": true
}
],
"thumbnail": {
"url": "https://cdn.discordapp.com/embed/avatars/0.png"
}
}
}
Above is the full contents of the “Data” field. I have not yet added any of the BetterUptime integrations as I am still just testing, these will be added in the fields marked e]
Now after this, my remaining fields are setup like so:
Unfortunately, when it comes to testing this webhook, I am provided with this error:
Now my expertise are quite small in regards to HTTP requests etc. But I’d assume that this is telling me that something could be wrong with the Webhook URL, or that Discord and Zap aren’t able to communicate.
Could anyone please give me a bit of advice on how to sort this please?
Thanks!