Error messages
Status: drafted introduction, awaiting review
An error message appears when something the person tried didn’t work: a field that can’t be accepted, a file that failed to upload, a page that didn’t load, a payment that was declined. The person is stuck, often in the middle of a task, and the message is all that stands between them and giving up. So it says plainly what went wrong and how to get past it, in words that don’t blame them. Validation messages in a form follow these rules too, and Forms says when to show them.
Three parts of an error message
Section titled “Three parts of an error message”An error message says what happened, what to do, and where to get help if that fails. In that order, and it sits next to the thing that failed. A message in a corner of the screen is easy to miss. Leave out the third part when the fix is certain. An error code can appear, but beside a plain sentence, never alone.
- Instead of
- Error 413.
- Write
- The file is larger than 25 MB. Compress it or choose a smaller one. (Error 413)
Errors without blame
Section titled “Errors without blame”Describe the condition. The message states a fact about the input or the system and leaves the person’s mistake out of it. No “Oops,” no apology, no exclamation mark, no “please,” and no “you” as the subject of a failure. The word list is mechanical; deciding whether “you” is the subject of a failure is not, so the rule is a judgment check.
- Instead of
- Oops! You entered an invalid email address. Please try again.
- Write
- Enter an email address in the form name@example.com.

