A distributed sensing protocol uses a network of local sensing nodes to estimate a global feature of the network, such as a weighted average of locally detectable parameters. In the noiseless case, continuous-variable (CV) multipartite entanglement shared by the nodes can improve the precision of parameter estimation relative to the precision attainable by a network without shared entanglement; for an entangled protocol, the root mean square estimation error scales like 1/M with the number M of sensing nodes, the so-called Heisenberg scaling, while for protocols without entanglement, the error scales like M 1 . However, in the presence of loss and other noise sources, although multipartite entanglement still has some advantages for sensing displacements and phases, the scaling of the precision with M is less favorable. In this paper, we show that using CV error correction codes can enhance the robustness of sensing protocols against imperfections and reinstate Heisenberg scaling up to moderate values of M. Furthermore, while previous distributed sensing protocols could measure only a single quadrature, we construct a protocol in which both quadratures can be sensed simultaneously. Our work demonstrates the value of CV error correction codes in realistic sensing scenarios.Quantum sensing [1-11] uses nonclassical resources to enhance measurement precision. It has many applications, including atomic clocks [12,13], the laser interferometer gravitational-wave observatory [14,15], quantum illumination [16][17][18][19][20][21][22], quantum reading [23] and bio-sensing [24]. When the sensing task involves multiple parties, entanglement can be extremely beneficial. Early works have already shown that when measuring a single physical parameter with M sensor probes, entanglement among the sensors can reduce the root mean square (rms) estimation error to the Heisenberg scaling [4-6, 25-28] of ∝1/M. In contrast, in the absence of entanglement, the rms estimation error always obeys the standard quantum limit (SQL) scaling of µ M 1 , as dictated by the law of large numbers. More recently, this separation between Heisenberg and SQL scaling has been generalized to the scenario of distributed sensing, where an array of sensors aims to sense a global feature, such as a weighted average, of some local parameters detected by different sensor nodes [29][30][31][32][33]. In particular, [31] proposed a protocol to use continuous variable (CV) multi-partite entanglement to enhance the distributed sensing of displacements and phases, which led to the first experimental demonstration [34] of sensing advantage enabled by multi-partite entanglement.Despite being more robust against loss than their discrete variable (DV) cousins, the performance enhancement in CV distributed sensing protocols still decays in the presence of loss and noise [35]. As a consequence, [34] only achieved a ∼20% advantage in the rms estimation error. Therefore, loss mitigation is OPEN ACCESS RECEIVED