# Tópicos que falham na validação após a migração retornam erro '422' em vez de uma mensagem "amigável"

**URL:** <https://meta.discourse.org/t/topics-failing-validation-after-migration-throw-422-error-instead-of-nice-message/89148>\
**Category:** Bug\
**Created:** [Junho 4, 2018, 10:18pm UTC](https://meta.discourse.org/t/topics-failing-validation-after-migration-throw-422-error-instead-of-nice-message/89148 "2018-06-04T22:18:23Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)\
**Post date:** [Julho 10, 2018, 10:08am UTC](https://meta.discourse.org/t/topics-failing-validation-after-migration-throw-422-error-instead-of-nice-message/89148/6 "2018-07-10T10:08:45Z")

</div>

I can confirm this behaviour. We imported all topics into “uncategorized” and are now gradually recategorizing them. I just bumped into that 422 error. After reading this topic, I changed the title to make it comply with the minimum length and it worked. But it would obviously be nicer to have a meaningful error message, even if it just pointed into a general direction like “Topic failed validation. Does the title meet requirements?”. Even better would be to not produce an error at all and continue to allow non-compliant topic titles even when they are moved.

---

_[View the full topic](https://meta.discourse.org/t/topics-failing-validation-after-migration-throw-422-error-instead-of-nice-message/89148)._
