Harry Potter author JK Rowling is giving hope to all the aspiring writers out there as she revealed the struggles she encountered in the past just to get an agent for her book then later received "loads" of rejection from different publishers.

The author likes to talk to her fans via Twitter, and some have been asking the famed author who created the magical world of Hogwarts if she ever felt nervous submitting her works before. The fan said that the worst thing an agent can "say" is no and Rowling tried to comfort her by sharing her first woe with an agent, the Guardian shared.

She was very candid in her response, sharing that "the first agent I ever queried sent back a slip saying 'My list is full. The folder you sent wouldn't fit in the envelope.'"

Rowling added that "I really minded about the folder, because I had almost no money and had to buy another one."

Back then, Rowling and her daughter were struggling to make ends meet and lived only on benefits so she did not have the luxury to buy an extra folder. Now, however, things could not be more different. Rowling made a lot of people laugh with her response when another fan asked, "How many folders do you have now JK?"

"I now have over a million folders, all made of costly silks, each one hand-gilded by artisans in Paris," she jokingly replied.

Even though Rowling had a bad experience with the first agent, she felt determined to share her book to the world. She was lucky to find an ally in her next literary agent, named Christopher Little, and together they submitted her manuscript to 12 different publishers. Unfortunately, all of them turned her down until her work finally got snatched up by Bloomsbury.

"First publisher to turn down Harry also sent @RGalbraith his rudest rejection. They don't even want me in a beard," Rowling tweeted.

Robert Galbraith is a pseudonym Rowling used to write her thriller novels, which revolves around the life of private detective and war veteran Cormoran Strike. Her first Galbraith novel was called The Cuckoo's Calling.

Rowling's success for her novels is undeniable but that does not mean that the author has her nose stuck up in the air. In fact, the author aspires to improve her work further.

"Believe me, neither @RGalbraith nor I walk around thinking we're fab. We just shoot for 'writing better than yesterday,'" she wrote.