# Unable to save wiki update

**URL:** https://meta.discourse.org/t/unable-to-save-wiki-update/143726
**Category:** Support
**Tags:** wiki-posts
**Created:** [March 9, 2020, 5:42pm UTC](https://meta.discourse.org/t/unable-to-save-wiki-update/143726 "2020-03-09T17:42:55Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![mbbroberg](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mbbroberg/32/157050_2.png) [@mbbroberg](https://meta.discourse.org/u/mbbroberg)
#### Post date: [March 9, 2020, 5:42pm UTC](https://meta.discourse.org/t/unable-to-save-wiki-update/143726/1 "2020-03-09T17:42:55Z")

</div>

I made some edits to an existing wiki and I can no longer save it. I thought I might have added something odd, so I removed the update and it still won’t save. It _is_ saving the update to drafts, so that’s nice at least.

- Tested in Chrome Version 80.0.3987.122 (Official Build) (64-bit)
- Tested in Firefox 68.5.0esr (64-bit)

Screenshot:

 ![Screen Shot 2020-03-09 at 12.40.42 PM](https://global.discourse-cdn.com/meta/original/3X/8/9/89644946c8b0dd2c8abe5441df476862213e4fd0.png)

Error:

```plaintext
PUT https://discourse.opensource.com/t/discourse-changelog/247 422
(anonymous) @ VM671:1
send @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:9851
ajax @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:9448
i @ _application-89e9321f54ec2a6476b431bd880424a6c4ad46e1348d6772e7b815f3eda867be.js:9157
(anonymous) @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:71964
n @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:72486
o @ _application-89e9321f54ec2a6476b431bd880424a6c4ad46e1348d6772e7b815f3eda867be.js:9171
update @ _application-89e9321f54ec2a6476b431bd880424a6c4ad46e1348d6772e7b815f3eda867be.js:12860
(anonymous) @ _application-89e9321f54ec2a6476b431bd880424a6c4ad46e1348d6772e7b815f3eda867be.js:13756
E @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:71937
(anonymous) @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:72003
t.invoke @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:66278
t.flush @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:66168
t.flush @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:66372
t._end @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:66948
t.end @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:66634
t._run @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:67003
t._join @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:66977
t.join @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:66694
f @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:53486
(anonymous) @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:45901
r @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:49817
handleEvent @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:45897
handleEvent @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:44834
(anonymous) @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:45224
dispatch @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:5251
v.handle @ _ember_jquery-8e338e1cfe17986203b8367e20408d23399e209fb3a0d86cbd8f98e499a037a9.js:5058

```

Any ideas?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [March 10, 2020, 5:33pm UTC](https://meta.discourse.org/t/unable-to-save-wiki-update/143726/4 "2020-03-10T17:33:15Z")

</div>

Can you please check the server logs at `/logs` for the 422 response?

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [March 10, 2020, 5:53pm UTC](https://meta.discourse.org/t/unable-to-save-wiki-update/143726/5 "2020-03-10T17:53:41Z")

</div>

Can you try in [safe mode](https://meta.discourse.org/t/53504?silent=true) please ? [Using Safe Mode to troubleshoot issues with themes and plugins](https://meta.discourse.org/t/how-to-use-discourse-safe-mode/53504)

If it works with safe-mode, please give me the list of your plugins/components/any custom theme you would have.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [March 10, 2020, 6:02pm UTC](https://meta.discourse.org/t/unable-to-save-wiki-update/143726/6 "2020-03-10T18:02:18Z")

</div>

I’m quite sure this will solve your issue:

[https://github.com/discourse/discourse/pull/9161](https://github.com/discourse/discourse/pull/9161)

Will merge it once tests pass.

---

<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: [March 10, 2020, 6:15pm UTC](https://meta.discourse.org/t/unable-to-save-wiki-update/143726/7 "2020-03-10T18:15:25Z")

</div>

Does that need to be backported? 🤔

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [March 10, 2020, 6:38pm UTC](https://meta.discourse.org/t/unable-to-save-wiki-update/143726/8 "2020-03-10T18:38:37Z")

</div>

I’m unsure yet how this state is possible, it comes from when we added multi category hierarchy support.

Will try to have a repro tomorrow and see if it’s worth backporting.

---

<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: [February 27, 2024, 7:40pm UTC](https://meta.discourse.org/t/unable-to-save-wiki-update/143726/9 "2024-02-27T19:40:59Z")

</div>



---

<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: [March 28, 2024, 7:41pm UTC](https://meta.discourse.org/t/unable-to-save-wiki-update/143726/10 "2024-03-28T19:41:44Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
