Skip to content

[$250] Brex integration enters reconnect loop, freezes during card assignment, and fails to import transactions #95604

Description

@m-natarajan

If you haven’t already, check out our contributing guidelines for onboarding. To join our Slack channel, fill out this form.


Version Number:
Reproducible in staging?: Needs Reproduction (Reproduction blocked - No credentials for Brex)
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: @JamieMcElroy
Slack conversation (hyperlinked to channel name): #Expensify Bugs

Action Performed:

  1. Navigate to Company Cards
  2. Observe error message: “Card feed connection is broken. Please log in to your bank so we can establish the connection again.”
  3. Click to reconnect / log into BREX
  4. Successfully authenticate and link the BREX account
  5. Get redirected back to the Company Cards page
  6. Observe the connection status (integration entered a continuous reconnect loop and never successfully reconnected)
  7. After refreshing the connection, the red error banner is no longer displayed
  8. The user attempts to assign new Brex cards to trigger authentication
  9. Instead of launching the Brex login flow, the page freezes
  10. Refreshing the browser does not recover the application or resolve the issue

Expected Result:

The Brex integration should reconnect successfully after completing authentication.
Assigning new Brex cards should launch the authentication flow as expected.
The application should remain responsive throughout the process.
All eligible Brex transactions should sync and appear after a successful connection refresh.

Actual Result:

The reconnect flow initially looped back to the reconnect error screen.
The reconnect error banner later disappeared without resolving the underlying issue.
Attempting to assign new Brex cards causes the page to freeze.
Refreshing the page does not resolve the frozen state.
Despite successfully refreshing the Brex connection in Classic Expensify, some expected Brex transactions remain missing in both Classic and New Expensify.

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 screenshot for the issue is in Slack thread

View all open jobs on GitHub

Upwork Automation - Do Not Edit

Activity

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.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsReviewingHas a PR in review

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions