Guides

Recover when sign-in, a session, or a workspace load fails

Use this page when the signed-in app does not load, a session ends, a college workspace cannot be loaded, or a route fails. No blank screen, no silent failure, and no lost draft. Every failure states what happened, what is kept, the next action, and a correlation ID.

What this page covers and what it does not change

This page states the behavior the signed-in app must show on an app, session, workspace, or route failure. It does not claim a build is live until the checks below pass in a test college workspace and this guide is updated in the same release.

Covered here

  • Error boundary for a render, route, or load failure, with a visible heading, focus on that heading, and one primary action
  • 401 for an expired or missing session, 403 for a step the assigned role does not cover, and 5xx, timeout, or offline for a step that did not complete
  • Workspace load failure and unknown route, including a deep link opened while signed out
  • Preserved post-login destination, session-expired recovery, user-visible retry, and a correlation ID on every failure

Not changed here

  • No new sign-in path, no new role, and no new permission. Who may sign in, who may view full questions, and who may export stay under the rules already stated in Set retention and access and Read reports.
  • No change to tenancy. Work stays in one college workspace at a time, and a failure never shows work from another college.
  • An app failure is not a not-known answer. App failures are never counted as not answered, and unavailable checks stay separate, as in Test answers.
  • Test and staff preview sessions are labeled as test and are excluded from counts on every check below.

The failure screen every error must show

The app shell catches a render, route, or load failure and shows this screen in place of a blank area. The page heading and any filter controls stay visible, and focus moves to the failure heading.

  • Title that names the failure in plain words, one line that states what happened, and one line that states what is kept, such as the typed question, the selected assistant, and the filters.
  • One primary action that fits the case in the table below, and secondary actions as plain links or buttons after it. No button is shown that cannot work for that case.
  • A correlation ID line with a Copy correlation ID button. The line shows the ID only, with no token, password, question text from another college, or stack trace.
  • Date and time in college local time where a time is shown, with the college name only when that college was confirmed before the failure.
  • Controls are at least 44 pixels high, focus stays visible by keyboard, and the failure is announced once in a status region.

Handle each response in its own way

Read the row for the response you got. Retry is the right action for a step that did not complete, sign-in is the right action for an expired session, and a named role is the right action for a 403.

Failure by response, with kept work, primary action, retry rule, and correlation ID
SignalWhat the screen saysWhat is keptPrimary action and retry ruleCorrelation ID
401, session ended or sign-in requiredYour session ended. Sign in again to continue where you left off.Preserved destination as a same-origin app path only, plus safe filter choices for assistant, channel, and date range. Typed question text stays in its field for the same college workspace only. No token, password, or question text is placed in the destination.Sign in again and continue. A queued action is never auto-sent after sign-in. A failed sign-in shows the failure screen again with a new correlation ID and never bounces in a loop.Shown on the session-ended screen and on any failed sign-in screen, with Copy correlation ID.
403, role does not cover the stepYour role in this college does not cover this step. The screen names the role that can do it and links to the relevant guide.Typed text, selected assistant, and filters. No work from another college and no button that does nothing.Go back to the previous screen or open Today. No Try again button is shown, because the same retry will fail the same way. A Check again button appears only when a role change is confirmed, and the server check on the next request governs.Shown with the named role and the guide link, with Copy correlation ID.
5xx, timeout, or offlineWe could not reach the app for that step. The screen states truthfully whether the save was confirmed or not saved yet.All entered text, selected assistant, collection, and filters, with the same destination.Try again. The retry keeps the same request, the button is disabled while a retry is in progress, and a manual retry creates no second saved item. No automatic retry loop runs in the background.Shown for the failed attempt and replaced by a new ID on a new failed attempt, with Copy correlation ID.
Workspace load failureWe could not load your college workspace. The college name is stated only when it was confirmed before the load.Typed text for the confirmed college only. No invented college name, no empty list presented as zero work, and no data from another college.Retry load workspace. If the load then returns 401, the screen changes to the session-ended case above with its own correlation ID.Shown with Retry load workspace, with Copy correlation ID.
Unknown route or deep linkThat page is not in this app. The screen names Today as the way back.Destination only when it is a valid same-origin app path with safe filter keys. A destination with an external address, a token, or question text is rejected and never used.Open Today. For a valid preserved destination after sign-in, the primary action is Sign in and continue to that screen, named in plain words rather than as a raw path.Shown on the unknown route screen, with Copy correlation ID.

Preserved destination and session-expired recovery, in order

