What to design for when the AI is wrong
Start your AI error handling design with the confident wrong answer, not the timeout. A timeout announces itself. A made up churn figure shows up in the same card, in the same calm tone, as a correct one.
When we say AI error handling UX we mean everything on screen after the model gets something wrong: how the person notices it and how they fix it. Picture an assistant asked for last quarter’s churn. It cites a report nobody ever wrote, and the number ends up in the board deck. This post stays with what happens after a wrong answer. Who approves an action before the AI takes it is a separate problem, covered in [human in the loop UX](/blog/human-in-the-loop-ux).

Published November 28, 2026 · By Dhaval Agrawal, founder of Kraftbase; sources checked November 27, 2026
Why does AI error handling need its own UX?
Because a wrong AI answer can look finished.
A broken form stops you with red text under the field. A hallucinated figure stops nobody (it looks like every right answer the tool has given), so the interface has to carry the doubt the output won’t.
Nielsen Norman Group’s piece on AI hallucinations describes them as factually false statements that the AI tends to deliver confidently. That confidence is why people miss them.
Microsoft Research wrote about correction back in 2019. Guideline 9 of its Guidelines for Human AI Interaction is titled “Support efficient correction” and asks that people can edit, refine or recover when the system is wrong.
5 ways an AI feature fails, ranked by cost
We rank the 5 by what each one costs the person using the product, since that decides how much design time a failure deserves. The last column is our mapping; Microsoft doesn’t group its guidelines this way.
Failure | What the user sees | Design response | Closest HAX guideline |
|---|---|---|---|
1. No answer | Timeout, refusal or “I can’t help with that” | Say why in plain words and offer the next step | G10, scope services when in doubt |
2. Weak answer | Vague, generic or partial output | Show what the AI used and suggest a sharper prompt | G11, make clear why the system did what it did |
3. Visible wrong answer | An error the user can catch | Edit, retry and dismiss, each in one action | G8 and G9, dismissal and correction |
4. Hidden wrong answer | A confident hallucination | Evidence at the claim, flags on uncertain parts, a check before export | G2, make clear how well the system can do what it can do |
5. Wrong action | The agent did something it shouldn’t | Undo window, activity log, a route to a person | G17, provide global controls |
Failure 1 usually gets designed first because it’s the easiest to mock up. We’d start the review at failure 4, the one people are worst at catching on their own.
Refusals and empty answers
One sentence on what the AI couldn’t do. One on what to try instead.
Compare “Something went wrong” with “I can’t find invoices before 2024 in this workspace. Upload the archive or ask about 2024 onward.” Only the second goes somewhere. And leave their prompt in the box; retyping after a refusal is how people learn to stop asking.
How do you design for hallucinations users can’t spot?
Move the evidence and the doubt next to the claim, then ask for a check before the answer leaves the product.
The first is evidence at the claim. A source link should open the exact passage the model used rather than page 1 of a long PDF, because if checking a claim takes longer than accepting it, most people will accept it. Our post on AI citations UI covers how to build that link so it lands on the right passage.
The second is a flag on the shaky part. Highlight the number, name or date the model is least sure of instead of the whole paragraph, since a paragraph that is highlighted from start to finish doesn’t tell the reader where to look. Whether the flag needs a score or only a label is its own decision, and AI confidence indicators explains when a label is enough.
The third is a check before export. When someone clicks Copy or Export, show a short prompt such as “This answer includes 3 figures. Check them against the source before sharing.” That click is the moment the answer leaves your product, so it’s the last point where a mistake is still cheap to fix.
When the agent already did the wrong thing
Once an agent has acted, the person needs an undo window and an activity log they can read, plus a way to reach a human when neither of those fixes the problem.
The log is the part teams tend to skip, even though it’s the only record support has to work from later. It should say what the agent did, when it did it and which records it touched, so that when a customer asks “why did this invoice go out?” someone on the support team can answer without paging an engineer.
Stopping the action beforehand is a separate job: see human in the loop UX and the AI agents page.
AI error handling UX vs classic error states
Classic software usually knows when it failed. A model often doesn’t know, so the error lands inside an answer that looks fine and the reader is the last check left.
Retry is where this bites. In classic software the same input gives the same error. Anthropic’s SDK reference for the temperature setting notes that even at a temperature of 0.0 the results won’t be fully deterministic. So an AI retry can come back better or worse.
We’d keep the previous answer on screen and let people compare before anything gets replaced.
Also read: AI chat interface states walks through error and loading states inside a chat product.
Mistakes we’d push back on
The most common one is a disclaimer in the footer. Because it sits under every answer, it never tells the reader which answer to doubt, so it can’t help anyone decide what to check.
Feedback is the next place it goes wrong. A thumbs down that goes nowhere tells people that reporting a problem is pointless, so ask one short follow up such as “Wrong fact, wrong tone or not useful?” and then offer a way to fix the answer.
How do you test AI error handling with a planted mistake?
The simplest test is to plant a mistake on purpose. Give 5 users 3 tasks and rig one of them so the AI returns something that looks plausible but is wrong, such as a date off by a year, 2 numbers swapped or a source that doesn’t exist.
Ask them to finish each task and use the result the way they normally would. While they work, watch whether they catch the planted error, what made them notice it and how long the fix took once they had seen it.
We write the pass bar down before the first session, because a borderline result is easy to talk up once you’ve watched it happen. Ours is 4 of 5 users catching the error, which is a working number we use rather than an industry standard. Missing the error usually means the evidence sits too far from the claim, so that’s the first thing to move. Catching it but fixing it slowly points somewhere else, to edit and retry, which should each come down to a single action.
AI error handling UX FAQs
Numbers, dates, names, quotes and anything that looks like a citation. Those are the parts people copy into other documents, so a mistake in one of them travels the furthest and is the hardest to trace back later. Suggested wording and tone summaries can wait, because readers already treat that kind of output as a draft they will edit anyway.
No. A timeout is a failure the product knows about, so a plain message with a Retry button does the job. A suspected hallucination is different because the product isn’t sure anything is wrong, which means the warning belongs inline on the claim itself, next to the evidence and an edit option. If the two look the same, people learn to dismiss both.
Count corrections per 100 answers, including edits, retries, undos, thumbs down and escalations to a person. When the edit rate climbs on one particular task, pull a sample of those outputs and read them. Usage numbers won’t show this on their own, because people keep using a tool while they fix its output by hand.
It depends on the action type, and the deciding factor is when the action leaves your product. An email or a payment can’t be pulled back once it lands, so the useful window there is a short send delay with a visible Cancel. A change inside your own records is different, since the activity log can keep it undoable for much longer.
About the author
Dhaval Agrawal is the founder of Kraftbase, a design and development studio in Vadodara, India, for AI and SaaS companies.
Sources
Nielsen Norman Group, AI hallucinations: what designers need to know
Saleema Amershi and others, Guidelines for Human AI Interaction, Microsoft Research, CHI 2019
Anthropic, Ruby SDK reference, temperature parameter
All checked November 27, 2026.
Talk to Kraftbase
Which kind of AI failure is your product weakest on?
Send us a few screens or a short screen recording. We’ll map your error states against the 5 failure types and tell you which one to fix first.
What to design for when the AI is wrong
Start your AI error handling design with the confident wrong answer, not the timeout. A timeout announces itself. A made up churn figure shows up in the same card, in the same calm tone, as a correct one.
When we say AI error handling UX we mean everything on screen after the model gets something wrong: how the person notices it and how they fix it. Picture an assistant asked for last quarter’s churn. It cites a report nobody ever wrote, and the number ends up in the board deck. This post stays with what happens after a wrong answer. Who approves an action before the AI takes it is a separate problem, covered in [human in the loop UX](/blog/human-in-the-loop-ux).

