The Blitzboks will contest the bronze medal match against France at the Dubai 7s after falling 19-17 to Fiji in a semifinal that went to the wire.
South Africa made the perfect start, scoring within 10 seconds when Fiji's kickoff bounced to Ryan Oosthuizen, who offloaded inside for Zain Davids to dot down. Quewin Nortje added a second to give the Blitzboks a 12-7 lead at the break.
Fiji turned it around after the interval. Iowane Teba scored first, then Filipe Sauturaga edged them ahead before Saimone Qeleca drove over with two defenders on his back to put Fiji 19-12 clear with the game seemingly done.
What followed was a remarkable individual effort from Ricardo Duartee, who collected inside his own 22, broke the line, left two defenders grasping at air and sprinted the length of the field to score in the final minute. The conversion that would have levelled the scores was missed, and the Blitzboks were out.
The result represents a significant improvement on Saturday's pool losses to Argentina and the USA. Argentina go on to meet Fiji in the final.
The third-place playoff against France kicks off at 17h03.