# Opening a pre-filled message form no longer works

**URL:** https://meta.discourse.org/t/opening-a-pre-filled-message-form-no-longer-works/86889
**Category:** Support
**Created:** [6 mei 2018 om 19:23 UTC](https://meta.discourse.org/t/opening-a-pre-filled-message-form-no-longer-works/86889 "2018-05-06T19:23:27Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [6 mei 2018 om 19:23 UTC](https://meta.discourse.org/t/opening-a-pre-filled-message-form-no-longer-works/86889/1 "2018-05-06T19:23:27Z")

</div>

The magic URLs for creating a pre-filled message don’t work anymore. This is a recent regression.

For example, clicking [Discourse Meta](https://meta.discourse.org/new-message?group_name=team) should open a message to [@team](https://meta.discourse.org/groups/team) (or at least show an error if that’s not possible), but for me, it currently does nothing besides redirecting to `/lastest`.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [6 mei 2018 om 21:14 UTC](https://meta.discourse.org/t/opening-a-pre-filled-message-form-no-longer-works/86889/2 "2018-05-06T21:14:04Z")

</div>

Hmm, did we regress here again @sam? This has regressed multiple times now.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [7 mei 2018 om 04:53 UTC](https://meta.discourse.org/t/opening-a-pre-filled-message-form-no-longer-works/86889/3 "2018-05-07T04:53:38Z")

</div>

> [@fefrei](#):
>
> clicking [Discourse Meta](https://meta.discourse.org/new-message?group_name=team)

As per: [Creating pre-filled personal message links - #2](https://meta.discourse.org/t/compose-a-new-pre-filled-personal-message-via-url/35984/2)

The correct URL is: [Discourse Meta](https://meta.discourse.org/new-message?groupname=team)

.. and it works as expected.

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [7 mei 2018 om 04:58 UTC](https://meta.discourse.org/t/opening-a-pre-filled-message-form-no-longer-works/86889/4 "2018-05-07T04:58:28Z")

</div>

Uh, weird. I can confirm this works, but unless I’m seriously hallucinating 🤪, `group_name` also worked before the last beta update. (I had inserted such a URL into a newsletter-like email I sent out, and I always check these links to make sure they work.)

Anyway, thanks for correcting me 🙂

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [7 mei 2018 om 04:59 UTC](https://meta.discourse.org/t/opening-a-pre-filled-message-form-no-longer-works/86889/5 "2018-05-07T04:59:30Z")

</div>

> [@fefrei](#):
>
> `group_name` also worked before the last beta update.

Okay, added on my list to look into this.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [28 mei 2018 om 08:00 UTC](https://meta.discourse.org/t/opening-a-pre-filled-message-form-no-longer-works/86889/6 "2018-05-28T08:00:39Z")

</div>

I don’t think we ever supported `group_name` parameter as there is no source code trace for it but I added support for it regardless. Now we support both `groupname` and `group_name` parameter, if both are present the priority will be given to `groupname`.

> <https://github.com/discourse/discourse/commit/54338cfdcb0d2f32d28108284f9889a65535401a>

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [22 november 2020 om 10:56 UTC](https://meta.discourse.org/t/opening-a-pre-filled-message-form-no-longer-works/86889/18 "2020-11-22T10:56:02Z")

</div>



---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [22 november 2020 om 21:24 UTC](https://meta.discourse.org/t/opening-a-pre-filled-message-form-no-longer-works/86889/19 "2020-11-22T21:24:33Z")

</div>


