American Idol is typically a pretty funny show, but nothing beats the moment when judge Katy Perry got “triggered” by a contestant’s song choice.

The latest live episode of the show featured the Judge’s Song Contest, where each contestant was given a song chosen by each of the judges.

One of the contestants, Noah Thompson, was given a choice of three songs to sing for his part: of those songs was written by John Mayer and one was written by John Denver. Thompson was initially going to sing the John Denver song, but at the last moment decide to go for the John Mayer song, which is called “Heartbreak Warfare.”

If you keep up with celebrity relationships, you know that Katy Perry and John Mayer used to date. The two were on and off from 2012 til about 2015 before they officially called it quits. However, Thompson had no idea of that fact. So when host Ryan Seacrest asked him who he thought chose the John Mayer song, he reluctantly said Katy Perry.

The audience giggled in the background and Perry wasn’t quite sure how to react. She finally responded with, “Noah, I…I feel like you should Wikipedia me.”

Fellow judges Luke Bryan and Lionel Richie were in stiches over it, and the audience erupted with laughter. Thompson was not too sure of why everyone found this so funny. “So that’s a hard no?” he asked.

“I picked John Denver!” Perry said. “It’s a great song, it’s all great, but I just can’t talk anymore.”

Everyone continued to find the moment hilarious. “I’m triggered!” Perry shouted, jokingly ducking under the table and throwing a bag of chips into the audience. When she got back up from under the table, she joked once more, “Who’s going to pay for my extra hour of therapy?”

Once she was able to really compose herself, she gave Thompson props for his performance, which even she had to admit was lovely.

“Honestly, you sounded great, it’s a great song,” Perry said. “He’s a great artist, you’re a great artist.”

At least she had a good laugh about it. You’ve gotta check out the hilarious moment and the contestant’s confusion in the American Idol clip below. Plus, find out who really picked the John Mayer song!

Did you know that Katy Perry and John Mayer dated on and off for four years? How would you have reacted if you were this contestant?