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.
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.
| Kind | Gale example | Who can fix it | What the screen needs |
|---|---|---|---|
| User error | Rita enters a planned end before the planned start | Rita, now | The field, the problem, how to fix it |
| System error | Gale's server takes too long to save the plan | Gale's team; often it works a minute later | What is saved, Try again, a reference code |
| Integration error | The customer's stock system doesn't answer a parts reservation | The customer's IT team (Paulo) | Which records failed, a way around, a retry per record |
| Integration error, silent | Stock figures last updated at 07:10; it is now 10:15 | Paulo, once someone notices | The source and the age of the data, loud when it's too old |
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:
- What happened, in the domain's words: "Gale couldn't reserve the parts", not "RFC timeout".
- What is safe: "Your work order is saved as Planned. Nothing was lost."
- What to do now: try again, continue without it, or a way around (call the warehouse).
- 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.
| Question | TurbineDesk (old) | Gale (new) |
|---|---|---|
| 1. What happened | ERR 4012: STK_RES_TIMEOUT | Gale couldn't reserve the parts for WO-2026-018734. The warehouse system didn't answer. |
| 2. What is safe | Operation 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 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 order | Turbine | State | Parts | Action |
|---|---|---|---|---|
| WO-2026-018734 | CA-07-T14 | Scheduled | Not reserved: the warehouse system didn't answer | Retry · Call warehouse |
| WO-2026-018741 | CA-07-T02 | Scheduled | Not reserved: the warehouse system didn't answer | Retry · Call warehouse |
| WO-2026-018752 | CA-11-T08 | Scheduled | Not reserved: the warehouse system didn't answer | Retry · Call warehouse |
| WO-2026-018690 | CA-07-T09 | Scheduled | Reserved, 4 lines | – |
- 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.
- On paper, decide which of the three kinds of error it is. (Hint: STK is TurbineDesk's code for the customer's stock system.)
- Rewrite it in four lines: what happened, what is safe, what to do now, reference code.
- 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.
- 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
- NN/g: Error-Message Guidelines (Neusesser and Sunwall, 2023)
- GOV.UK Design System: There is a problem with the service pages and Service unavailable pages
- NN/g: 10 Usability Heuristics for User Interface Design, heuristic 9
Books, courses and videos to go deeper
- Release It!Michael T. NygardBook · 2nd edition, Pragmatic Bookshelf, 2018 · on how systems fail in production, from the developer's side
- Usability EngineeringJakob NielsenBook · Academic Press, 1993 · the classic on usability heuristics, error messages included (Amazon)
Book links go to Amazon. As an Amazon Associate I earn from qualifying purchases, at no extra cost to you.
Related
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