Skip to the page
  1. Home
  2. Journal
  3. Studio notes
5 minutes of reading

Studio notesSTUDIO · 08

Writing error messages for someone who is already worried

An error message in a payments app lands on someone who may already be anxious about their money. We rewrote ours with three rules: say what happened, say what to do, and never blame the reader. Here is how that works in practice, with examples.

Journal cover with a small warning triangle softened into a rounded shape, drawn in red

An error in a game is an annoyance. An error in a payments app is a small shock. The person reading it may have just sent money, may be about to, or may be trying to see a card they need right now. Whatever the message says, it lands on someone who is already a little worried.

We rewrote every error and validation message on this site with that reader in mind. An error message is a small apology with instructions, and the instructions matter more. This note describes the rules we used and shows how they turned out.

Rule one: say what happened

"Something went wrong" is the most common error message on the internet and the least useful. It confirms the reader's fear without giving them anything to work with.

Our messages name the problem as specifically as we safely can. A form that expired says so. A transaction ID already used on another order says so. A card amount outside the limits says what the limits are: "Cards start at the minimum and stop at the maximum. Pick an amount in between," with the real figures filled in.

Rule two: say what to do

Every message should end with a next step. If the reader can fix it, we say how. If they cannot, we say who will and how to reach them.

  • An expired form: "Go back, refresh, and send it again."
  • Too many attempts: "Take a minute, then try again."
  • A server error: it is already in our logs; try again in a moment, and write to us if it keeps happening.
  • A suspended account: write to support, and a person will look into it.

A message without a next step leaves the reader exactly where the error found them.

Rule three: never blame the reader

"Invalid input" and "You entered an incorrect value" both put the fault on the person reading. Often the fault is the form's: a field that did not explain its format, a rule that was never shown. Our messages describe the problem, not the person. "That transaction ID has already been submitted with another order" states a fact; it does not accuse anyone.

Security messages are a special case

Some errors must be vague on purpose. A sign-in form should not reveal whether an email address has an account, because that helps attackers. In those places, we keep the message general but still useful: check the details and try again, or reset the password. The vagueness protects the reader, and we say so in the help center rather than in the error itself.

Error pages with a voice

Full error pages are the largest messages we write. Each has a short headline with a little personality and a plain sentence underneath:

  • Page not found: "This page went to press without us." Then: it moved, changed its name or never existed; the menu still works.
  • Expired form: "This page sat out too long."
  • Too many requests: "Easy now, one at a time."
  • Server error: "Something snapped on our side."
  • Maintenance: "Out for a quick reprint." Nothing has been lost.
  • Wrong account: "Wrong door for this account."

A small "Erratum" label sits above each one, borrowed from the correction notices newspapers print. The light tone is there to lower the temperature, never to replace the instruction.

Validation as you type

Some checks happen before you submit. The password field shows a strength meter as you type, so the rules are visible before they are enforced. The card amount field shows the fees and total live as the amount changes, so an out-of-range amount is visible early. Catching a problem at the field is kinder than rejecting the whole form at the end.

Matching the words to the interface

Error messages use the same words as the rest of the interface. If a status is called "Waiting on payment", the error that mentions it uses that exact phrase, not "pending". We explained the naming choices in how we name things. Consistent words mean the reader never has to translate between two vocabularies while worried.

Where errors lead

Many of our error messages point to the help center or to a ticket from the relevant order. The help center answers the awkward questions in advance, as we described in why our help center starts with the awkward questions. An error that links to a clear answer resolves more problems than one that only apologizes.

Testing the messages

We test error messages by reading them aloud as if to a friend who has just lost money. If a message sounds cold, evasive or confusing in that setting, it gets rewritten. It is not a scientific method, but it catches most of the bad ones.

Errors that arrive by email

Some bad news does not appear on a screen at all; it arrives in an inbox. When an order is turned down, the email says so in its subject, and the body gives the reason in a line of its own, followed by what can happen next and a way to reply. A refund that was not approved is explained the same way. These emails follow the same three rules as on-screen errors: what happened, what to do, no blame.

Short is not the same as clear

Interface writers are often told to keep messages short, and short is usually good. But an error message that is short because it leaves out the cause or the next step is not clear; it is just brief. We would rather use two sentences that help than four words that do not. The test is not length but whether the reader can act after reading it once.

Questions people ask

Why doesn't the sign-in error say whether my email is registered?

Because that information helps attackers guess accounts. The help center explains how to reset access if you are unsure.

What should I do if an error keeps repeating?

Write to us with what you were doing and the exact message. It helps us find the cause quickly.

Why do error pages have jokes?

To lower the tension a little. Every page still says what happened and what to do next.

  • studio notes
  • error messages
  • interface writing
  • validation

The price list, printed.

Two numbers, a person who checks every payment and refund rules in writing.