# 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:** 1

<div class="post-metadata">

**Author:** ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**Post date:** [Junho 4, 2018, 10:18pm UTC](https://meta.discourse.org/t/topics-failing-validation-after-migration-throw-422-error-instead-of-nice-message/89148/1 "2018-06-04T22:18:23Z")

</div>

When data is migrated from another software platform it is possible that topics migrated would be considered “invalid” if created on Discourse. Common causes of “invalid” topics are `min topic title length`, `max topic title length`, and `title max word length`. If a user attempts to edit these topics (including changing category) they receive a `422` error, instead of the standard `Title seems unclear, is it a complete sentence?`.

Further, it’d be great if we could share the specific cause of the error (word is too long, for example) instead of the vague “title seems unclear”.

---

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