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.
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'
|´I am a very flexible man´ - Van Gaal|
|A-League Preview: Top spot up for grabs|
|Portugal - Cape Verde Preview: Andre and Oliveira eager for international bows|
|Puerto Rico 0 Canada 3: Floro´s men rout hosts|
|Xavi denies Al Sadd link|
|Fernando´s life ban upheld by CAS|
|Argentina - Ecuador Preview: Messi remains doubtful for friendly|
|Falcao equals Colombia´s all-time scoring record|
|Macedonia trip good learning curve - Postecoglou|
|Macedonia 0 Australia 0: Stalemate in Skopje|
|Del Bosque not out for Netherlands revenge|
|Burton Albion 1 Stevenage 1: Both teams score at wrong end in draw|
|Pekerman: I have no say on Falcao´s Manchester United future|
|Buffon has studied England new boy Kane|
|Conte urges patience from Italy fans|
|Johnson tasked with keeping Cheltenham up|
|Rooney not keen on Serie A switch|
|Kane to make first England start|
|Colombia 3 Kuwait 1: Spot-on Falcao equals Iguaran record|
|Goal-shy Barkley eyes striker´s role|
|UEFA opens disciplinary proceedings against Montenegro and Russia|
|Draxler and Choupo-Moting back in training|
|Ghana v Mali: Last chance to impress before Giresse return|
|Wilson: Gibraltar getting stronger|
|Mata confident of Spain future|
|Armenia coach Challandes resigns|
|Hiddink rubbishes talk of Dutch negativity|
|Portugal v Cape Verde: Santos set to rotate|
|Loren hails Moyes for Sociedad surge|
|Cruyff brands Netherlands ´a disgrace´|
|Kick It Out backs Barnes over race comments|
|Argentina v Ecuador: Messi remains doubtful for friendly|
|Coates backs Hughes ambition at Stoke|
|Atletico able to call on Saul again|
|Italy v England Preview: Kane set to start after dream debut|
|Zidane would accept Real job|
|Hernandez frustrated by lack of Real opportunities|
|Spartak donate money to 102-year-old fan after robbery|
|Clasie pulls out of Netherlands squad|
|Italy´s Bertolacci out of England friendly|
|Newcastle post record profit as Ashley debt stays the same|
|Al Sadd: We want Xavi to bring tiki-taka|
|Lacazette expected frosty Saint-Etienne reception|
|Barnes: I can´t get back into management because I´m black|
|Rooney praises England aggression|
|Southgate tips Kane for return to U21s|
|Mexico v Paraguay: Goals in order for Copa America aspirants|
|Netherlands - Spain Preview: Wijnaldum rallies behind under-fire Hiddink|
|Peru v Venezuela: Sanvicente wants Venezuelan response|
|Carvalho confident of playing Juventus|
|Neymar demands protection after Medel stamp|
|MLS Review: RSL, Fire secure breakthrough wins|
|Firmino firmly on radar - Dunga|
|O´Neill delighted with second-half display|
|First-half dominance pleases Deschamps|
|Muller criticises Germany profligacy|
|Euro 2016 Qualifying Review: Portugal go top, Gibraltar make history in defeat|
|Liverpool the only English club I could play for - Suarez|
|France 2 Denmark 0: Lacazette off the mark in routine victory|
|Republic of Ireland 1 Poland 1: Long rescues vital point|
|Portugal 2 Serbia 1: Coentrao puts hosts top of Group I|
|Strachan hails ´terrific´ Gibraltar|
|Lafferty back playing with a smile on his face - O´Neill|
|Toure to reveal Ivory Coast future over coming days|
|Georgia 0 Germany 2: Reus and Muller on target for world champions|
|Northern Ireland 2 Finland 1: Lafferty inspires fourth qualifying success|
|Scotland 6 Gibraltar 1: Casciaro´s historic moment outshone by Fletcher´s hat-trick|
|France 2-0 Denmark: Lacazette and Giroud on target|
|Firmino hopeful of Copa America spot|
|Hummels considering options at Dortmund|
|Suarez goalless on Anfield return, but Balotelli nets stunner|
|Casciaro scores first competitive goal for Gibraltar|
|Fleetwood Town 1 Preston North End 1: Ball stunner claims share of derby spoils|
|Italy v England: Judge me on results, says Conte|
|Colombia v Kuwait: Falcao seeking another strong showing|
|Brazil 1 Chile 0: Firmino settles scrappy affair|
|Luxembourg v Turkey: Let´s kick on, urges Terim|
|South Africa 1 Nigeria 1: Zungu strikes late to earn draw|
|Smalling wants long-term United stay|
|South Africa 1-1 Nigeria: Last-gasp Zungu goal cancels out Musa strike|
|Italy call up Santon and Abate for England friendly|
|Switzerland v United States: Klinsmann eyes learning curve|
|Netherlands v Spain: Hiddink has players´ support, says Wijnaldum|
|A-League Review: Sydney end Wellington run, Adelaide suffer injury blows in Jets win|
|Henderson eyes long-term Liverpool future|
|I have nothing to prove - Bale|
|Brazil 1-0 Chile: Firmino gives Selecao battling victory|
|South Korea v New Zealand: All Whites looking to future|
|Japan v Uzbekistan: Hosts eye another win under Halilhodzic|
|MLS Review: Kaka nets in Orlando draw|
|Mexico 1 Ecuador 0: Hernandez, Corona help Herrera´s men to victory|
|Deschamps calls for France response|
|Dunga unfazed by pressure|
|Montenegro fan turns himself in after flare incident|
|Injured Messi not ready - Martino|
|Hodgson: Rooney not close to Charlton|
|Terim proud of Turkey|
|Hiddink happy with point|
|Euro 2016 Qualifying Review: Netherlands and Italy stage late escapes|
|Debutant Eder delighted with Azzurri bow|