Skip to content

[$250] "Uh-oh, something went wrong!" when trying to access New Expensify or the dedicated chat with Concierge #84087

Closed

Description

@m-natarajan

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: v9.3.27-8
Reproducible in staging?: Needs Reproduction (Unable to reproduce)
Reproducible in production?: Needs Reproduction
If this was caught during regression testing, add the test name, ID and link from BrowserStack:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @abbagail
Slack conversation (hyperlinked to channel name): #Expensify Bugs

Action Performed:

  1. Login In Classic, click "support."
  2. Select "Concierge"
  3. Get redirected to New Expensify

Expected Result:

New Expensify Load without issues.

Actual Result:

Page takes a few seconds to load, but fails to load and gets "Uh-Oh, something went wrong." (App crashes)

Workaround:

Unknown

Platforms:

Select the officially supported platforms where the issue was reproduced:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari

Screenshots/Videos

The video for the issue is in Slack thread

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @aimane-chnaif
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~022028954940716757609
  • Upwork Job ID: 2028954940716757609
  • Last Price Increase: 2026-04-14

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Mar 3, 2026
  2. melvin-bot commented on Mar 3, 2026

    @melvin-bot

    Triggered auto assignment to @stephanieelliott (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  3. MelvinBot commented on Mar 3, 2026

    @MelvinBot
    Contributor

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    When users click "Support" > "Concierge" in Classic Expensify and get redirected to New Expensify, the app crashes after a few seconds of loading, showing the "Uh-Oh, something went wrong!" error page (the GenericErrorPage rendered by the app's top-level ErrorBoundary). This affects web platforms (Windows Chrome, MacOS Chrome/Safari) on version v9.3.27-8.

    What is the root cause of that problem?

    Note: Without access to the actual Sentry error logs / stack trace referenced in the issue, the following is a high-confidence hypothesis based on code analysis. The actual error message from the ErrorBoundary would confirm the exact crash point.

    The most likely root cause is an unhandled error during the report rendering flow after navigating from Classic to the Concierge chat. The crash flow is:

    1. Classic redirects to new.expensify.com/concierge (or via /transition?exitTo=/concierge)
    2. ConciergePage (src/pages/ConciergePage.tsx:29-43) mounts, waits for data, then calls navigateToConciergeChat() which navigates to ReportScreen
    3. ReportScreen renders and subscribes to ONYXKEYS.DERIVED.VISIBLE_REPORT_ACTIONS via useOnyx (src/pages/inbox/ReportScreen.tsx)
    4. After a few seconds (while data loads and derived values compute), a re-render triggers an uncaught error that the ErrorBoundary catches

    There are several potential crash vectors identified in the code:

    Primary suspect — VISIBLE_REPORT_ACTIONS derived value (PR #81280):

    Secondary crash vectors:

    Contributing factor — v9.3.27 staging instability:
    The v9.3.27 staging cycle had 5 PRs reverted via cherry-picks, an unusually high number. Notably, the revert of useLoadReportActions changes (v9.3.27-3) directly affects how report actions load for ReportScreen, and the revert of InteractionManager migration (v9.3.27-2) touched Navigation.ts and Report/index.ts. These reverts may create subtle data-timing inconsistencies with PR #81280's derived value changes.

    What changes do you think we should make in order to solve the problem?

    Step 1: Get the actual error from logs — The Sentry/error logs referenced in the issue (internal SO link) should contain the exact JavaScript error message and component stack trace from the ErrorBoundary. This will pinpoint the exact crash location among the candidates identified above.

    Step 2: Based on the most likely crash points, the fix should include:

    1. Add error handling to the VISIBLE_REPORT_ACTIONS derived value computation in src/libs/actions/OnyxDerived/configs/visibleReportActions.ts — wrap the compute function in a try-catch to prevent computation errors from propagating to components.

    2. Remove the non-null assertion actions.pop()! in src/pages/inbox/report/ReportActionsView.tsx:210 and add a null check before accessing createdAction.pendingAction on the next line.

    3. Add defensive null checks in ReportScreen for the derived value data paths that could be undefined during initial load.

    What alternative solutions did you explore? (Optional)


    Next Steps for Contributor+ team: Reply with @MelvinBot implement this to create a draft PR, or @MelvinBot <your feedback> to refine this analysis.

  4. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Mar 3, 2026
  5. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Mar 3, 2026
  6. melvin-bot commented on Mar 3, 2026

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif (External)

  7. changed the title [-]"Uh-oh, something went wrong!" when trying to access New Expensify or the dedicated chat with Concierge[/-] [+][$250] "Uh-oh, something went wrong!" when trying to access New Expensify or the dedicated chat with Concierge[/+] on Mar 3, 2026
  8. melvin-bot commented on Mar 3, 2026

    @melvin-bot
  9. melvin-bot commented on Mar 9, 2026

    @melvin-bot

    @aimane-chnaif Eep! 4 days overdue now. Issues have feelings too...

  10. melvin-bot commented on Mar 9, 2026

    @melvin-bot

    @aimane-chnaif Eep! 4 days overdue now. Issues have feelings too...

  11. 34 remaining items

  12. melvin-bot commented on Apr 7, 2026

    @melvin-bot

    📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

  13. melvin-bot commented on Apr 7, 2026

    @melvin-bot

    @aimane-chnaif 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

  14. melvin-bot commented on Apr 9, 2026

    @melvin-bot

    @aimane-chnaif 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!

  15. ProjectNOVACo commented on Apr 9, 2026

    @ProjectNOVACo

    Hi @aimane-chnaif — apologies for the delayed response! To be transparent: our proposal was based on code analysis rather than direct reproduction, so I don't have a screen recording to share. The original crash was reported on v9.3.27-8 and the KI retests haven't been able to reproduce it since, which suggests it may have been resolved in a later patch or is environment-specific.

    Given that context, if it would be useful, I'm happy to reframe our proposal as a defensive hardening PR (the try-catch around the derived value computation and the non-null assertion fix in ReportActionsView are valid defensive improvements regardless of exact reproduction). Or if the issue is best closed given the reproduction difficulty, I completely understand — just let me know how you'd like to proceed!

  16. mvtglobally commented on Apr 11, 2026

    @mvtglobally

    Issue not reproducible during KI retests. (Fourth week)

  17. melvin-bot commented on Apr 13, 2026

    @melvin-bot

    @aimane-chnaif 12 days overdue. Walking. Toward. The. Light...

  18. melvin-bot commented on Apr 14, 2026

    @melvin-bot

    📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

  19. melvin-bot commented on Apr 16, 2026

    @melvin-bot

    This issue has not been updated in over 14 days. @stephanieelliott, @aimane-chnaif eroding to Weekly issue.

  20. ProjectNOVACo commented on Apr 17, 2026

    @ProjectNOVACo

    Hi @aimane-chnaif and @stephanieelliott — just wanted to check in one more time. It looks like the issue has been eroding and KI retests haven't been able to reproduce the crash, so I completely understand if the priority has shifted.

    Our offer from April 9th still stands: happy to submit a defensive hardening PR (the try-catch around the derived value computation and the non-null assertion fix in ReportActionsView) as a proactive improvement, or to close the issue if reproduction isn't feasible. Whatever direction works best for the team — just let us know and we'll move accordingly!

  21. mvtglobally commented on Apr 18, 2026

    @mvtglobally

    Issue not reproducible during KI retests. (Fifth week) Closing, please reopen if needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsWeeklyKSv2

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions