Skip to main content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Patterns

Help users to…

Recover from errors

Also known as: Error messages

Use: Deployed
Details the structure, style, and tone for error and informational messages.

Note: The guidelines below don’t apply to inline error messages in form fields (for example, “Please enter a valid Social Security number.”). Inline form field error messages will be handled in a separate error guide.

Structure

Every error message will have up to 3 parts:

Structure of an Alert.
The 3 parts of every error message: Title, description, call-to-action button or action link.

1.Title

  • Bold title giving the user a quick idea of what’s wrong (or, for informational alerts, the key message the user needs to know).

2. Description

  • Apology (if the error is coming from a problem on our end).
  • Succinct description of the issue, cause, and any relevant details.
  • Call to action telling the user what to do next (if applicable).
  • Next-step call to action telling the user what to do if the first call to action fails to resolve the issue (if applicable).
  • Actionable next-step for user (if applicable).

Content within the message - General

To create an effective error message, ask yourself these 4 questions:

1. What’s the error/issue?

The answer will inform the details of the issue and cause.

2. What’s the source of the error/issue?

The answer will determine how the error/issue needs to be framed, and whether an apology is needed.

Consider if the issue is caused by:

A. The user’s action

B. An authorization issue. If so, consider whether the issue is due to:

  • VA.gov’s inability to find user’s records in our system
  • The user’s records showing user can’t use benefit/service (ie, user isn’t a VA patient, user isn’t enrolled in benefit/service, user isn’t eligible for benefit/service)
  • Something else

C. A system or network access issue. If so, consider whether the issue:

  • Affects the entire site or just one page/application/component/user task
  • Is scheduled/expected or unexpected
  • Is the result of an issue of VA.gov, a separate site/app (such as DS Logon), or Internet network connection

3. What does the user need to know to resolve the error/issue?

The answer will inform the call to action telling the user what to do next, as well as any relevant details.

For an error caused by or due to:

  • User action. Offer the user clear guidance on how to resolve the error (ie, “Please make sure your file is a .pdf format”).
  • Authorization issue. If the issue is due to VA.gov inability to find user’s records in our system, direct the user to try again or call the VA.gov help desk if they think their records should be available.
  • User’s records showing the user can’t use benefit/service. Offer a path forward:
    • User not eligible for benefit: Direct to relevant eligibility information
    • User not enrolled in benefit: Direct to relevant eligibility information and application page.
    • User not a VA patient: Direct to facility locator to find contact information to call their VA facility.
  • System or network access issue. The error message should include timing for when the user should try again. This can be specific timing (eg, in an hour, tomorrow, etc.) if an estimate is available or more general timing (eg, soon, later) if an estimate isn’t available.

4. If the resolution fails, what’s the next step?

The answer will inform whether or not to include a “next-step call to action” to help guide the user further should the first call to action fail to resolve the issue. This may be language directing the user to call the VA.gov help desk or other VA resources, and will be determined on an issue-by-issue basis. See Next-step calls to action below for more information and guidance.

Content within the message - Task completion

Below are examples of each type of Alert style for task completion.

Success alerts

Create a brief title documenting the task that was successfully completed, followed by a brief description of the success.

Saved

Success alert for saving.
We saved the information you've entered so far.

Error alerts

Include exactly what failed in the title, followed by a brief apology, reiteration of the failure reframed in the VA.gov perspective, and prompt to try again.

Your form didn’t save

Error alert for form didn't save.
We're sorry. We couldn't save your form. Please try again.

Consider whether there is additional information, including a time estimate for resolution and/or a call to action button, that should be included.

Please save this application and try again

Error alert for please save and try again.
We're sorry. Your application didn't go through. We're working to fix the problem, but it may take us a while. Please save your application, and try again tomorrow.

Informational messages and warnings

To create an effective informational message or warning, ask yourself these 2 questions:

1. What’s the key information the user needs to know?

This information should be presented as succinctly as possible in the title and then reiterated in the description with any additional relevant details.

Informational example

Info alert for site maintenance.
We’ll be doing some work on VA.gov on [DATE] between [TIME] and [TIME]. If you have trouble using the site during that time, please check back soon.

Warning example

Info alert for site maintenance.
We’re doing some work on VA.gov right now. You should still be able to use the site applications and tools. If you have any trouble, please check back soon.

2. Does the user need to take action, or do we want the user to take action?

When action is required, frame required information as a need.

We need your help to finish reviewing your claim

Info alert for site maintenance.
We need you to provide more evidence (supporting documents) so we can finish reviewing your claim.

When we want to prompt the user to take action, frame the prompt as a question to engage the user.

Want to make your VA.gov account more secure?

Info alert for site maintenance.
You can add an optional extra layer of security (called 2-factor authentication) to your account. This helps to make sure that no one but you can access your account—even if they get your password.

Messages dictionary

The messages dictionary holds the title, content, component, and state for each scenario of message on the site.

View the messages dictionary

Style and tone

Clear and direct

Tell the user what’s happened/happening, how it will impact them, and how they can resolve it.

Humble, helpful, and non-alarming

Use language that...

  • Accepts ownership (or shared ownership) of the error (ie, “We’re sorry. We can’t find your records in our system.”)
  • Instills confidence in the user (ie, “We’re working to fix the problem.”)
  • Offers steady, helpful guidance toward resolution (ie, “Please make sure the file you’re uploading is a .pdf or .doc file and try again.”)

Avoid language that...

  • Blames the user for the error (even if error is user-generated) (ie, “You’re not in our system.”)
  • Instills alarm (ie, “Warning!”)
  • Feels overly casual or dismissive (ie, “Oops! Incorrect file type”)

Framed to highlight VA.gov ownership/shared ownership of the error

Did the user’s action cause the error?

If yes: Avoid language that feels alarming or blame-oriented and re-frame error as being a shared one, while guiding user to correct the error.

Situation Sample error message
File upload fails because user tried to upload an unacceptable file type. We couldn’t upload your file We weren’t able to upload your file. Please make sure the file you’re uploading is a .pdf or .doc file and try again. [button] Upload file again

If no: Accept responsibility for the error and offer user brief, but clear, details and guidance to resolution.

Situation Sample error message
Application fails to go through due to server issues. Please save this application and try again We’re sorry. Your application didn’t go through. We’re working to fix the problem, but it may take us a while. Please save your application, and try again tomorrow. [button] Save your application

Conversational and plain language

First person/second person with a personal/helpful tone. Example:

This...

  • These records are unavailable. The help desk may be able to help locate them…

Becomes something like this

  • We can’t find your records. You can call the VA.gov help desk…We’re here Monday through Friday…

Plain, simple words (ie, avoid jargon and multisyllabic words wherever possible). Examples:

This...

  • If you need immediate assistance…
  • The system is currently unavailable…

Becomes something like this

  • If you need help right now…
  • VA.gov isn’t working right now…or VA.gov is down at the moment

When the instructions are conditional, lead with the conditional phrase to make it clear who the instructions are for. Examples:

This...

  • Please call us if it still doesn’t work.
  • You can’t use this tool if you’re not a VA patient.

Becomes something like this

  • If it still doesn’t work, please call us.
  • If you’re not a VA patient, you can’t use this tool.

Additional guidance

Error state and message intent

Focusing in on the intent of the error message can help to further flesh out the nuances of tone and description content.

