Barcelona compounded their Champions League misery at the hands of Paris Saint-Germain by drawing on Sunday at home to Cadiz, who scored an 89th-minute penalty to snatch a 1-1 draw at Camp Nou.
Lionel Messi broke a Barcelona record by making his 506th LaLiga appearance for the club and marked the milestone with a goal, his own spot-kick looking likely to secure a narrow win for his side.
But Barca failed to score a second despite a hatful of chances and Cadiz punished them with a late equaliser, Alex Fernandez converting from the spot after a wild swing from Clement Lenglet.
The draw means Ronald Koeman's side move only one point closer to Atletico Madrid in the table instead of three, after Atletico gave their rivals an opportunity by losing at home to Levante on Saturday.
"I'm very disappointed," said Koeman. "Maybe even more than after the game on Tuesday. We were on a good run in the league and we could have cut the distance with those above us.
"We didn't have many problems and it's a game that with our quality we should win, but we haven't done it."
Barcelona had won their previous seven games and another victory would have put them back in sight of Atletico, who are now eight points ahead of the Catalans. Real Madrid are only three points behind Atleti but have played a game more.
"It hurts a lot, after Atletico’s result, we had a chance," said Gerard Pique. "So lose two points like we did in the last minute is tough to swallow.”
It also brings an end to a hugely disappointing week for Barcelona after their 4-1 hammering by PSG, with Elche up next on Wednesday before a tough trip to fourth-placed Sevilla next weekend.
Barca had 21 shots to Cadiz's three but having failed to capitalise, they were always vulnerable to a lapse at the back, which the out-of-form Lenglet duly provided.
Fernandez held his nerve to score the equaliser, an even more memorable goal for him perhaps as a Real Madrid fan and brother of Madrid defender Nacho Fernandez.
Messi's goal was his 16th of the season, drawing him level with Atletico's Luis Suarez at the top of the LaLiga charts.
The 33-year-old cooly rolled the ball into the corner after Pedri was stopped from breaking through, sandwiched between Salvi and Isaac Carcelen.
Both Frenkie de Jong and Pedi had goals ruled out for offside while Messi almost teed up Antoine Griezmann early in the second half. Ousmane Dembele's driving run lacked a finish too.
Then Cadiz's moment came, a long ball launched into the box and Lenglet failing to spot Ruben Sobrino arriving behind him. Lenglet swung a leg but Sobrino touched the ball away first, allowing Fernandez a special equaliser.

Khan warns Paul ahead ‘life-threatening’ Joshua fight
Emery's perseverance & belief key to Villa resurgence
Agu backs Okoye for Eagles No. 1 spot
PFL contract ends soon - Ngannou
'No-one downing tools' - Alonso's stay of execution despite loss to Man City
Zaha in Ivory Coast Afcon squad but Adingra left out
UCL: Mbappé doubtful for Manchester City clash after missing training
'Give Alonso time' - but Man City visit could be pivotal
Fifa accused of breaching own rules with Trump award
Son, Simons and mini Spurs revival lift Frank's spirits
Finidi challenges Rivers United players’ mentality
Rangers International going, going . . . (63,402 views)
Amaju Pinnick: A cat with nine lives (54,646 views)
Second Term: Amaju Pinnick, Other NFF Heavyweights Home to Roost •How Pinnick Broke the Jinx (52,587 views)
Current issues in Nigerian sports: Matters arising (52,220 views)
Sports Development: Zenith Bank on the zenith (52,194 views)
Missing $150,000 IAAF Grant: Solomon Dalung’s Hide and Seek game (52,105 views)
Gov. Abdullahi Ganduje’s solid footprints, commitment to sports development in Kano State (51,950 views)
NFF Presidency: Pinnick, Maigari, Ogunjobi, Okoye in Battle for Supremacy (51,535 views)
Olopade, BET9A wave of revolution in NNL (50,676 views)
Commonwealth Games 2018: Shame of Muhammadu Buhari, Solomon Dalung (49,224 views)
Ibrahimovic’s Man U exit: Whose decision is it? And in whose interest? (47,618 views)
John Mikel Obi: Segun Odegbami’s Outrageous Call! (47,090 views)