Paco Alcacer scored a brilliant late free-kick as Barcelona was forced to settle for a 1-1 away draw against Gimnastic in a friendly match that saw the side lose Thomas Vermaelen to injury.
Barca had impressively beaten Juventus, Manchester United and Real Madrid in the United States last month but looked to be on course for its first defeat of pre-season on Friday until Alcacer's impressive intervention after 79 minutes.
Playing in its first match since the world-record sale of Neymar to Paris Saint-Germain, head coach Ernesto Valverde named a side mainly filled with fringe players, with Andres Iniesta, Lionel Messi, Gerard Pique and Luis Suarez among the stars missing out.
Host Nastic, who play in the Spanish second tier, took a shock lead after 11 minutes when Manu Barreiro shot past Jasper Cillessen from a yard out after being set up by Omar Perdomo from the left.
Vermaelen, who spent last season on loan at Roma, limped off with injury after the goal, with Marlon Santos replacing him.
Alcacer and Carles Alena went close for Barca either side of Valverde bringing on Munir El Haddadi and Marc-Andre ter Stegen at the break, while Gerard Deulofeu, Andre Gomes, Jordi Alba and Douglas entered the fray midway through the second half.
After Deulofeu came close to an equaliser it looked like the visitors were heading for a shock defeat, but Alcacer produced a moment of magic to convert his set piece from almost 30 yards.
Barca is back in action against Chapecoense in the Gamper trophy on Monday, before its competitive season gets under way against Real Madrid in the first leg of the Supercopa de Espana on August 13.
- Hard-serving Ivo Karlovic officially announces his retirement from tennis
- World team table tennis c’ships: India men edge out Kazakhstan to enter Round of 16
- Former India cricketer Lalchand Rajput appointed UAE head coach
- Take Bairstow out of firing line: Cook urges England to bench the out-of-form batter
- Royal Challengers Bangalore WPL 2024 team analysis: Squad depth, players to watch out, fixtures