Follow these steps on every 401 and on every deep link opened while signed out.

  1. Step 1: Keep only a safe destination

    Keep the same-origin app path and safe filter keys for assistant, channel, and date range in memory for the session. Never place a token, password, full question text, or report detail in the destination or in the page address.

  2. Step 2: Show the session-ended screen before sign-in

    Show the title Your session ended, name the screen you left in plain words, state that typed text is kept for the same college workspace, and show the correlation ID.

  3. Step 3: Sign in again and continue

    Offer one primary button, Sign in again and continue, and a secondary link to Today. Do not auto-send a queued question, rating, comment, or save after sign-in.

  4. Step 4: Return and restore

    After a successful sign-in, return to the preserved destination, restore the filters and the typed text in its field, move focus to the page heading, and show one status line that states you are back on the screen you left, with any session-only rule from Set retention and access stated instead of claiming a draft was saved when nothing is kept after the session ends.

  5. Step 5: Review before you send

    The person reviews the restored draft and chooses the primary action again. That review prevents a duplicate send and prevents a send to the wrong college after a workspace change.

  6. Step 6: Discard the destination when the college changes

    If the person signs in to a different college workspace, discard the preserved destination and the draft for the old college, state that the draft was cleared, and never carry question text across colleges.

  7. Step 7: Explain a destination that no longer works

    If the preserved destination no longer exists, the route is removed, or the role no longer covers it, show the failure screen for that destination with its own correlation ID and offer Today. Never land silently on a home screen with no explanation.

Try preserved destination on this page

Example only. Nothing entered here is sent to a server. The tool keeps only a same-origin destination, the college name as typed, a role label, and a correlation ID in session storage for this session. It never places a token, a password, or question text in the destination. Use it to test the steps above before a live session expires.

Write the college name shown at the top of the app, or leave this field blank for an example only.

Only a path on this site is accepted. An external address, a token, or question text is rejected.

No destination saved yet in this session. Save a destination, then choose a simulation to test recovery.

Correlation ID: none

Nothing is lost on a retry

A retry must never create a second copy or delete work that was already saved.

  • Typed question text, rating comments, and source review wording stay in their fields after a 5xx, timeout, or session expiry within the same college workspace, until the person clears them or a save is confirmed.
  • A save that did not confirm says not saved yet. The retry keeps the same request, so the same title, question, source link, workspace, and assistant match updates the same saved item and makes no second copy, as in My Answers today.
  • Saved answers, collections, and history that were already confirmed stay in place. A failure does not delete them and does not change reports until a save is confirmed.
  • When a person switches college workspace, typed text for the old college is cleared with a stated message, and no text is carried into the new college.

Correlation ID and what to give the office you contact

Every failure carries a correlation ID so a college administrator or the handoff office named on the screen can find the attempt without asking the person to repeat the question.

  • Show the server supplied correlation ID when the server supplied one, labeled Correlation ID. When the server supplied none, show a client reference and label it client reference. Never invent a server ID.
  • Copy correlation ID copies the ID only. It never copies question text, a token, a password, or contact details.
  • When a person contacts the college administrator or the handoff office named on the screen, they give the correlation ID, the date and time in college local time, the screen name, the college and assistant names, and what they tried. They do not add student record details to a public demo form or a public question form.
  • Test evidence records the correlation ID, the response category, the route, the college, and the assistant for each check below. Test sessions stay labeled as test and are excluded from counts.

Checks before you ship a failure-handling change

Run each check in a test college workspace with test recipients, on phone and desktop, with keyboard and screen reader.

  • Expire a session while a question draft is typed, confirm the session-ended screen shows a correlation ID, sign in again, confirm return to the same screen with the draft restored and nothing auto-sent.
  • Remove the covering role, try the step, confirm the 403 screen names the role that can do it, shows a guide link, shows no retry loop, and keeps the draft.
  • Simulate a 5xx, a timeout, and offline on workspace load and on save, confirm no blank screen, focus on the failure heading, Try again works, no duplicate saved item is created on retry, and the correlation ID can be copied.
  • Load a workspace with a fault, confirm no other college data is shown, no college name is invented, and Retry load workspace loads the correct college.
  • Open an unknown route and a deep link while signed out, confirm a valid same-origin app destination is preserved after sign-in, and an external or token destination is rejected to Today with an explanation.
  • Confirm a keyboard and screen reader pass, with focus visible, controls at least 44 pixels high, the failure announced once, and the heading and filters still visible.
  • Confirm an app failure is not counted as not answered, unavailable stays separate, and test sessions are labeled as test and excluded.

Follow Test answers for answer-level failures, Get started and Role first-run checklists for the first session, and Set retention and access for session-only mode.

Next guide

Test the answer itself before you publish, with the source check and the not-known path.