The most infamous Harry Potter fanfiction is undoubtedly "My Immortal" by "Tara Gilesbie".
This story, originally posted on Fanfiction.net in 2006, quickly gained notoriety for its nonsensical plot, poor writing, and bizarre characters. The story features a Mary Sue version of Harry Potter, a love triangle with a vampire, a villainous Dumbledore, and a wide array of grammatical errors and spelling mistakes.
"My Immortal" became a cultural phenomenon, often cited as an example of terrible fanfiction. Its popularity spawned memes, parodies, and even a documentary. The story's notoriety has even led to its being studied in academic circles, as a case study in fan culture and internet writing.
Despite its infamy, "My Immortal" remains a fascinating artifact of internet culture. It serves as a reminder of the wide range of creativity and expression that exists within fan communities, and the power of the internet to create and perpetuate viral content.