Skip to content

[Sentry: APP-JDP] Web SearchReport max update depth exceeded during file validation #97102

Description

@mountiny

Sentry

https://expensify.sentry.io/issues/APP-JDP

Impact (snapshot at filing)

  • Users (total since first seen): 1
  • Events: 8
  • Users (last 7d): 1
  • First seen: 2026-07-27
  • Last seen: 2026-07-27
  • Platform: web
  • App version(s): 9.4.43-1
  • Affected route(s): /search/view/:reportID
  • Mechanism: auto.browser.global_handlers.onunhandledrejection

Stack trace (top frames)

hideLoaderAndHandleNext
  file validation / sortFilesByOriginalOrder state updates
dispatchSetState → Maximum update depth exceeded
SearchReport view

Suspected cause

File validation flow in SearchReport triggers repeated setState in hideLoaderAndHandleNext, causing React infinite update loop. Distinct from App#96411 (workspace selection during report creation).

Reproduction

Unknown — see Sentry events on /search/view/:reportID.

Related

Upwork Automation - Do Not Edit
Issue OwnerCurrent Issue Owner: @shubham1206agra

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorOverdue

Type

No type

Projects

Status
SUBISSUE

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions