Lowly Epinal stunned French Cup defending champion Lyon to dump the visitors out of the Coupe de France on penalties in the ninth round.
Famara Diedhou scored the winning penalty as Epinal, struggling in the drop zone of France's third tier, won the shootout 4-2, with the match having finished 3-3 after extra time.
Meanwhile, Paris St Germain got a huge scare by amateur side Arras before eventually booking its place in the next round with a 4-3 victory.
Epinal surprised Lyon as Tristan Boubaya scored in the 10th and 13th minutes to power it into a 2-0 lead, although Lyon tied it up by the 20th minute as Bafetimbi Gomis and Gueida Fofana replied in a thrilling start to the match.
Lisandro Lopez fired Lyon ahead from the penalty spot soon after the hour mark after Valentin Focki handled the ball, but Focki made amends with a 75th-minute equalizer that sent the game to extra time.
The 30 minutes passed without further goals, but misses from Fofana and Sidy Kone in the shootout cost Lyon the chance to progress.
Marseille, level with Lyon and Paris St Germain at the top of the league table, needed an extra-time winner from Andre-Pierre Gignac to sneak past Ligue 2 side Guingamp with a 2-1 win at the Velodrome.
Gignac had given L'OM a 23rd-minute leader but it could not add to its advantage before Christophe Mandanne tied it up seven minutes from time.
That forced the extra period, which Marseille edged when Gignac struck his second of the afternoon in the 107th minute.
Nice needed extra time to beat Metz 3-2 on the road, despite the host playing from the 22nd minute with only 10 men following the dismissal of Gregory Proment.
Proment was somewhat harshly dismissed for a foul on Didier Digard after 22 minutes and Nice soon took advantage with Neal Maupay firing home. But it failed to take advantage and Yeni N'Gbakoto equalized early in the second half, sending the game to extra time.
Valentin Eysseric struck twice in the 98th and 107th minutes to put Nice in control, and Thibaut Bourgeois' 114th-minute effort was in vain.
At Arras, PSG coach Carlo Ancelotti rested a number of his big names, including Zlatan Ibrahimovic, but the capital club looked comfortable as it raced into a 2-0 lead inside 10 minutes thanks to Ezequiel Lavezzi and Blaise Matuidi.
Arras pulled one back in the 26th minute through Moustapha Ait-Bouhou, before Zoumana Camara added PSG's third in the 40th minute.
Arnaud Despres got a second goal for the hosts in the 52nd minute to set PSG nerves jangling again until Lavezzi's second in the 68th minute restored their two-goal cushion.
Sebastien Bernard struck Arras' third with nine minutes remaining but PSG held on.
Ligue 2's Lens knocked out top-flight Rennes 2-1 courtesy of a late own goal from Kevin Theophile-Catherine.
Just six minutes after Julien Feret had canceled out Jerome Le Moigne's first-half opener, Theophile-Catherine put through his own net in the 87th minute.
Bordeaux needed an injury-time winner from Brazilian defender Mariano to top Ligue 2's Chateauroux 3-2 away from home, despite the hosts playing with 10 men for most of the second half.
Fahid Ben Khalfallah put Bordeaux ahead before the half-hour mark, but Chateauroux shrugged off the dismissal of Elie Ehua early in the second half to snatch the lead through Claudio Beauvue and Kevin Afougou. But Henrique leveled after the hour mark before Mariano nicked it.
St Etienne saw off Ligue 2 Caen 3-2 as Joshua Guilavogui scored either side of a Kevin Mayi strike, with Faycal Fayr registering a brace for the hosts.
First-half goals from Souleymane Camara and Emmanuel Herrera set up a 2-1 away win for Montpellier over National side Bourg-Peronnas.
Ligue 2 strugglers Sedan needed an injury-time winner from Mickael Le Bihan, his second, to beat Pontparlier 2-1 away, but fellow Ligue 2 side Arles-Avignon were knocked out by lowly Mende 2-0.
Meaux beat Le Portel 1-0 while Fontenay-le-Comte were 2-0 winners at Muret.