The bumpy ride this causes leads them to finding Sofia, who they pursue. Upon rubbing it, she accidentally releases a genie named. This makes the two realize how selfish they have been and they tell Sofia the spell that will undo the mess. In the marketplace, Kazeem grants everyone's wishes but ends up making a big mess when he grants a wish that turns a boy's toy elephants into real elephants. This makes her Raven Catcher crooked. After he asks what they should do, Sofia tells him Kazeem will take care of it. Elena of Avalor - Princess Elena has spared her enchanted kingdom, Avalor, from a malicious sorceress and must figure out how to control as its crown princess.
Elena's enterprises will lead her to comprehend that her new part requires keenness, strength and empathy. Sofia meets again who tells her to go to the Genie Patrol and tells her where to find them. Using his Jinn Magic, Kazeem apprehends Ali Bobo just as arrives. This makes Indigo jealous and she hexes the Raven Catcher to get rid of Sofia. To prevent another hex-off between Lily and Indigo, Lucinda picks Sofia to be her witch of honor.
Omar is angry that Kazeem crashed into him and denounces him as a menace, despite Kazeem's protests that was an accident. . Sofia tries to vouch for Kazeem but she only makes it worse by revealing that she believes Kazeem did it by mistake. Sofia goes to Fizz and convinces him to reopen the case. Meanwhile, Sofia and Fizz intercept Kazeem at a birthday party but the young jinn refuses to listen and flies off. Sofia then brings Lucinda back where she successfully completes the ceremony to make her Raven Catcher.
Sofia resolves to stop Kazeem herself and sets off. Sofia and Lucinda start working on the potion for her Raven Catcher. Kazeem is pursuing a rogue genie named Ali Bobo who is breaking all the Genie Rules. To prove his innocence, Sofia and Kazeem go to Fizz and put him on the case. The transformed Lily and Indigo start bickering again but Sofia walks up and tells them straight that it was their fighting that ruined everything. Their fight causes the Raven Catcher to go out of control.
Sofia then frees Fizz, who apologizes to Kazeem for doubting him too. The infuriated Indigo hexes Lily's scarecrow, which attacks Lily and takes her straw. Lucinda begins the ceremony by lighting the Cauldronation Candles. The trio look for clues but all the evidence they find all say that Kazeem did do it. Repentant, Kazeem grants Sofia's first two wishes: To let Fizz out of his lamp and undo his wishes.
Elena of Avalor - Princess Elena has spared her enchanted kingdom, Avalor, from a malicious sorceress and must figure out how to control as its crown princess. After the Dance is finished, Lucinda tries to cast the spell to make her Raven Catcher but Lily and Indigo distract her in a way that makes her mess up the spell. Sofia and Fizz head to the site of the fruit attack where they find Omar reversing the fruit spell. He then stuffs Fizz inside a lamp and leaves to undo the flying camel spell. Sofia promises to not let any quibbling on and Indigo's part ruin Lucinda's Cauldronation because she wants it to go off without a hitch. Sofia agrees as she also wants to see her friend. Furious, Habib puts Kazeem on trail to determine whether or not he is guilty.
Sofia casts the spell and returns everyone to normal. Meanwhile, Sofia's parents arrive at Tangu Palace to watch Sofia's rehearsal and provide a safety net Roland's idea and learn that Sofia hasn't shown up yet. Indigo refuses to take the hex off until it almost ruins Lucinda's supplies. Sofia tells everyone what's going on and, with help from her parents, Sofia shows Kazeem how unhappy he's made everyone. Habib agrees and orders Fizz to be in his lamp by sundown. Kazeem, Omar, Habib, Roland, and Sofia head to the market. Realizing something's wrong, Roland, Miranda, and Zandar take off on magic carpets to look for her, to Roland's discomfort since he's riding the same magic carpet Sofia rode on during her first visit to Tangu and it still has some of its spunk.
Sofia asks him to get back in his lamp but the little genie refuses because he wants to have fun since he never been out of his lamp before. Suddenly, Kazeem comes in and crashes into Omar. Pleased, Habib gives the pair the day off. As they set everything up, Sofia asks what a Cauldronation is and Lucinda explains that it is a ceremony where a witch proves she is ready to ascend from being a witchlet, a little witch, to a midnight witch, a big witch, by making a powerful magic broom called a Raven Catcher. Lucinda's mother comes out to begin the Cauldronation and takes pictures of Lucinda all the while. Indigo, Lily, and the rest of Lucinda's witch friends arrive and Sofia quickly sees what Lucinda means when she says they do not get along before getting introduced to the two.
Giving in to temptation, Sofia opens it and finds a inside. At first, Sofia feels guilty for letting Kazeem out and feels like she's not up to the task but Fizz reminds her that now's not the time to play the blame game and assures her she can do it. Sofia and Fizz give chase but Kazeem traps Fizz in the former's lamp, leaving Sofia to deal with Kazeem on her own since a jinn spell can only be undone by the Genie who cast it. Together, they take off and, working together, they expose Omar to Habib and apprehend him. Since a Jinn Spell can only be undone by the genie who cast it, this instantly makes the pair suspicious of Omar. With her Cauldronation ruined, an upset Lucinda runs off.
The attempt fails when Lily taunts Indigo. Sofia heads toward a big gold lamp and meets the Genie Patrol's only member , who tells her about the Genie rules and the patrol's job of enforcing these rules and makes Sofia his partner. The camels knock a powder on Habib. As a reward, Sofia uses her final wish to make Kazeem a member of the Genie Patrol, to his and Fizz's delight. On the way, the package starts to bounce around. She and Sofia then fly off on it. Habib tells Roland that there is still time before the discussions begin and asks him if there is anything he wants to do.