Sin occurs either intentionally or unwittingly. Some rabbis have opined as to the power of repentance with regard to intentional or unintentional sin. Others do not assume that unwitting sin is any less odious. We should know the law and be vigilant to act within the law.
(יג) רַבִּי יְהוּדָה אוֹמֵר, הֱוֵי זָהִיר בַּתַּלְמוּד, שֶׁשִּׁגְגַת תַּלְמוּד עוֹלָה זָדוֹן. רַבִּי שִׁמְעוֹן אוֹמֵר, שְׁלשָׁה כְתָרִים הֵם, כֶּתֶר תּוֹרָה וְכֶתֶר כְּהֻנָּה וְכֶתֶר מַלְכוּת, וְכֶתֶר שֵׁם טוֹב עוֹלֶה עַל גַּבֵּיהֶן:
(13) Rabbi Judah said: be careful in study, for an error in study counts as deliberate sin. Rabbi Shimon said: There are three crowns: the crown of torah, the crown of priesthood, and the crown of royalty, but the crown of a good name supersedes them all.