Vayikra4:2

דַּבֵּר אֶל־בְּנֵי יִשְׂרָאֵל לֵאמֹר נֶפֶשׁ כִּי־תֶחֱטָא בִשְׁגָגָה מִכֹּל מִצְוֺת יְהוָה אֲשֶׁר לֹא תֵעָשֶׂינָה וְעָשָׂה מֵאַחַת מֵהֵנָּה׃

"Speak to the children of Israel, saying: when a soul sins by mistake against any of the commandments of the Eternal that must not be done, and does one of them,

Vayikra 4:2

דַּבֵּר אֶל־בְּנֵי יִשְׂרָאֵל

Vayikra / Leviticus 4:2 · Pshat

Vayikra 4:2

דַּבֵּר אֶל־בְּנֵי יִשְׂרָאֵל לֵאמֹר נֶפֶשׁ כִּי־תֶחֱטָא בִשְׁגָגָה מִכֹּל מִצְוֺת יְהוָה אֲשֶׁר לֹא תֵעָשֶׂינָה וְעָשָׂה מֵאַחַת מֵהֵנָּה׃

"Speak to the children of Israel, saying: when a soul sins by mistake against any of the commandments of the Eternal that must not be done, and does one of them,

Pshat פְּשָׁט

A sin by mistake

One can do harm without wanting it at all. The Torah still asks us to stop and repair, but it speaks more gently.

Rashi: a sin offering is brought only for a deed that, done on purpose, carries karet, and done by mistake, this offering. Ibn Ezra: it speaks of breaking by mistake a prohibition that carries karet or lashes, and the word "soul" includes both Israel and the ger.

How Rashi and Ibn Ezra explain it

Rashi Against any of the commandments of the Eternal

Our teachers explained: a sin offering comes only for a deed that, done on purpose, carries a prohibition and karet, and done by mistake, a sin offering.

Ibn Ezra When a soul sins

When one does by mistake one of the "do not" prohibitions that carry karet or lashes. The word "soul" covers both Israel and the ger, for so it is written. And afterwards the Torah speaks in detail, beginning with the high priest, that is, the anointed kohen.

Takeaway

A mistake (שְׁגָגָה) is when a person did not know that this is forbidden, or did not know that he was doing this very thing.
Karet (כָּרֵת) means "cutting off": a punishment from Heaven for grave sins, in which the soul is cut off from its people.
"For so it is written": "One law shall be for you, for the one who acts by mistake, both for the native among the children of Israel and for the ger" (Bamidbar / Numbers 15:29).
A ger (גֵּר) is a person from another nation who accepted the Torah and became part of Israel.