A 15-year-old girl has admitted she made up a story about being raped while walking home from school on February 27.
"This admission has left police disappointed and frustrated at the actions of the girl," Detective Sergeant Robbie Hermann of Waikato Criminal Investigation Branch said.
"Many hours work that could have been spent on investigating genuine cases of child abuse have effectively been lost," he said.
As a result of the complaint people had become worried about their safety.
"I regard Hamilton to be a safe city where children can walk to and from school without fear of attack by a sexual predator.
"While establishing this complaint had no validity parents and caregivers should always remain vigilant about their children's movements including going to and from school," Det Sgt Hermann said.
The girl will be referred to youth aid.
"At the end of the day this is still a young person in need of assistance and we would like to thank all those members of the public who gave of their time during the course of our investigation," Det Sgt Hermann said.