Error state When to use Tone Goals Example
Informational To surface system-related feedback not initiated by the user (e.g. status updates). or, To provide information that helps set the user’s expectations for their experience (e.g. SiP available). Clear and direct, Humble, Empathetic, Helpful Succinctly convey information Explain how (and for how long) user may be impacted Offer guidance toward resolution (if needed) VA.gov will be down for maintenance soon
We’ll be doing some work on VA.gov on [Date] between [time] and [time]. If you have trouble using the site during that time, please check back soon.
Success As a confirmation that a user-initiated action was completed successfully. Positive, direct, and definitive Quickly and clearly convey user’s success File uploaded
We’ve uploaded your file. Thank you.
Warning An action was unsuccessful, but the user can still proceed. or, some parts of the user’s experience may be limited that normally wouldn’t be (e.g. system is down and records are accessible but outdated). Clear that there may be a problem, while being un-alarming and focused on reason and resolution Help user understand the issue and resolve it as needed Some information may not be current
We’re sorry. We’re having issues with our server. We’re working to fix it, but it may take us a while. You can still use [APPLICATION/PAGE NAME], but you may not see all of your updated information. If you’re having trouble, please try again later.
Error A user action was not completed and must be resolved to proceed. Clear that’s something’s wrong that will block the user from moving forward, while being un-alarming and focused on reason and resolution Help user understand the issue and resolve it We’ve run into a problem
We’re sorry. It looks like your latest action didn’t go through on the site because there’s a problem with the Internet connection. We can’t take you to the next step until this is complete. Please check to make sure you’re connected to the Internet and try again.
Actions (single button) The user must take an action to proceed with the task indicated by the message Enticing to help prompt user to take action, while being clear about the action needed Get user to take a specific action Still want to apply for VA health care benefits?
You started an application for health care benefits on [DATE], but you didn’t submit it. You can open the application and finish applying at any time. [button] Open your application
Actions (binary button) The user must choose between two actions to proceed with a task, or to confirm an important action. Clear and direct about how each of the choices will impact the user Help user make an informed choice of action to take Are you sure you want to start this application over?
If you start over, you’ll lose all the information you’ve filled in so far. [button 1] Start over [button 2] Continue your application

Messaging categories

The Messaging Dictionary can help offer specific messages to use and/or examples to inform new message creation. We’ll continue to expand the dictionary, so check back often for new messages.

Error state When to use Link to dictionary of messages
System messaging Alerts the user of important system-related issues or status. It’s initiated by the system and it’s not a result of the user’s actions. See system message examples
Engagement messaging Alerts the user of important system-related issues or status. It’s initiated by the system and it’s not a result of the user’s actions. See engagement message examples
Access messaging Appears when the user tries to access an item that’s not available to them. It may be because the record has been deleted, the user doesn’t have access, etc. etc. See access message examples
Feedback messaging The application’s response when the user is interacting with it. The majority of create, read, update, delete (CRUD) actions will result in feedback messaging. See feedback message examples

Next-step calls to action

Some errors may not be resolved based on initial instructions to user (ie, “Try again later”). In these cases, a next-step call to action (ie, “Call the VA.gov help desk”) may be necessary. This will be decided on a case-by-case basis, but below are some initial guidelines for determining the appropriate next-step call to action.

Next-step call to action When to use Standard language to use Potential condition variations
Call the VA.gov help desk User can’t resolve an error that is directly related to the website (specifics TBD) Please call the VA.gov help desk at 800-698-2411 (TTY: 711). We’re here 24/7. If you need more help, please call… If it still doesn’t work, please call…
Get more information about/help with your VA benefits User may not be able to resolve error, but next step would involve talking to someone at VA about benefits If you need more help, call us at 800-827-1000. Or, contact a VA regional benefit office near you. (button) Find a VA regional benefit office If you have questions about your benefits…
Get help filing a disability claim User needs more help filing a disability claim If you need more help with your claim, you may want to work with a trained professional. (button) Get help with your claim  
Contact the Veterans Health Administration toll-free hotline User needs help filling out a health care benefits application If you need more help filling out your application, call our toll-free hotline at 877-222-VETS (877-222-8387). We’re here Monday–Friday, 8:00 a.m. to 8:00 p.m. ET. You can also get help from a trained professional called an accredited representative. Or, find your state’s Veterans agency. (button 1) Request a representative
(button 2) Find a Veterans agency
If you have questions about your application,…
Contact your local VA medical center User needs to contact their doctor or speak to someone at a VA medical center for more information If you need more help with this, call your healthcare provider or your local VA medical center or clinic. button) Find a VA health facility If you have questions, call your doctor or a VA medical center or clinic near you…
Get answers to questions about education benefits User needs more help/answers to questions about their education benefits If you need more help, call us at 888-GI-Bill-1 (888-442-4551). We’re here Monday–Friday, 8:00 a.m. to 7:00 p.m. ET. If you’d like to request a paper application…
Edit this page in GitHub (Permissions required)
Last updated: Aug 26, 2022