Lionel Messi was thrown on as a substitute, but 10-man Barcelona were relieved to escape with a draw as Celta Vigo came within a whisker of inflicting the Catalans’ first league defeat of the season on Tuesday.
Messi was introduced after an hour at the Stade Balaidos and looked to have inspired another Barca victory when Paulinho gave the visitors a 2-1 lead four minutes later.
But Sergi Roberto was sent off for preventing Iago Aspas sprinting clear, and in the 82nd minute the former Liverpool striker made it 2-2, albeit with a large slice of luck, given the ball brushed his hand on its way into the net.
Vigo pushed for a late winner and should have had it when substitute Lucas Boye went through one-on-one, but he took too long and Marc-André Ter Stegen made a crucial stop.
Earlier, a superb strike from Ousmane Dembele had been cancelled out by Jonny Castro’s close-range finish as Barcelona stretched their record unbeaten run to 40 La Liga games.
They also extended their lead at the top of the table to 12 points, which could be cut to nine if Atletico Madrid beat Real Sociedad on Thursday.
With one eye on Saturday’s Copa del Rey final against Sevilla, Ernesto Valverde made several changes to his Barca starting line-up as the likes of Messi, Luis Suarez, Gerard Pique, Samuel Umtiti, Sergio Busquets and Ivan Rakitic were all rested.
Ter Stegen, Philippe Coutinho and Dembele were the more established names selected and Dembele took his chance, capping an excellent attacking display with a brilliantly taken goal in the 39th minute.
Coutinho played wide to Paco Alcacer whose return ball was bouncing as Dembele controlled and sent a dipping half-volley into the corner.
On the stroke of halftime, however, Vigo were level. Andre Gomes gave the ball away and then after the break developed, allowed Maximiliano Gomez to fire in a cross, which Castro bundled in.
Messi came on in the 60th minute for Coutinho and by the 64th, Barca were ahead.
Dembele did well to make space down the right and as goalkeeper Sergio Alvarez failed to collect, Paulinho was perfectly placed to divert towards the corner, with Alcacer perhaps even feathering a final touch.
Roberto had also been introduced on the hour, replacing Gomes, but he lasted only 11 minutes, sent off for tugging back Aspas when the striker was in on goal.
Aspas bent the resulting free kick just over the bar, but eight minutes from the end he was celebrating as Ter Stegen could only parry Emre Mor’s cross and as the ball spun up, it brushed Aspas’ chest, hand and floated into the net.
Barca were now holding on, and Vigo should have won it when Aspas played Boye in behind, but his teammate was denied by Ter Stegen and the chance was lost.