Wireless sensor networks (WSN) are often deployed in harsh environments, where electromagnetic interference, damaged sensors, or the landscape itself cause the network to suffer from faulty links and missing data. In this paper, we develop an unbiased finite impulse response (UFIR) filtering algorithm for optimal consensus on estimates in distributed WSN. Simulations are provided assuming two possible scenarios with missing data. The results show that the distributed UFIR filter is more robust than the distributed Kalman filter against missing data.