To endure serious trouble, humiliation, or hardship; a regional or playful variant used to indicate being made to suffer or to have a very hard time.
2.
SpainLatin Americacolloquial
Literal reading: to experience the difficulties associated with characters named Quico and Caco, used chiefly to convey the idea of going through a difficult or embarrassing situation.