Losing Money in the TSP Wasn’t My Fault

I applied for a full TSP withdrawal after retiring, but the TSP said I couldn’t do it because I was still employed due to a coding error by my agency. The stock market went down and my TSP balance declined while the problem was being resolved, so who takes the loss in funds due to this personnel error?