Jesus Navas climbed off the bench to rescue a 2-2 draw for Spain against Chile in Geneva on Tuesday.
The Manchester City winger salvaged a scarcely deserved draw in Vicente del Bosque's 80th game in charge, sliding home the leveller from close range in injury time.
Eduardo Vargas twice gave Chile the lead, sandwiching Roberto Soldado's close-range header in a first half dominated by the South Americans.
The performance underlined the threat that Jorge Sampaoli's men could carry at the 2014 FIFA World Cup, which they are on the brink of qualifying for following their 3-0 victory over Venezuela on Saturday.
But they really should have claimed the win, having controlled large parts of the contest.
Del Bosque made a host of changes from the side that beat Finland 2-0 in a World Cup qualifier on Friday.
He was without Isco (ankle) and David Silva (thigh), while Victor Valdes was given the nod in goal ahead of Iker Casillas, who earned his 150th cap in Helsinki.
Nacho Monreal, Santi Cazorla and Soldado were also brought in to the starting line-up.
Chile named all three goalscorers from the Venezuela match as Vargas, Marcos Gonzalez and Arturo Vidal lined up in a strong starting XI.
The visitors seized the early initiative when Vargas latched onto Mauricio Isla's flicked pass before slotting the ball past Valdes from 12 yards.
Spain were exposed at the back again midway through the half, when Valdes had to scramble Alexis Sanchez's cross-cum-shot behind for a corner.
Claudio Bravo almost cost his side at the other end when the goalkeeper allowed a tame backpass to roll under his foot and out for a corner, from which Spain failed to threaten.
Despite struggling to find their rhythm, Spain did manage to conjure a leveller nine minutes before the break.
Tottenham striker Soldado was the beneficiary of Alvaro Arbeloa's pinpoint delivery, heading home from six yards for a barely deserved equaliser.
But after Cesc Fabregas' cross hit the post, Spain were cut open again on the stroke of half-time.
Vargas turned Raul Albiol and finished into the bottom corner to send Sampaoli's men into the break with the lead.
Andres Iniesta and Navas were brought on for Fabregas and Xavi as Spain looked to turn things around, having looked nothing like the side that had managed five clean sheets in their past six matches.
They began to grow into the game, enjoying long spells of possession as Chile seemed content to try to contain them.
Cazorla fed Pedro down the down the left but his cross deflected off Gary Medel, giving Soldado no chance to capitalise.
Valdes was replaced around the hour mark, making way for Pepe Reina, who was called into action when Isla raced through and the Napoli loanee had to sprint out to deny him.
Del Bosque introduced Alvaro Negredo to the action in place of Soldado and the Spaniards pressed again, winning a free-kick on the edge of the box as Cazorla was sent tumbling, resulting in a yellow card for Vidal.
But Iniesta's strike was straight at the wall and when Navas could only sting Bravo's palms with a close-range strike, Spain's frustration was evident.
With their illustrious opponents failing to fire on all cylinders, Chile looked set to record their first win over Spain, but Navas had other ideas, poking Pedro's cross home from close range to ensure that the world and European champions have lost only one of their last 30 matches.
|Coach: Del Bosque|
for Fàbregas 46'
for Xavi 46'
for Sergio Ramos 59'
for Víctor Valdés 59'
for Soldado 66'
for Javi García 79'
|Barcelona announce record revenues for 2015-16|
|Moyes enjoys Sunderland win as Palace beat Colchester|
|Stoke complete Allen signing|
|Roma coach Spalletti warns suitors off Manolas|
|Cresswell out for up to four months with knee injury|
|Burnley fan banned by club for racist abuse|
|Dad won´t let me play at the Olympics - Larsson Sr pulls rank|
|Kostic joins Hamburg on five-year deal|
|Tevez: I´d turn down Chelsea and Napoli to stay at Boca|
|Mayoral inspired by Benzema for Wolfsburg stint|
|Allardyce straight into competitive action with England|
|Liverpool, Sevilla fined for Europa League final incidents|
|Barcelona seal Guillemenot signing as part of new Servette deal|
|Niersbach handed one-year ban over World Cup corruption|
|Chelsea and Everton ´still interested´ as Koulibaly eyes Napoli exit|
|´Still working hard´ - Balotelli trains with Liverpool kids|
|Winter breaks, long-ball football and the World Cup: Allardyce in his own words|
|Inter warn Napoli Icardi is not for sale|
|Zanetti wants Simeone back at Inter|
|Stoke snap up Sobhi|
|PSG tougher under Emery - Lucas Moura|
|Totti not ready for retirement - Pallotta|
|Confident Allardyce reveals plan for England success|
|Pochettino to discard three Tottenham players|
|Allardyce: Rooney must wait for captaincy decision|
|Aubameyang: I will only leave Dortmund for Real Madrid|
|Allegri silences questions on Pogba|
|Bruce stands by decision to quit Hull City|
|Pochettino: Not the right time for Argentina job|
|Inter yet to approach De Boer with Mancini exit rumoured|
|Ancelotti trusts me more than Guardiola - Ribery|
|Wijnaldum rejected Everton for Klopp|
|Pre-season Manchester derby cancelled|
|Coutinho excited by ´fast´ Liverpool recruits|
|Cristiano Ronaldo and Conor McGregor step into the ring together|
|Mancini coy on reports linking Icardi to Napoli|
|Nolito reveals why he chose Man City over Barcelona|
|Inter 1 Paris Saint-Germain 3: Icardi absence in defeat fuels Napoli talk|
|MLS Review: Wright-Phillips double inspires Red Bulls to New York derby rout|
|James seeks more game time at Madrid|
|Rooney: I want to be a manager|
|Mignolet welcomes Karius challenge in Liverpool number one battle|
|Batshuayi buoyed by winning vibes at Chelsea|
|Moyes and Sunderland players diverted after plane fault|
|´Loved´ Varane targets long Madrid stay|
|Kostic set for Hamburg medical|
|Leicester crying over Kante sale - Ranieri|
|Schurrle the perfect Mkhitaryan replacement - Tuchel|
|West Ham face anxious wait on Cresswell injury|
|Mourinho will accept criticism from United legends|
|Bertolacci desperate for fresh start after underwhelming first season at Milan|
|Hoops hand Toure one-year deal|
|Origi ready to fight for Liverpool spot|
|Emery wants PSG stay for ´fantastic´ Matuidi|
|No Barcelona offer for Vietto - Cerezo|
|Burnley apologise for racist abuse from supporter|
|Guardiola will not rush Kompany comeback|
|Of course I´ll shake Guardiola´s hand, snaps riled Mourinho|
|Watzke: No more signings for Dortmund|
|Roma expect Manolas to snub Premier League move|
|Adriano set to leave Barcelona for Besiktas|
|Manchester United in worst possible situation - Mourinho|
|Sporting would have to sell stadium to afford Van Persie - Jesus|
|Jonas´ agent confirms Barcelona approach|
|No problem with Mourinho, insists Guardiola ahead of derby in China|
|Toronto´s hat-trick hero Giovinco: I´m back|
|Drogba revels in ´special night´, dedicates hat-trick to family|
|MLS Review: Hat-tricks for Drogba and Giovinco as stars shine|
|Whelan backs Liverpool for top-four finish|
|Pellegrini still waiting for right offer|
|Ronaldo deserves to win Ballon d´Or - Vazquez|
|Phelan wants Hull job|
|Alaba saddened by Gotze exit|
|Morgan: Vardy right to re-sign|
|Maradona ´hurting´ as Higuain closes on Juventus move|