Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.36k stars 2.78k forks source link

[$500] Split - Unexpected error create this chat and App crashed when go to announce #30196

Closed lanitochka17 closed 11 months ago

lanitochka17 commented 11 months ago

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: 1.3.89-5

Reproducible in staging?: Yes

Reproducible in production?: Yes

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: Applause - Internal Team

Slack conversation:

Action Performed:

  1. Launch App and login as gmail account kotkot7200@gmail.com
  2. Tap on FAB
  3. Select the Request Money
  4. Select Manual tab
  5. Enter amount select 3-4 users
  6. Tap split bill
  7. App crashed repro on all environments

Expected Result:

  1. Land in the Group DM with issue "Unexpected error creat this chat, please try again later”
  2. App crashed repro on all environments

Actual Result:

Step 6 repro on Android App

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

Screenshots/Videos

Android: Native
Android: mWeb Chrome
iOS: Native https://github.com/Expensify/App/assets/78819774/b7caeb91-e4b8-4f8a-b1c1-bc242f794eb7 ![Bug6247605_1698077878012!IMG_7555](https://github.com/Expensify/App/assets/78819774/2de8e5b6-f8e1-412b-8e66-955799389261) https://github.com/Expensify/App/assets/78819774/4842e4f0-e058-4503-861e-432cfbb63549 [logs.txt](https://github.com/Expensify/App/files/13077756/logs.txt)
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~019b8c68459b0dd8b3
  • Upwork Job ID: 1716524524646162432
  • Last Price Increase: 2023-10-23
melvin-bot[bot] commented 11 months ago

Job added to Upwork: https://www.upwork.com/jobs/~019b8c68459b0dd8b3

melvin-bot[bot] commented 11 months ago

Triggered auto assignment to @MitchExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

melvin-bot[bot] commented 11 months ago

Bug0 Triage Checklist (Main S/O)

melvin-bot[bot] commented 11 months ago

Triggered auto assignment to Contributor-plus team member for initial proposal review - @shubham1206agra (External)

MitchExpensify commented 11 months ago

Cannot reproduce on v1.3.90-2 but from my own account

kotkot7200@gmail.com How do I use this profile? @lanitochka17

MitchExpensify commented 11 months ago

Closing until I hear back how to test with kotkot7200@gmail.com or if @lanitochka17 is still experiencing this on v1.3.90-2+

tranvantoan-qn commented 11 months ago

It happened to me too, following the same steps above. The full API response is below.

{
    "code": 666,
    "jsonCode": 666,
    "type": "Expensify\\Libs\\Error\\ExpError",
    "UUID": "61F4D57E-F025-4289-B7F0-483FA8EB820D",
    "message": "There is a previously existing chat between these users.",
    "title": "",
    "data": {
        "onyxData": [
            {
                "onyxMethod": "merge",
                "key": "report_8050269410285934",
                "value": {
                    "errorFields": {
                        "createChat": {
                            "1698289688911550": "There is a previously existing chat between these users."
                        }
                    }
                }
            },
            {
                "onyxMethod": "merge",
                "key": "report_8114495400597163",
                "value": {
                    "errorFields": {
                        "createChat": {
                            "1698289688911541": "There is a previously existing chat between these users."
                        }
                    }
                }
            },
            {
                "onyxMethod": "merge",
                "key": "report_6546399004525551",
                "value": {
                    "errorFields": {
                        "createChat": {
                            "1698289688911543": "There is a previously existing chat between these users."
                        }
                    }
                }
            },
            {
                "onyxMethod": "merge",
                "key": "report_6694334485956159",
                "value": {
                    "errorFields": {
                        "createChat": {
                            "1698289688911543": "There is a previously existing chat between these users."
                        }
                    }
                }
            }
        ]
    },
    "htmlMessage": "",
    "onyxData": [
        {
            "onyxMethod": "merge",
            "key": "report_8050269410285934",
            "value": {
                "errorFields": {
                    "createChat": {
                        "1698289688911550": "There is a previously existing chat between these users."
                    }
                }
            }
        },
        {
            "onyxMethod": "merge",
            "key": "report_8114495400597163",
            "value": {
                "errorFields": {
                    "createChat": {
                        "1698289688911541": "There is a previously existing chat between these users."
                    }
                }
            }
        },
        {
            "onyxMethod": "merge",
            "key": "report_6546399004525551",
            "value": {
                "errorFields": {
                    "createChat": {
                        "1698289688911543": "There is a previously existing chat between these users."
                    }
                }
            }
        },
        {
            "onyxMethod": "merge",
            "key": "report_6694334485956159",
            "value": {
                "errorFields": {
                    "createChat": {
                        "1698289688911543": "There is a previously existing chat between these users."
                    }
                }
            }
        }
    ],
    "requestID": "81bf7e3aebcb0953-HKG"
}

And there is a similar issue reported https://github.com/Expensify/App/issues/30140

MitchExpensify commented 11 months ago

@tranvantoan-qn were you logged in to this account? kotkot7200@gmail.com

MitchExpensify commented 11 months ago

Either way, this is a dupe of https://github.com/Expensify/App/issues/30140 so closing this issue