Obstructions to the existence of a space of moduli