5 exercises — Practice vocabulary for writing error messages: what happened and what to do, avoiding technical codes, specificity vs. vagueness, recovery actions, and A/B testing.
0 / 10 completed
1 / 10
A UX writer reviews an error message that reads: "Error 403: Access denied." They rewrite it to: "You don't have permission to view this page. Contact your admin to request access." Which UX writing principle does this rewrite apply?
The three-part error message framework — what happened, why it happened, and what to do next — is the gold standard for user-facing errors: it respects the user's time by giving them enough to act, not just enough to know something went wrong.
Error message UX writing principles: (1) Describe the problem in plain language — "You don't have permission" not "403 Forbidden"; (2) Avoid blaming the user — "The file couldn't be uploaded" not "You uploaded the wrong file type"; (3) Provide a recovery action when possible — "Contact your admin to request access" gives the user a clear next step; (4) Be specific about what went wrong — "The file must be under 5MB" is more useful than "Upload failed"; (5) Match the tone of the product — a playful consumer app can use informal language; an enterprise tool should stay professional. The HTTP status code can be included (for support escalation) but should be secondary to the plain-language explanation.
Key vocabulary:
• error message — text displayed when something goes wrong, explaining the problem and ideally offering a recovery path
• recovery action — a specific, actionable next step provided in an error message to help the user resolve the problem
• plain language — writing that uses common words and clear sentence structure, accessible to users without technical expertise
2 / 10
A developer writes an error message: "NullPointerException: Object reference not set to an instance of an object." A UX writer asks why this should not appear in a user-facing interface. Which reason is most important?
Leaking technical error codes into user interfaces is both a UX failure (meaningless to users) and a security concern (reveals implementation details to potential attackers).
"NullPointerException" or "Object reference not set to an instance of an object" tells a security-conscious attacker that: (a) the application is written in C# or .NET; (b) there's a null-check missing somewhere; (c) the error wasn't caught by the error handling layer (suggesting fragile error handling). Attackers can use this to probe for similar unhandled exceptions. From the user's perspective, the message provides: zero information about what they were trying to do that failed, zero information about whether this is a temporary or permanent problem, and zero information about what to try next. The correct approach: catch exceptions at the application boundary, log the technical details (for engineering debugging), and show the user a human-readable message explaining the functional impact.
Key vocabulary:
• technical error code — a system-level identifier (exception class name, numeric code) that describes the implementation error rather than the user impact
• error handling layer — the application code responsible for catching exceptions and converting them into appropriate user-facing messages
• information leakage — unintended exposure of system implementation details through error messages, logs, or API responses
3 / 10
A UX writer critiques an error message reading: "Something went wrong." Their feedback: "'Something went wrong' is unhelpful — be specific." What makes vague error messages harmful?
"Something went wrong" is the UX equivalent of a blank page — it tells the user the system failed but leaves them completely without guidance, forcing them to guess what to try next or abandon the task entirely.
Specific error messages require engineering effort: the application must catch different error types and surface appropriate messages for each. This is why vague messages proliferate — "something went wrong" is the lazy fallback for unhandled cases. Good error message systems include: a library of specific messages for common failure modes, a tiered approach (specific message if known, helpful generic if unknown), and a feedback mechanism ("Was this helpful?" or a link to report the error). A/B testing of error messages is legitimate UX practice: Duolingo and other consumer apps have data showing specific error messages significantly improve recovery rates compared to vague alternatives.
Key vocabulary:
• vague error message — a non-specific message that doesn't describe the problem or provide recovery guidance
• error message specificity — the degree to which an error message describes the actual problem and provides actionable next steps
• recovery rate — the percentage of users who successfully complete a task after encountering an error
4 / 10
A UX writer adds a "recovery action" to every error message. Their manager asks what a recovery action is and why it matters. Which explanation is correct?
Recovery actions transform error messages from dead ends into paths forward — they are the difference between a user who abandons in frustration and one who successfully completes their task.
Recovery action design principles: (1) Match the action to the problem — a transient error gets "Try again"; a validation error gets "Fix the highlighted fields"; a permission error gets "Request access from your admin"; (2) Make the action a button or link, not just text — "Contact support at support@company.com" is better as a "Contact support" button that opens a pre-filled email; (3) If the error requires technical investigation, give the user a reference number — "Error ID: ABC-12345" allows support staff to correlate with logs; (4) Test that the recovery action actually works — a "Try again" button that doesn't retry the action is worse than no button. The Mailchimp UX writing guide is a classic reference for recovery action patterns.
Key vocabulary:
• recovery action — a specific instruction or interactive element in an error message that helps the user resolve the problem
• error ID / reference number — a unique identifier in an error message that allows support teams to locate the corresponding error log
• transient error — a temporary error (network timeout, server overload) that may resolve if the user retries
5 / 10
A product team says: "We A/B tested the error message copy." A new UX writer asks how you A/B test an error message and what you measure. Which explanation is most practical?
A/B testing error messages is legitimate and valuable — the best error message is the one that leads to the highest task completion rate, and data is the most reliable way to find it rather than relying on UX intuition alone.
Practical example: a team testing a payment error message tries two versions — "Payment failed. Please try again." (Version A) vs. "Your card was declined. Check that your card number, expiry date, and CVV are correct, then try again." (Version B). Measuring recovery rate (users who successfully pay after seeing the error), Version B might show 25% higher recovery because it tells users specifically what to check. The support contact rate might also drop for Version B — fewer users need to call support because the message explains the problem. High-frequency errors like form validation errors, payment errors, and login errors are the best candidates for A/B testing because they have sufficient volume. Error messages for rare system failures typically don't have enough volume for statistical significance.
Key vocabulary:
• A/B test — a controlled experiment showing different versions to different user segments to determine which performs better on a measured outcome
• recovery rate — the percentage of users who complete the intended action after encountering an error
• statistical significance — the confidence level that observed differences between test variants are real, not due to random variation
6 / 10
Alex, a senior developer, posted this comment on a code review: 'This error message is too verbose. Users don't need to know about the underlying database connection pool.' Which UX writing principle does Alex best represent?
Alex is prioritizing usability by advocating for concise language. Conciseness is a core UX writing principle focused on reducing cognitive load and ensuring users quickly grasp the message's intent. While accessibility and recovery actions are important considerations, the primary focus here is on clarity and ease of understanding – the foundation of good UX writing.
7 / 10
Sarah, a product manager, sends this Slack message to the team: 'The error message for failed API requests is just returning '500 Internal Server Error'. It's completely uninformative!' What's the *most* critical problem with this message?
The core problem is a lack of context. A good error message should always provide enough information for the user (or developer) to understand *why* the error occurred and ideally, what steps they can take to fix it. Simply stating '500 Internal Server Error' is insufficient; it doesn't explain the API request or associated data, leaving the recipient with no actionable insight.
8 / 10
Ben, a UX writer, is crafting a PR description for an error message update. The original message read: 'Invalid Input.' He's adding a recovery action. Which of the following best describes *why* including a recovery action is crucial?
Including a recovery action is vital because it directly addresses user frustration. A clear instruction – like 'Please enter a valid email address' – guides the user toward resolving the problem themselves, improving their experience and reducing support requests. The other options are secondary benefits; guiding the user is the primary purpose of a recovery action.
9 / 10
Chloe, a developer, needs to explain the concept of 'error budgets' to a new team member. She says: 'An error budget is the maximum number of errors we can tolerate in our system before it impacts user experience.' Which statement best describes what Chloe *means* by an 'error budget'?
Chloe is referring to a critical concept in UX design – an 'error budget.' This represents the acceptable level of errors users might encounter while using a system. It's not about money or technical metrics; it's about balancing functionality with user experience, recognizing that some errors are inevitable and need to be managed proactively.
10 / 10
David, a UX writer, is tasked with A/B testing two versions of an error message: 'Form Submission Failed' vs. 'Please check your form and try again.' What should David *primarily* measure during the experiment?
A/B testing an error message's effectiveness primarily focuses on its impact – the conversion rate. This measures how many users successfully complete their intended action (submitting the form) after seeing each version of the error message. While other metrics might provide supplementary data, conversion rate is the most direct indicator of whether the change improved user experience.
This exercise, "Error Message Vocabulary", tests your understanding of ux writing vocabulary and phrasing through 10 multiple-choice questions drawn from real workplace scenarios.
Is this exercise free to use?
Yes. Every exercise on CoderSlingo, including this one, is completely free — no account, sign-up, or payment required.
How many questions does this exercise have?
This exercise has 10 questions. Each one presents a realistic sentence or scenario with multiple-choice options and an explanation once you answer.
What happens after I answer a question?
You'll see immediate feedback showing whether your answer was correct, along with a short explanation of why — then a button to move to the next question.
Can I retry the exercise if I get questions wrong?
Yes. Once you reach the results screen, click "Try again" to reset your answers and go through the exercise from the start as many times as you like.
Do I need to create an account to take this exercise?
No account is needed. Your answers are scored in your browser during the session — nothing is saved to a server, so you can jump straight in.
Is my progress saved if I leave the page?
No — progress within an exercise resets if you navigate away or reload. Each exercise is short enough to complete in a few minutes in one sitting.
Who is this UX Writing exercise for?
It's designed for IT professionals and learners who want to sound natural discussing ux writing topics in English — useful for meetings, documentation, interviews, and day-to-day communication with English-speaking teams.
How is this different from reading a glossary or blog article?
Exercises like this one are active recall drills — you have to choose the correct term or phrasing yourself, which builds retention faster than passively reading a definition.
Where can I find more UX Writing exercises?
Browse the full UX Writing exercises hub for more practice, or explore other exercise categories covering vocabulary, grammar, interviews, and workplace communication.