Improving User Experience: Redesigning Error Messages for Better Clarity and Helpfulness

Jul 13, 2024

Some tips and practical examples on how to write better error messages to help the user.

THE PROJECT

Making it easier to understand the errors in the data software. Redesign and reformulation of error messages to help the user with useful hints..

THE STRATEGY

Get an overview of the current state. Search for best practices, tips and revision of error messages. Work and discuss together to get redesigned error messages and more structured and useful messages for users.

WHY YOU SHOULD CARE

B2B platform design: Sorting through all the existing messages and taking them to a new level helps to take UX maturity to the next level and improve the software.

TIME FRAME

Two weeks sprint

ROLE

UX Writer, UX Researcher

The current error messages are not helpful for the user in any way. They are not structured, they all look different. They are quite chaotic. Some can be helpful, others just show an error code without any explanation. Some give tips on how to solve the problem, others just say: "Sorry, there was an error" - here even the dot is missing.

So how can this be done in a structured and user-orientated way? How can you help the user to solve these problems?

A deep insight into the theory: We rarely think about error messages, but errors are everywhere.

My task is to find a way to improve the existing error messages and make it easier for the user to understand the problem.

The first step: search for all error messages to get an overview of what is present in the current implementation. I found a few different messages that are not consistent in any way.

The second step: find a theory on how to write good error messages. An article and a book that were the most interesting for me:

"Designing Better Error Messages UX" published by Vitali Friedmann (22/08/2023).Yifrah, Kinneret (2017): UX Writing & Microcopy.

Here I have briefly summarized what is important when writing error messages in the UX:

We rarely think about error messages, but errors are everywhere. Some very helpful hints while reworking error messages. Some of them are quite obvious, but there are also very interesting tips:

You should never rely on color alone and always complement the error message with an appropriate icon next to the error or in the input field.

Try to guide the user to the solution: The output should be possible when you review the error message.  

To ensure accessibility, it is important to not rely solely on color to convey information. Lastly, provide guidance to the user to help them find a solution.

When writing, avoid sounding like a lawyer. For example, instead of saying 'This field is mandatory, please fill it in', simply state the requirement without any negative connotations. Instead, provide clear and concise instructions. Similarly, avoid using language that implies error or failure, such as 'Error! Please correct this field'.  

Write using general professional vocabulary and avoid technical terms such as validation/verification, legal, error serial number.  

Worst case: Combining technical terms with legal terms and terms of error and failure. For example, instead of saying 'Media ID validation failed', say 'Media ID check unsuccessful'. Validation error: this user does not exist in the system.

Rewrite: Give some examples for helpful error messages

Now the practical part begins - working on the existing messages, writing a theoretical guide for the design system and improving the existing error messages.

It is important to start by putting theory into practice. The heading should always contain a description of the error. This is followed by the reason why the error occurred. And the third part is the suggested solution, which should help the user to rectify the error.

An error message should be clear, practical and as simple as possible. When writing error messages, it is important not to blame the user and instead describe the problem in a service-oriented way. Use a pleasant tone and suggest a solution.

To prevent user frustration and errors, an error message must achieve three goals:

Ask yourself these four questions:  

In this way, I have edited the existing texts and tried to make them more eloquent.

Here you can see some bad examples and how they could be rewritten.

Follow these two steps to write the perfect error message:  

Introduce a new UX text pattern

My next step is to introduce a new UX text pattern into the existing design system. This should help to harmonize all error messages and make them more structured and consistent.

It should include the following:

Sources: