<?xml version="1.0" encoding="utf-8"?>

Don't truncate error messages

Don't truncate error messages Bad Practice
Don't truncate error messages Best Practice

Encountering an error message is often a frustrating experience for users. It signifies that an issue has occurred, and users must invest additional effort to proceed with their task. To lessen this frustration, offer a helpful and constructive explanation about the problem and provide clear instructions on how users can resolve it promptly.

When designing error messages, ensure that they are easily scannable at a quick glance. Ideally, aim to keep the message within a single line to maximize visibility and avoid overwhelming users with too much text.

If the message cannot fit within one line without compromising clarity, it's acceptable to extend it to a second line. However, ensure that the message remains complete and coherent without any truncation, as cutting off essential information can lead to further user confusion.

Improve your UX & Product skills with interactive courses that actually work