Police say a girl became unwell after eating sweets believed to have contained THC, the psychoactive ingredient in cannabis.