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'
|Liverpool confirm O´Driscoll appointment|
|Liverpool have to start better - Lucas|
|USA simply too good - Sasaki|
|Portland Timbers 1 San Jose Earthquakes 0: Jewsbury wins it in stoppage time|
|No move yet for Van Persie|
|Lloyd wins Golden Ball, Silver Boot awards|
|Mascherano: I never grabbed Banega|
|Dunga requested Brazil not appeal Neymar´s suspension|
|United States 5 Japan 2: Lloyd stars with hat-trick|
|Fiorentina deny Inter criticism|
|Nani relishing Fenerbahce opportunity|
|Newcastle hold talks over Northampton youngster|
|Cuadrado´s agent plays down Chelsea exit rumours|
|Liverpool´s Alberto set for Deportivo loan|
|Leverkusen suffer surprise defeat, Stuttgart hit six|
|Inter ´dismayed´ at Fiorentina vice-president´s Salah Twitter outburst|
|Blaszczykowski ruled out of Dortmund´s Asia tour|
|Gerrard gets the beers in for LA Galaxy fans|
|De Gea coy over Real links|
|Former Brazil star Carlos handed Delhi reins|
|Ciftci will not push through Celtic switch – agent|
|In-demand Mitrovic considering Roma offer|
|Lehmann calls on Cech to ´get over´ Chelsea|
|Marlos double sinks Monaco|
|Mauritius 0 South Africa 2 (agg 0-5): Bafana set up Angola qualifier|
|Keane relishing Gerrard arrival|
|Palace confirm Cabaye interest|
|Hamburg bring in Spahic after head-butt ban|
|Blatter hits out at France and Germany over World Cup votes|
|Sanchez: World Cup exit spurred Chile to Copa glory|
|Jojic makes Cologne switch, Santana move falls through|
|Carrillo keen to get going at Monaco|
|Micronesia thrashed 38-0 as Fiji triumph in Olympic qualifier|
|Schalke stunned by ´machine´ Caicara|
|MLS Review: Keane shines at Gerrard´s Galaxy unveiling|
|Counter-attacking the key for Japan|
|Jimenez happy at Atletico|
|Gerrard predicts ´successful future´ with Galaxy|
|Iniesta can´t see Real selling Ramos|
|Keshi sacked as Nigeria coach|
|Three finals, three defeats for Messi, Mascherano|
|Nani close to Fenerbahce move|
|Sampaoli revels in ´unbelievable joy´|
|Bravo: Copa victory a dream|
|Martino: Argentina should have won|
|Chile 0 Argentina 0 (4-1 on penalties): Hosts end trophy drought|
|Germany 0 England 1 (after extra time): England make World Cup history|
|Kenya 0 Ethiopia 0 (agg 0-2): Hosts sent out of CHAN qualifiers after second penalty miss|
|Dortmund put 17 past Olympians, Bremen hand out thrashing|
|Dinamo Zagreb confirm arrests of coach and club president|
|I didn´t know who Wimbledon guest Klopp was - Brown|
|LeBron James backs Liverpool captain Henderson for FIFA 16 cover.|
|Ramos: I am not negotiating with anyone|
|Valencia complete Mina swoop|
|United States v Japan: US seek final redemption|
|Hanousek consigns Celtic to defeat|
|Roma confirm Dzeko interest|
|Arsenal forward Podolski completes Galatasaray switch|
|Warm Dortmund welcome delights Tuchel|
|Silva vows to fight for Madrid place|
|Mancini hints at Shaqiri and Santon departures|
|Bojan raring to go after return from injury|
|Babel backs Firmino to shine at Liverpool|
|Falcao must wait to impress, warns Chelsea favourite|
|Bartomeu: Deal in place for Turan|
|Parejo re-signs with Valencia|
|MLS Review: Sounders return to winning ways|
|Klinsmann unhappy with USA performance|
|High hopes for Paraguay - Diaz|
|Gareca: More to come from Peru|
|Gerrard had European offers|
|Argentina out to spoil Chile´s party - Martino|
|Sampaoli: Chile won´t change style|
|Di Maria will come good at United - Rojo|
|Peru 2 Paraguay 0: Gareca´s men finish third at Copa|
|United States 4 Guatemala 0: Klinsmann´s men win comfortably|
|´I’d prefer no-one to know my name´ - Bassett|