Published November 28, 2026 · By Dhaval Agrawal, founder of Kraftbase; sources checked November 27, 2026
Why does AI error handling need its own UX?
Because a wrong AI answer can look finished.
A broken form stops you with red text under the field. A hallucinated figure stops nobody (it looks like every right answer the tool has given), so the interface has to carry the doubt the output won’t.
Nielsen Norman Group’s piece on AI hallucinations describes them as factually false statements that the AI tends to deliver confidently. That confidence is why people miss them.
Microsoft Research wrote about correction back in 2019. Guideline 9 of its Guidelines for Human AI Interaction is titled “Support efficient correction” and asks that people can edit, refine or recover when the system is wrong.
5 ways an AI feature fails, ranked by cost
We rank the 5 by what each one costs the person using the product, since that decides how much design time a failure deserves. The last column is our mapping; Microsoft doesn’t group its guidelines this way.
Failure | What the user sees | Design response | Closest HAX guideline |
|---|---|---|---|
1. No answer | Timeout, refusal or “I can’t help with that” | Say why in plain words and offer the next step | G10, scope services when in doubt |
2. Weak answer | Vague, generic or partial output | Show what the AI used and suggest a sharper prompt | G11, make clear why the system did what it did |
3. Visible wrong answer | An error the user can catch | Edit, retry and dismiss, each in one action | G8 and G9, dismissal and correction |
4. Hidden wrong answer | A confident hallucination | Evidence at the claim, flags on uncertain parts, a check before export | G2, make clear how well the system can do what it can do |
5. Wrong action | The agent did something it shouldn’t | Undo window, activity log, a route to a person | G17, provide global controls |
Failure 1 usually gets designed first because it’s the easiest to mock up. We’d start the review at failure 4, the one people are worst at catching on their own.
Refusals and empty answers
One sentence on what the AI couldn’t do. One on what to try instead.
Compare “Something went wrong” with “I can’t find invoices before 2024 in this workspace. Upload the archive or ask about 2024 onward.” Only the second goes somewhere. And leave their prompt in the box; retyping after a refusal is how people learn to stop asking.
How do you design for hallucinations users can’t spot?
Move the evidence and the doubt next to the claim, then ask for a check before the answer leaves the product.
The first is evidence at the claim. A source link should open the exact passage the model used rather than page 1 of a long PDF, because if checking a claim takes longer than accepting it, most people will accept it. Our post on AI citations UI covers how to build that link so it lands on the right passage.
The second is a flag on the shaky part. Highlight the number, name or date the model is least sure of instead of the whole paragraph, since a paragraph that is highlighted from start to finish doesn’t tell the reader where to look. Whether the flag needs a score or only a label is its own decision, and AI confidence indicators explains when a label is enough.
The third is a check before export. When someone clicks Copy or Export, show a short prompt such as “This answer includes 3 figures. Check them against the source before sharing.” That click is the moment the answer leaves your product, so it’s the last point where a mistake is still cheap to fix.
When the agent already did the wrong thing
Once an agent has acted, the person needs an undo window and an activity log they can read, plus a way to reach a human when neither of those fixes the problem.
The log is the part teams tend to skip, even though it’s the only record support has to work from later. It should say what the agent did, when it did it and which records it touched, so that when a customer asks “why did this invoice go out?” someone on the support team can answer without paging an engineer.
Stopping the action beforehand is a separate job: see human in the loop UX and the AI agents page.
AI error handling UX vs classic error states
Classic software usually knows when it failed. A model often doesn’t know, so the error lands inside an answer that looks fine and the reader is the last check left.
Retry is where this bites. In classic software the same input gives the same error. Anthropic’s SDK reference for the temperature setting notes that even at a temperature of 0.0 the results won’t be fully deterministic. So an AI retry can come back better or worse.
We’d keep the previous answer on screen and let people compare before anything gets replaced.
Also read: AI chat interface states walks through error and loading states inside a chat product.
Mistakes we’d push back on
The most common one is a disclaimer in the footer. Because it sits under every answer, it never tells the reader which answer to doubt, so it can’t help anyone decide what to check.
Feedback is the next place it goes wrong. A thumbs down that goes nowhere tells people that reporting a problem is pointless, so ask one short follow up such as “Wrong fact, wrong tone or not useful?” and then offer a way to fix the answer.
How do you test AI error handling with a planted mistake?
The simplest test is to plant a mistake on purpose. Give 5 users 3 tasks and rig one of them so the AI returns something that looks plausible but is wrong, such as a date off by a year, 2 numbers swapped or a source that doesn’t exist.
Ask them to finish each task and use the result the way they normally would. While they work, watch whether they catch the planted error, what made them notice it and how long the fix took once they had seen it.
We write the pass bar down before the first session, because a borderline result is easy to talk up once you’ve watched it happen. Ours is 4 of 5 users catching the error, which is a working number we use rather than an industry standard. Missing the error usually means the evidence sits too far from the claim, so that’s the first thing to move. Catching it but fixing it slowly points somewhere else, to edit and retry, which should each come down to a single action.
AI error handling UX FAQs
Numbers, dates, names, quotes and anything that looks like a citation. Those are the parts people copy into other documents, so a mistake in one of them travels the furthest and is the hardest to trace back later. Suggested wording and tone summaries can wait, because readers already treat that kind of output as a draft they will edit anyway.
No. A timeout is a failure the product knows about, so a plain message with a Retry button does the job. A suspected hallucination is different because the product isn’t sure anything is wrong, which means the warning belongs inline on the claim itself, next to the evidence and an edit option. If the two look the same, people learn to dismiss both.
Count corrections per 100 answers, including edits, retries, undos, thumbs down and escalations to a person. When the edit rate climbs on one particular task, pull a sample of those outputs and read them. Usage numbers won’t show this on their own, because people keep using a tool while they fix its output by hand.
It depends on the action type, and the deciding factor is when the action leaves your product. An email or a payment can’t be pulled back once it lands, so the useful window there is a short send delay with a visible Cancel. A change inside your own records is different, since the activity log can keep it undoable for much longer.
About the author
Dhaval Agrawal is the founder of Kraftbase, a design and development studio in Vadodara, India, for AI and SaaS companies.
Sources
Nielsen Norman Group, AI hallucinations: what designers need to know
Saleema Amershi and others, Guidelines for Human AI Interaction, Microsoft Research, CHI 2019
Anthropic, Ruby SDK reference, temperature parameter
All checked November 27, 2026.
Talk to Kraftbase
Which kind of AI failure is your product weakest on?
Send us a few screens or a short screen recording. We’ll map your error states against the 5 failure types and tell you which one to fix first.
