You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2025-10-03] [Due for payment 2025-10-01] [$250] [Duplicate policy] Better error handling when duplicating workspace fails #70290
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: Slack conversation (hyperlinked to channel name):
Action Performed:
Break down in numbered steps
Have a workspace where you are admin but not the owner
Make sure this workspace has a lot of categories and tags and members
Try to duplicate this workspace
Navigate to the duplicated workspace settings
Expected Result:
Describe what you think should've happened
When this action fails, we should show the RBR on the left had side of the settings under More features, that will clear the workspace when dismissed
Right now the error only shows in the categories:
and the requests are failing
Actual Result:
Describe what actually happened
We should add a RBR error under the more features tab that will explain the error and let the user clear it
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
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:
We are getting 300 which means the account already exists, but then getting an error when we try to get an authToken for that same account which is weird. I'm guessing it's because we're using the email instead of the accountID. Still digging
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.2.18-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@shubham1206agra@CortneyOfstad The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: Not Required
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Test:
There are no particular test steps as it is difficult to induce BE error state naturally.
Activity
melvin-bot commentedon Sep 10, 2025
Triggered auto assignment to @CortneyOfstad (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.DylanDylann commentedon Sep 10, 2025
@mountiny Could I help on this issue too?
mountiny commentedon Sep 10, 2025
nothing needed right now but maybe once we will have something for you to work on
stitesExpensify commentedon Sep 12, 2025
For the backend bug, I'm looking at the logs here
We are getting
300which means the account already exists, but then getting an error when we try to get an authToken for that same account which is weird. I'm guessing it's because we're using the email instead of the accountID. Still diggingstitesExpensify commentedon Sep 12, 2025
Okay so the issue is actually this line combined with this change https://github.com/Expensify/Web-Expensify/blame/main/_libfop.php#L476.
CreateAccount doesn't return
emailif it returns a 300.stitesExpensify commentedon Sep 12, 2025
I don't actually thing that is the issue :/ We do always get an email even if it is not from the command directly.
It is also not a problem with the primary email vs secondary email. I think I need to find some more logs
melvin-bot commentedon Sep 15, 2025
@CortneyOfstad, @narefyev91, @stitesExpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!
31 remaining items
melvin-bot commentedon Sep 26, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.2.18-7 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 2025-10-03. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Sep 26, 2025
@shubham1206agra @CortneyOfstad The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
CortneyOfstad commentedon Oct 2, 2025
@shubham1206agra can you complete the checklist before EOD? Thanks!
stitesExpensify commentedon Oct 7, 2025
bump @shubham1206agra
shubham1206agra commentedon Oct 7, 2025
BugZero Checklist:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: https://github.com/Expensify/App/pull/69146/files#r2411066170
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: Not Required
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Test:
There are no particular test steps as it is difficult to induce BE error state naturally.
Do we agree 👍 or 👎
CortneyOfstad commentedon Oct 7, 2025
Payment Summary
@shubham1206agra – to be paid $250 via NewDot
@narefyev91 — contracted
Payment Summary
Per comment here, test is not needed
JmillsExpensify commentedon Oct 21, 2025
$250 approved for @shubham1206agra