The Chasm of Challenges is a minigame that can be played by Sora in Kingdom Hearts II. It is located in the Cave of Wonders at Agrabah. The goal of the minigame is to defeat all the Heartless and descend all platforms within a two minute time limit.
In the first visit to Agrabah, Sora must complete the Chasm of Challenges in order to open the door to the Treasure Room. Supposedly, within the Room would be a treasure that the Peddler would accept in exchange for Jafar's lamp. As a reward for finishing the challenge, the door to the Treasure Room unlocks.
Redo the Cave of Wonders: Chasm of Challenges.