Skip to content

[Due for payment 2026-03-13] TypeError: _e.filter is not a function on /search page #83936

Closed

Description

@blimpich

Error

TypeError: _e.filter is not a function

Sentry Issue: APP-6KS
Culprit page: /search
First seen: ~Feb 27, 2026 (release new.expensify@9.3.26-8)
Impact: 6 users, 23 events

Analysis

A value expected to be an array is not an array when .filter() is called on the search page. The code assumes an array but receives undefined, null, or another non-array type. This is a data-type mismatch — likely a missing or malformed API response field, or an Onyx key that has not yet been populated when the component renders.

The fix should add a defensive check (e.g., Array.isArray() guard or default to []) at the call site, and ideally trace why the upstream value is not an array in the first place.

Activity

  1. added
    Reviewing
    Weekly
    on Mar 2, 2026
  2. self-assigned this
    on Mar 2, 2026
  3. added
    Reviewing
    and removed
    Reviewing
    on Mar 2, 2026
  4. added
    Weekly
    Awaiting Payment
    and removed
    Weekly
    on Mar 6, 2026
  5. changed the title [-]TypeError: _e.filter is not a function on /search page[/-] [+][Due for payment 2026-03-13] TypeError: _e.filter is not a function on /search page[/+] on Mar 6, 2026
  6. removed
    Reviewing
    on Mar 6, 2026
  7. melvin-bot commented on Mar 6, 2026

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  8. melvin-bot commented on Mar 6, 2026

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.31-12 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2026-03-13. 🎊

  9. melvin-bot commented on Mar 6, 2026

    @melvin-bot

    Triggered auto assignment to @heyjennahay (Awaiting Payment)

  10. removed
    Awaiting Payment
    on Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Weekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions