Skip to content

[Sentry: APP-J4D] Web company-cards import mapping crash — undefined rows .at() #97101

Description

@mountiny

Sentry

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

Impact (snapshot at filing)

  • Users (total since first seen): 3
  • Events: 59
  • Users (last 7d): 3
  • First seen: 2026-07-21
  • Last seen: 2026-07-23
  • Platform: web
  • App version(s): 9.4.42-1
  • Affected route(s): /workspaces/:policyID/company-cards/add-card-feed/import/mapping
  • Mechanism: auto.browser.global_handlers.onunhandledrejection

Stack trace (top frames)

Workspace company-cards import mapping handler
  n.at(0) when n is undefined
useSingleExecution/index.ts onPressHandler
BaseGenericPressable onPressHandler

Suspected cause

Company card CSV import mapping assumes parsed row data exists; submitting with missing/invalid import rows calls .at() on undefined.

Reproduction

Unknown — see Sentry events on company-cards import mapping screen.

Related

  • Sibling Sentry IDs: none
  • Prior GH issues: none
Upwork Automation - Do Not Edit
Issue OwnerCurrent Issue Owner: @yusufdeveloper2903

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2

Type

No type

Projects

Status
SUBISSUE

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions