1099 misc for house in foreclosure

I recieved a 1099 misc from a mortgage company that bought my house that was in foreclosure.  It was a divorce situation; my name was not on the mortgage but was on the deed.  I didn't profit from the sale I actually took a huge loss.  Am I able to claim insolvency on a 1099misc, so I don't have to pay taxes on this?