Regarding the curse of Jenconiah and his descendants (Jeremiah 22:28-30). I am a little confused to what happened with Zerubbabel. He appears in the oracles of Zechariah and Haggai but no clear reference is given to any kingship. According to Ezra, he was nothing more than a governor in the Persian Judah. Yet Zechariah 6 speaks of him as a king...
No clear reference is given in regard to his children and he seems to simply disappear from the pages of the Tanakh.
Moreover, the Gemara states that he was forgiven. However the quotations from Sanhedrin are aggadic in nature, not halachic. Therefore, there is no one authoritative opinion. If that is the case what happened with Zerubbabel? What happened to his children? Ultimately, are Zerubbabel, or Jeconiah for that matter, valid in the genealogy of moshiach?