I found that using the "Global Search" API endpoint can sometimes (randomly) return an unrelated search result. To see if an incoming phone number already exists in our system, I have a coded automation search for their phone number via the Global Search API endpoint. But now I'm finding that in testing, if I repeatedly run the same search, it will occasionally come back with a single match that actually doesn't have a matching phone number at all.
If it helps to diagnose the issue, every time it returns an incorrect match, it's the exact same Lead in our system.