Skip to content

[$250] UpdateWorkspaceMembersRole called with empty employees parameter ([]) #73697

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:
Reproducible in staging?:
Reproducible in production?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @cead22
Slack conversation (hyperlinked to channel name): #Expensify Bugs

Action Performed:

Issue Summary:
The UpdateWorkspaceMembersRole command is being called with an empty employees array ([]). While the exact reproduction steps are unclear, logs confirm it is occurring in production.

Expected Result:

UpdateWorkspaceMembersRole should not be called with an empty employees array. The request should be blocked, ignored, or validated client-side before being sent.

Actual Result:

The command is sometimes executed with: employees: []

Affected app versions:

9.2.38-0 (Logs)

9.2.33-4 (Logs)

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
  • MacOS: Desktop
Platforms Tested: On which of our officially supported platforms was this issue tested:
  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021983289377706308786
  • Upwork Job ID: 1983289377706308786
  • Last Price Increase: 2025-10-28
  • Automatic offers:
    • dominictb | Reviewer | 109281083
    • abzokhattab | Contributor | 109281087
Issue OwnerCurrent Issue Owner: @dominictb

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 contributor

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions