State tax filing

i put in lived in my state from 1-1-2022 to 12-31-2022 but it is giving me a error that I lived over 365 days.  How do you fix this?