Nice lead Marseille 3-2 at half time at the Stade Velodrome in the Coupe de France.
There were two goals in the first five minutes as Alexy Bosetti equalised after Andre Pierre Gignac's third-minute strike.
Neal Maupay then gave the visiting Nice the lead on 18 minutes when he converted, before Florian Thauvin struck the second equaliser of the evening six minutes later.
With the half petering out, Souleymane Diawara put through his own net in stoppage time.