# 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.Декабрь.2015 23:56:29 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:** 6

<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:** [15.Декабрь.2015 22:59:16 UTC](https://meta.discourse.org/t/changing-user-settings-results-in-422-unprocessable-entity-activerecord-recordinvalid/36722/6 "2015-12-15T22:59:16Z")

</div>

It looks like we have compatible data, but an error still occurs.

On a site that encounters this error, several Excel macros for min and max username length report 6 and 8 respectively against the report of all users. Those are within the bounds of our min and man username settings mentioned earlier in this topic.

 ![](https://global.discourse-cdn.com/meta/original/3X/c/4/c4330859544c83f0846dd8d6337e61dc0c56ca43.png)

---

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