# This is not a valid option for the Webhook URL

**URL:** <https://forums.combatlogforums.com/t/this-is-not-a-valid-option-for-the-webhook-url/10261>\
**Category:** Warcraft Logs\
**Created:** [August 4, 2020, 10:50am UTC](https://forums.combatlogforums.com/t/this-is-not-a-valid-option-for-the-webhook-url/10261 "2020-08-04T10:50:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mashuma](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.combatlogforums.com/mashuma/32/1473_2.png) [@Mashuma](https://forums.combatlogforums.com/u/Mashuma)\
**Post date:** [August 4, 2020, 10:50am UTC](https://forums.combatlogforums.com/t/this-is-not-a-valid-option-for-the-webhook-url/10261/1 "2020-08-04T10:50:50Z")

</div>

Hello,

We’re trying to set up Discord Webhook / integration with WCL and we’re getting following message  
`This is not a valid option for the Webhook URL.`

Webhook URL pattern looks like so (regex)

```auto
https://discordapp.com/api/webhooks/[0-9]+/[0-9A-Za-z]+-[0-9A-Za-z]+

```

When performing POST to the URL, it works and we get “Test” message posted by the integration

```auto
~
❯ curl -X POST -H "Content-Type: application/json" --data '{"content":"Test"}' "https://discordapp.com/api/webhooks/.../...-..."

```

What may be the issue?

edit: The guild I’ve been trying to set this up for is with ID 556101

Thanks!

---

<div class="post-metadata">

**Author:** ![Mashuma](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.combatlogforums.com/mashuma/32/1473_2.png) [@Mashuma](https://forums.combatlogforums.com/u/Mashuma)\
**Post date:** [August 4, 2020, 10:53am UTC](https://forums.combatlogforums.com/t/this-is-not-a-valid-option-for-the-webhook-url/10261/2 "2020-08-04T10:53:02Z")

</div>

I can reproduce this on two different discord servers ☹ Both servers are providing same exact Webhook URL pattern.

---

<div class="post-metadata">

**Author:** ![Kihra](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.combatlogforums.com/kihra/32/1116_2.png) [@Kihra](https://forums.combatlogforums.com/u/Kihra)\
**Post date:** [August 4, 2020, 3:29pm UTC](https://forums.combatlogforums.com/t/this-is-not-a-valid-option-for-the-webhook-url/10261/3 "2020-08-04T15:29:39Z")

</div>

[discordapp.com](http://discordapp.com) is deprecated. Need to use [discord.com](http://discord.com) now.

---

<div class="post-metadata">

**Author:** ![Mashuma](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.combatlogforums.com/mashuma/32/1473_2.png) [@Mashuma](https://forums.combatlogforums.com/u/Mashuma)\
**Post date:** [August 4, 2020, 5:47pm UTC](https://forums.combatlogforums.com/t/this-is-not-a-valid-option-for-the-webhook-url/10261/4 "2020-08-04T17:47:47Z")

</div>

Thank you @Kihra! It works.

Strange that two discord servers this was tested on gave us the “old” url.
