Skip to content

Diagnose why 🟢 the LHN disappeared when clicked #91524

@quinthar

Description

@quinthar

Problem

I see a 🟢 on @ryanldonato's workspace chat:

Image

It's onyx object is:

{
    "chatType": "policyExpenseChat",
    "created": "2024-11-05 11:52:45",
    "currency": "USD",
    "description": "",
    "errorFields": {},
    "hasOutstandingChildRequest": true,
    "hasOutstandingChildTask": false,
    "iouReportID": "7095969102097725",
    "isCancelledIOU": false,
    "isOwnPolicyExpenseChat": false,
    "isPinned": false,
    "isWaitingOnBankAccount": false,
    "lastActionType": "RECEIPTSCANCOMPLETED",
    "lastActorAccountID": "8392101",
    "lastMessageHtml": "",
    "lastMessageText": "",
    "lastReadSequenceNumber": 0,
    "lastReadTime": "2026-05-21 00:56:15.697",
    "lastVisibleActionCreated": "2026-05-05 01:23:45.401",
    "lastVisibleActionLastModified": "2026-05-05 01:23:45.401",
    "managerID": 0,
    "nonReimbursableTotal": 0,
    "oldPolicyName": "",
    "ownerAccountID": 2671946,
    "participants": {
        "1": {
            "notificationPreference": "always"
        },
        "2671946": {
            "notificationPreference": "always"
        },
        "9645353": {
            "notificationPreference": "always"
        },
        "9679724": {
            "notificationPreference": "always"
        },
        "9713816": {
            "notificationPreference": ""
        },
        "10903701": {
            "notificationPreference": "always"
        },
        "19103907": {
            "notificationPreference": ""
        }
    },
    "permissions": [
        "read",
        "write",
        "share"
    ],
    "policyAvatar": "https://d1wpcgnaa73g0y.cloudfront.net/5c729b9ca08577023979a81219e45e73f601b9ee.png",
    "policyID": "137DA25D273F2423",
    "policyName": "Expenses - Expensify US",
    "private_isArchived": "",
    "reimbursableTotal": 0,
    "reportID": "1004947588404001",
    "reportName": "Chat Report",
    "stateNum": 0,
    "statusNum": 0,
    "total": 0,
    "transactionCount": 0,
    "type": "chat",
    "unheldNonReimbursableTotal": 0,
    "unheldTotal": 0,
    "welcomeMessage": "",
    "writeCapability": "all"
}

When I click on it, the GBR disappears:

Screen.Recording.2026-05-23.at.7.25.21.PM.mov

And here's his report JSON after:

{
      "chatType": "",
      "created": "2020-09-28 21:23:26",
      "currency": "USD",
      "description": "",
      "errorFields": {},
      "hasOutstandingChildRequest": false,
      "hasOutstandingChildTask": false,
      "isCancelledIOU": false,
      "isOwnPolicyExpenseChat": false,
      "isPinned": false,
      "isWaitingOnBankAccount": false,
      "lastActionType": "ADDCOMMENT",
      "lastActorAccountID": "1",
      "lastMessageHtml": "Thanks!",
      "lastMessageText": "Thanks!",
      "lastReadSequenceNumber": 32,
      "lastReadTime": "2025-09-10 17:53:56.242",
      "lastVisibleActionCreated": "2025-02-07 00:12:21.155",
      "lastVisibleActionLastModified": "2025-02-07 00:12:21.155",
      "managerID": 0,
      "nonReimbursableTotal": 0,
      "oldPolicyName": "",
      "ownerAccountID": 0,
      "participants": {
            "1": {
                  "notificationPreference": "always"
            },
            "2671946": {
                  "notificationPreference": "always"
            }
      },
      "permissions": [
            "read",
            "write"
      ],
      "policyID": "_FAKE_",
      "private_isArchived": "",
      "reimbursableTotal": 0,
      "reportID": "65297187",
      "reportName": "Chat Report",
      "stateNum": 0,
      "statusNum": 0,
      "total": 0,
      "transactionCount": 0,
      "type": "chat",
      "unheldNonReimbursableTotal": 0,
      "unheldTotal": 0,
      "welcomeMessage": "",
      "writeCapability": "all",
      "hasExportError": false,
      "hasReportBeenReopened": false,
      "hasReportBeenRetracted": false,
      "isExportedToIntegration": false
}

Why did the LHN think there was a GBR, only to realize there isn't when the report was opened?

Issue OwnerCurrent Issue Owner: @aimane-chnaif

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions