{"record":{"id":"b4ed8d1f02aa2cd8","repo":"zed-industries/zed","slug":"failed-to-ring-user","errorCode":null,"errorMessage":"failed to ring user","messagePattern":"failed to ring user","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/collab/src/rpc.rs","lineNumber":1810,"sourceCode":"                response.send(proto::Ack {})?;\n                return Ok(());\n            }\n            Err(_) => {\n                call_response.trace_err();\n            }\n        }\n    }\n\n    {\n        let room = session\n            .db()\n            .await\n            .call_failed(room_id, called_user_id)\n            .await?;\n        room_updated(&room, &session.peer);\n    }\n    update_user_contacts(called_user_id, &session).await?;\n\n    Err(anyhow!(\"failed to ring user\"))?\n}\n\n/// Cancel an outgoing call.\nasync fn cancel_call(\n    request: proto::CancelCall,\n    response: Response<proto::CancelCall>,\n    session: MessageContext,\n) -> Result<()> {\n    let called_user_id = UserId::from_proto(request.called_user_id);\n    let room_id = RoomId::from_proto(request.room_id);\n    {\n        let room = session\n            .db()\n            .await\n            .cancel_call(room_id, session.connection_id, called_user_id)\n            .await?;\n        room_updated(&room, &session.peer);","sourceCodeStart":1792,"sourceCodeEnd":1828,"githubUrl":"https://github.com/zed-industries/zed/blob/9d272b036335401f339d024ea94968fd51016c40/crates/collab/src/rpc.rs#L1792-L1828","documentation":"Terminal failure in the call flow: the called user could not be rung (delivery failed, timed out, or was declined/unreachable) and the server has already marked the call failed via call_failed and notified the room. This error is returned to the caller to report the failed ring attempt.","triggerScenarios":"Thrown at crates/collab/src/rpc.rs:1803 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Confirm the called user is online and reachable","Retry the call; transient delivery failures may succeed on a second attempt"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"9d272b036335401f339d024ea94968fd51016c40","analyzedAt":"2026-08-20T19:29:52.058Z","contentChangedAt":"2026-08-20T19:29:52.058Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}