Skills / UX writing / Error messages that help
UX writing, lesson 3 of 8
Error messages that help
Error messages appear at the worst moment: something has gone wrong, and the user is stuck. A good error message turns frustration into a quick fix. A bad one ("Error 0x80070057" or "Invalid input") leaves people confused or makes them give up.
A helpful error message answers three questions:
- What happened? In plain words, without jargon or codes
- Why? If it helps the user understand, and it is short
- What can they do now? The specific next step
Compare:
- Bad: "Invalid date."
- Good: "Enter a date after today. Bookings can't be made in the past."
- Bad: "Upload failed."
- Good: "That file is too large. Choose a file under 10 MB, or compress this one and try again."
- Bad: "Authentication error."
- Good: "That password doesn't match. Try again, or reset your password."
Good practices:
- Do not blame the user. Avoid "You entered an invalid email". Say "Enter an email address like name@example.com"
- Be specific. Say which field and what is wrong
- Put the message where the problem is: next to the field, not only at the top of the page
- Keep what they typed. Never clear a whole form because one field was wrong
- Avoid humour in serious errors. A joke when someone's payment failed feels dismissive
- Prevent errors where possible: show the password rules before they type, disable dates that cannot be booked, explain formats in the label
Test error messages by triggering them yourself. Many products ship with messages written by developers in a hurry. Fixing them is one of the quickest wins a UX writer can deliver.
Try it: Find three unhelpful error messages (try entering wrong data on a few sign-up forms). Rewrite each one to say what happened and what to do next.
The tutor gives hints, not finished answers. Log in to use it.