main ← fix/move-posts-show-server-error
opened 10:34AM - 09 Feb 26 UTC
When moving posts to a new topic fails (e.g. title too short, missing required t…ags, duplicate title), the modal only shows a generic "There was an error moving posts." message. Users had to open browser dev tools and inspect the network response to find the actual reason for the failure.
Use `extractError` from `ajax-error.js` to extract the specific error message from the server's JSON response, falling back to the generic message when no details are available.
https://meta.discourse.org/t/393690
**BEFORE**
<img width="1727" height="1461" alt="2026-02-09 @ 10 23 04" src="https://github.com/user-attachments/assets/2e5f8880-44c3-4734-92b8-f663ced64f25" />
**AFTER**
<img width="1727" height="1461" alt="2026-02-09 @ 10 22 21" src="https://github.com/user-attachments/assets/8de939ef-8033-4672-ab21-1de04d1e4ec7" />