Skip to content

[$250] Generic Error When Adding Canadian Bank Account Due to Untrimmed Whitespace in Input Fields #89111

@m-natarajan

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.61-4
Reproducible in staging?: Unable to reproduce (Reproduction blocked)
Reproducible in production?: Unable to reproduce
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: @marianaabussamra
Slack conversation (hyperlinked to channel name): #Expensify Bugs

Action Performed:

  1. Navigate to Account → Wallet
  2. Select an existing bank account to continue setup
  3. Proceed through the flow until Step 5 (Director information)
  4. Select “No” for being a director
  5. Enter a director’s email address
  6. Submit and observe behavior

Expected Result:

User should:
Successfully proceed to the next step after entering a valid director email
All input fields should:
Be trimmed (remove leading/trailing whitespace) before API submission

Actual Result:

User receives:
Generic error: “Oops, an error has occurred”
Flow does not proceed despite valid input

Note:

It seems like this bug is caused by an extra whitespace in the bankPostal field in the flow not being trimmed before being sent to the API, and we want to fix this in all the fields (bankPostal, bankCity, bankRegion, bankAddressLine1, bankAddressLine2, bankName, accountNumber}

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

Image

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @Tony-MK
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~022049135246401806293
  • Upwork Job ID: 2049135246401806293
  • Last Price Increase: 2026-04-28

Metadata

Metadata

Labels

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

Type

No type
No fields configured for issues without a type.

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions