Contradiction with Ezra 5:1
This verse refers to Zechariah as the son of Iddo, omitting Berechiah, which may seem like a contradiction in his genealogy.
Ezra 5:1: Then the prophets, Haggai the prophet, and Zechariah the son of Iddo, prophesied unto the Jews that [were] in Judah and Jerusalem in the name of the God of Israel, [even] unto them.
Contradiction with Matthew 23:35
This verse refers to "Zechariah son of Barachias," which may appear as a different lineage and could be interpreted as a contradiction if assumed to refer to the same Zechariah.
Matthew 23:35: That upon you may come all the righteous blood shed upon the earth, from the blood of righteous Abel unto the blood of Zacharias son of Barachias, whom ye slew between the temple and the altar.