false positive drug tests at the clinic

So I'm on pretrial diversion and get drug tested by the courts. Supposedly I had fentanyl in my urine when I didn't even use and I had a pre trial drug test the same day that was clean. Why does this happen so often at clinics?