Hi and welcome to Just answer.
Initially, turn off your machine, remove your needle plate and clean it using dry cloth, on your bobbin area use compressed air or compressor and blow that area. There is possible lint/debris that block the sensor.
Let me know if still persist.
Hope this information will be helpful.
IMPORTANT: RATING IS REQUIRED!! If you are satisfied to my answer please don't forget to rate,,EXCELLENT OR GOOD rating and BONUS are greatly appreciated...
I'm just following up with you to see how everything is going.
Let me know,Chester