Marcus Andrey Study
Ler em português Library

Complex products · Step 6 · 9 min read

System and integration errors

Most errors in business software are not the user's fault: a server times out, another system doesn't answer, data arrives late. How to tell the three kinds of error apart, what every message must say, how to show a job that half worked, and how to keep people's work safe when something they can't control breaks.

A roller track leading into a machine, and six crates of different sizes waiting on it, each a job: the first is already in the machine's mouth, and one further back carries a flag because it failed. Point at a crate: it lifts off the rollers, its neighbours lift a little less, and the corner says which job it is and what state it's in. That's this step: big work runs out of sight, as jobs in a queue, and the screen has to show where each one is and which one needs a person. This step has four lessons: system and integration errors, background jobs, queues and notifications, perceived performance with big data, and audit trails and history.Illustration: Marcus Andrey, drawn with Hairline (MIT, Lucas Marques).

In business software, many errors are not the user's fault, and the person on the screen can't fix them. Gale talks to other systems all day: the turbines' own monitoring, the customer's stock system, the weather feed, the company login. Any of them can be slow, down or wrong. When that happens, the planner still has a crew waiting. A good error screen tells her what broke, whether her work is safe, and what she can do in the next minute.

What you'll be able to do after reading:

  • Tell a user error, a system error and an integration error apart, and say who can fix each one
  • Write an error message that says what happened, what is safe and what to do now
  • Show a job that worked for some records and failed for others, row by row
  • Ask developers the questions that keep people's work from being lost

1. Three kinds of error

An error here means any moment the software can't do what the person asked. Where it comes from decides who can fix it:

  • A user error comes from what the person entered: a date in the past, a missing field. They can fix it themselves. Validation and errors at scale covers these.
  • A system error comes from Gale itself: the server took too long, a bug, an update half done. Nobody on the screen can fix it; often trying again later works.
  • An integration error comes from another system that Gale depends on. An integration is the connection that moves data between two systems automatically, such as Gale asking the customer's stock system whether a part is available. When the other side is down, slow or answers something unexpected, Gale can't finish the job, and the fix is in someone else's hands: the customer's IT team, or another vendor.
KindGale exampleWho can fix itWhat the screen needs
User errorRita enters a planned end before the planned startRita, nowThe field, the problem, how to fix it
System errorGale's server takes too long to save the planGale's team; often it works a minute laterWhat is saved, Try again, a reference code
Integration errorThe customer's stock system doesn't answer a parts reservationThe customer's IT team (Paulo)Which records failed, a way around, a retry per record
Integration error, silentStock figures last updated at 07:10; it is now 10:15Paulo, once someone noticesThe source and the age of the data, loud when it's too old
Who can fix the error decides what the message says. The highlighted row is the hardest one: nothing looks broken, so the screen has to show how old the data is.Diagram: Marcus Andrey, CC BY 4.0. Gale and its people are fictional.

The table matters for design because each kind needs a different message. Telling Rita "Check the part number" when the stock system is down sends her looking for a mistake she didn't make. And the hardest case in Gale is the last row of the table: the data looks fine on screen, but it's old.


2. What every error message must say

NN/g's error-message guidelines ask for messages that are human-readable ("Avoid technical jargon and use language familiar to your users instead"), precise ("Provide descriptions of the exact problems to help users understand what happened") and constructive ("Merely stating the problem is also not enough; offer some potential remedies") (Neusesser and Sunwall, NN/g, 2023).

The GOV.UK Design System adds something that matters a lot for long work: a page about a broken service should include "information about what has happened to their answers if they are in the middle of a transaction". It also lists what not to write: "jargon like 500 or bad request" and "'We are experiencing technical difficulties'" (GOV.UK Design System, There is a problem with the service pages).

Put together, a system or integration error in Gale answers four questions, in this order:

  1. What happened, in the domain's words: "Gale couldn't reserve the parts", not "RFC timeout".
  2. What is safe: "Your work order is saved as Planned. Nothing was lost."
  3. What to do now: try again, continue without it, or a way around (call the warehouse).
  4. Who can fix it if it keeps happening, with a reference code for support: a short ID that lets the support team find the exact failure in their logs.
QuestionTurbineDesk (old)Gale (new)
1. What happenedERR 4012: STK_RES_TIMEOUTGale couldn't reserve the parts for WO-2026-018734. The warehouse system didn't answer.
2. What is safeOperation aborted.The work order is saved as Planned. Nothing you entered was lost.
3. What to do now(nothing)Try again in a few minutes, or schedule it without parts and call the warehouse.
4. If it keeps happening(nothing)Tell your Gale admin. Reference: GX-7Q2M (copy)
The same failure, written twice. Read the Gale column down: four answers, in the order the planner needs them. The reference code is still there, but last.Diagram: Marcus Andrey, CC BY 4.0. Questions after NN/g's error-message guidelines and GOV.UK's problem-with-the-service pattern. TurbineDesk and Gale are fictional.

The reference code doesn't contradict "no error codes". Nielsen's ninth heuristic asks for "plain language (no error codes)" (NN/g, 10 Usability Heuristics): the code must never be the message. It goes last, small, copyable, for the person who calls support.


3. When a job half works

Business software does many records at once, so it fails in parts: a partial failure is a job that worked for some records and not for others. Rita schedules 40 work orders for next week. Gale reserves the parts for each one in the stock system. 37 reservations go through; 3 don't, because the stock system stopped answering halfway.

Two common designs both lie. A green "Done" hides the three failures until a crew arrives without parts. A red "Scheduling failed" makes her think nothing happened, and she schedules all 40 again, so 37 get reserved twice.

The honest design reports the result per record and keeps the failures in front of her:

40 work orders scheduled for 2–6 Nov · 37 with parts reserved · 3 without parts
The warehouse system stopped answering at 10:42. Filter: Parts not reserved (3)

Work orderTurbineStatePartsAction
WO-2026-018734CA-07-T14ScheduledNot reserved: the warehouse system didn't answerRetry · Call warehouse
WO-2026-018741CA-07-T02ScheduledNot reserved: the warehouse system didn't answerRetry · Call warehouse
WO-2026-018752CA-11-T08ScheduledNot reserved: the warehouse system didn't answerRetry · Call warehouse
WO-2026-018690CA-07-T09ScheduledReserved, 4 lines–
A job that half worked, reported per record. The summary counts both outcomes; each failed row says why and has its own retry, so nobody schedules all 40 again. The list shows the 3 failures first, then 1 of the 37 that worked.Diagram: Marcus Andrey, CC BY 4.0. Gale, its customer and the IDs are fictional.
  • The summary counts both: "37 scheduled with parts · 3 scheduled without parts".
  • Each failed row says why and offers its own retry.
  • The failures don't vanish when the message closes. They stay as a filter ("Parts not reserved: 3") until someone deals with them.

4. Old data that looks new

The quietest integration error is data that stopped updating. The stock system answered at 07:10 and hasn't since; Gale still shows a number, and the number is wrong. Nothing on the screen looks broken.

Two habits help:

  • Say where data comes from and how old it is when it isn't Gale's own: "Stock from the warehouse system · updated 3 h ago". Show the time in small text when it's fresh, and as a warning when it's past the age the customer considers safe.
  • Give the integration a place to be checked. Paulo, Cabo Alto's IT admin, owns the connections (Console › Admin › Integrations). A page that lists each one, its last successful exchange and its recent failures lets him see the problem before the planners call him.

5. Don't lose the work, don't do it twice

Two questions to ask developers about every action that talks to another system. They decide most of the experience, and nobody asks them in a design review.

What happens to what the person entered? Keep it, always. NN/g's guideline is to "let users correct errors by editing their original action instead of starting over" (NN/g). In Gale, the work order stays saved even when the reservation fails; the failure is a status on it, not a reason to throw it away. Defaults, drafts and autosave covers the saving itself.

Is it safe to press Retry? If the first attempt reached the stock system but the answer got lost on the way back, a second attempt can reserve the part twice. Developers can make an action idempotent: doing it twice has the same effect as doing it once. When they can't, the design must stop the double press and say what is being checked: "Checking whether the first reservation went through…".


6. Common mistakes

  • Showing the developer's message ("NullReferenceException", "HTTP 500") to the planner.
  • One message for every failure: "Something went wrong".
  • Blaming the user ("Invalid request") for a failure in another system.
  • A single success or failure banner for a job that did many records.
  • Throwing away what the person typed because the save failed.
  • A Retry button that can do the job twice.
  • Showing data from another system with no source and no time.

7. Vocabulary

Term Meaning
Error Any moment the software can't do what the person asked
User error An error caused by what the person entered; they can fix it
System error An error inside the product itself, such as a timeout or a bug
Integration An automatic connection that moves data between two systems
Integration error An error in or with another system the product depends on
Partial failure A job on many records that worked for some and failed for others
Reference code A short ID shown with the error so support can find it in the logs
Stale data Data that stopped updating but is still shown as if current
Idempotent Safe to repeat: doing it twice has the same effect as once

8. Try it (no tools needed)

Take this message, from TurbineDesk, the old system Gale replaces: "ERR 4012: STK_RES_TIMEOUT. Operation aborted." It appeared when a planner tried to schedule a work order.

  1. On paper, decide which of the three kinds of error it is. (Hint: STK is TurbineDesk's code for the customer's stock system.)
  2. Rewrite it in four lines: what happened, what is safe, what to do now, reference code.
  3. Now write the version for 12 work orders scheduled at once, where 9 worked and 3 didn't. Write the summary line and one failed row.
  4. Check your two versions: no system names the planner doesn't use, no blame, the word "saved" (or "not saved") appears, and every failed row has its own action.

It's good when someone who has never seen the stock system understands what to do from your text alone.

Reflection questions: Which errors in a product you use show a code and nothing else? Who in that company would get the phone call?


9. If you already practise

  • Ask for an error report from support: the ten most common errors last month. Rewrite the top three first. They're usually system and integration errors, and they're usually the worst-written.
  • Put data age into the design system as a pattern (source · updated time · stale state), so every team shows it the same way.
  • Agree with developers on a rule for retries: which actions are idempotent, and what the screen says while it checks.

Checklist

Learn more

Books, courses and videos to go deeper

Book links go to Amazon. As an Amazon Associate I earn from qualifying purchases, at no extra cost to you.

Validation and errors at scale · Defaults, drafts and autosave · Background jobs, queues and notifications · Interface states: empty, loading, error, success · States and edge cases · Handoff to developers

Saved only on this device.

↑ ↓ to move · Enter to open · Esc to close