2 min read · Websites and web apps

Having no data and failing to fetch data are different states. Status messages and recovering the user's work. A retry must take into account a request that may have already succeeded.
Implementation steps
- Go through the states at every point that requests data
- Define the message and the next action for each
- Test slow responses, failures, no permission, and an empty list
- Check that a retry does not create duplicate items
Example deliverable
Deliverable: a state table for the service request list page
Benefits
Helps users decide how to continue when the system is not in its normal state.
Limitations and cautions
A loading spinner alone does not show progress, and hiding errors makes problems hard to fix.
Starting references
- MDN — Client-server overview
- Nielsen Norman Group — Error-message guidelines
References
- MDN — Client-server overview (accessed 2026-11-21)
- Nielsen Norman Group — Error-message guidelines (accessed 2026-11-21)




