# What could be causing 500 errors when saving user preferences?

**URL:** <https://meta.discourse.org/t/what-could-be-causing-500-errors-when-saving-user-preferences/273790>\
**Category:** Product Support\
**Created:** [August 3, 2023, 9:44am UTC](https://meta.discourse.org/t/what-could-be-causing-500-errors-when-saving-user-preferences/273790 "2023-08-03T09:44:02Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![tkrunning](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tkrunning/32/119481_2.png) [@tkrunning](https://meta.discourse.org/u/tkrunning)\
**Post date:** [August 3, 2023, 9:44am UTC](https://meta.discourse.org/t/what-could-be-causing-500-errors-when-saving-user-preferences/273790/1 "2023-08-03T09:44:02Z")

</div>

I’ve run into another strange bug over the past few days on my Discourse instance. I cannot save any user preferences for my own admin user, I just get 500 errors. It seems to be the same for any `PUT` request to `u/[MY_USERNAME].json`.

 ![CleanShot 2023-08-03 at 11.30.46@2x](https://global.discourse-cdn.com/meta/original/4X/c/d/5/cd5df29ca12919499336e5b9dd9faeb325c6c605.png)

I also tried to repeat the same request in Postman using a valid API key, but that failed as well:

 ![Request body (copied as cURL from Safari)](https://global.discourse-cdn.com/meta/original/4X/0/8/7/08789e4c789470301c082553d2c2b5e8d63b8c3b.png)

 ![Response](https://global.discourse-cdn.com/meta/original/4X/4/2/c/42cb3f9ee86312fd5961aa78eac62d52ca8a128d.png)

I don’t see any errors showing up on /logs either.

Other user accounts don’t seem to be affected, at least the ones I tried.

Upgraded Discourse to the latest version yesterday, but the issue was present before the upgrade, too.

Any ideas for how I can continue debugging this?

---

_[View the full topic](https://meta.discourse.org/t/what-could-be-causing-500-errors-when-saving-user-preferences/273790)._
