A “lie” is a falsehood told with the intent to deceive.
If you believe it there is no intent to deceive and it is at worst a mistake, not a lie.