# Changing user settings results in 422 Unprocessable Entity / ActiveRecord::RecordInvalid

**URL:** <https://meta.discourse.org/t/changing-user-settings-results-in-422-unprocessable-entity-activerecord-recordinvalid/36722>\
**Category:** Bug\
**Created:** [14 Diciembre, 2015 23:56 UTC](https://meta.discourse.org/t/changing-user-settings-results-in-422-unprocessable-entity-activerecord-recordinvalid/36722 "2015-12-14T23:56:29Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![ckamps](https://avatars.discourse-cdn.com/v4/letter/c/e95f7d/32.png) [@ckamps](https://meta.discourse.org/u/ckamps)\
**Post date:** [17 Diciembre, 2015 22:20 UTC](https://meta.discourse.org/t/changing-user-settings-results-in-422-unprocessable-entity-activerecord-recordinvalid/36722/8 "2015-12-17T22:20:49Z")

</div>

> [@sam](#):
>
> Can you rename system to systemus… or something…

Although I tried that, it didn’t workaround the issue. Which didn’t surprise me because `system` already meets the min length of 6 requirements.

Since our non-LDAP situation and therefore the impact of this issue is temporary, I homed in on using 5 and 10 for `min_username_length` and `max_username_length` respectively. At least that enables certain user settings changes to work.

---

_[View the full topic](https://meta.discourse.org/t/changing-user-settings-results-in-422-unprocessable-entity-activerecord-recordinvalid/36722)._
