Hi, welcome to Just answer
How old is it ?
Please check the water inlet valve, it might be frozen or blocked with mineral deposit. Use a hair dryer to remove the blockage. Make sure the water inlet valve's screen is not blocked. If the issue persists, then the water inlet valve has gone bad, use a multimeter to test the water inlet valve's continuity. Use a multimeter to test the continuity.
it has a dual valve one for the ice and other for the valve...if it is not bad it can be due to a blockage in there
as said please try to check it
it is located where the inlet hose connects the appliance