Medici died at the Bagno a Ripoli in 1711 from dropsy , leaving behind huge debts .
He died in Bagno a Ripoli in 1711 .