Samsung Icemaker won't fill.

This is a side by side Samsung refrigerator with the icemaker and bucket in the freezer door. For a few months, the icemaker would quit making ice until I used the reset button, then it would work for a week or two. Now it will not fill with water. When I pour water into the icemaker tray with a small measuring cup, it will make ice and sometimes empty it into the bucket, but not always. Once in a while, it would also put a little water into the tray, but never fill it and would not empty without using the reset button. Now, it will still recycle using the reset button, but will not fill with water. I have changed the filter, even though the water dispenser indicates good pressure. House water pressure is excellent. Thinking the dual-valve solenoid might be bad or clogged, I replaced it, but no change in symptoms. When replacing the solenoid, I couldn’t detect any kinks or obstructions.

Am I looking at a bad water sensor; or a bad control board…or am I missing something?

Thanks for any help!