-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error pages #119
Comments
Native error message updateIn March 2024, changes to the native code base of the NHS App necessitated the rebuilding of 27 native error pages. The NHS App user-centred design team used this as an opportunity to trial and test a new error page pattern. We had previously reviewed error messages across the app and found a lot of design variation, so our aim was to create a template that could be used in a more consistent way. We updated the design after moderated and unmoderated usability testing. Participants generally demonstrated a clear understanding of the error pages and successfully navigated through them. We noted some content and design improvements from the research which we introduced into an updated pattern. The user-centred design and service desk teams reviewed the updated designs before they went into production. NHS App content designers can find further details about the content pattern on Confluence: https://nhsd-confluence.digital.nhs.uk/display/NO/Error+message+guidelines |
What are error pages?Error pages are the result of an HTTP status code. This status code is the server’s response — in a three-digit code — to your browser’s request. Meaning that when you type a site’s URL in your browser, it sends a request to the server. What it receives is a code — an HTTP status code. Status codes are divided into classes and subclasses, based on the number it starts with — from 1 to 5. Every class represents different kinds of responses like:
The Most Common Error PagesThe most common ones are 401, 403, 404, 500, 502, 503, and 504 errors. The rest of the classes have as a result of another website page, with information of the status code in the HTTP Header. Why is this important?As we all know, knowledge is power. On one hand, knowing what these codes mean, and how to solve them, will help you to have a better management of your site. You will know how to put your site back on track in a timely manner. On the other hand, it will help your SEO. If a site has a high number of 404 errors, Google will think your site is not reliable, which will influence your overall rankings. Client-side ErrorsThey usually appear if a page is not found, or there are authentication issues. 401This type of error is caused by a lack of authorisation credentials, as you are not authorised to access the wanted page. This is the server telling you that you are not authenticated, or you misspelled your username or password. In order to solve this error, you could try the following:
403In this case, the error appears because you don’t have the necessary permissions to access the wanted page. The 403 response comes after the 401 response — when the user is logged-in, but it is not authorised to access the desired resource. You could try the following, to maybe get out of this mess:
404Simply put, this error means the server couldn’t find the page you requested. To solve this, you could try:
Server-side ErrorsThe 5xx errors are the fault of server providers and/or because of some connectivity issues. Either way, if one of this kind of errors persists, you should contact support. 500This error comes as the server encountered a problem, and couldn’t complete your request. The 500 error is a very broad HTTP status code — see it as the server saying that something’s wrong with it, and doesn’t want to further comment. To solve the 500 error, you could try the following:
502This type of error means that there might be some network connectivity problems. In this case, you are stuck with a Bad Gateway problem, as one of the upstream servers is not responding properly. You could try the following, in order to get out of that bad gateway:
503In this case, the service is temporarily unavailable as the site server is not available for usage, because of either a planned or an unplanned event. This may be caused by a temporary overloading or a maintenance issue. To solve this, how about trying to:
504This status code means that there is no response from the server in the allowed time period. This code gives a Gateway Timeout error. You could try the following:
|
@Graham-Pembrey some nit-picky things about the images above:
|
@michaelgallagher I think that (related links) component was an early concept by Max and George and it hasn't been built - well at least it doesn't live in the vue library, I'd need to check if was built in native code 👀 I don't see why it couldn't just be a heading with the standard card links. I agree on the spacing. Also the H2 is rather small and it'd be good to evidence the need for the (!) icon. |
The IA team conducted unmoderated and moderated usability testings with 39 participants in December 2023 to evaluate the effectiveness of redesigned error screens and to assess the level of user comprehension when encountering error screens. Types of error pages covered in this UR:
Key findings:
Quotes: Reflection: The length and amount of information presented on the error page led participants to overlook key information presented on the page, the error code. Some participants did not know who / what team they are contacting by clicking on the ‘contact us’ button. Therefore, on this type of error page the message should be clearer and more straight forward with the actions and key information highlighted clearly on the page.
Key findings:
Quotes: Reflection: The error message did not provide enough details and reasoning as to what the users should do next. No alternative ways shown to participants If participants did not want to use Face ID. Update: These are the most up to date error pages currently used that the team designed to address the above user pain points. |
Related to this issue on the service manual |
What
Tell the user there is something wrong with the service.
Other information
The text was updated successfully, but these errors were encountered: