ice maker not working

I replaced ice maker with new one, replaced water valve with new one, i checked water inlet tube not blocked, i get water to door so not a water supply problem the ice maker just seems to do nothing could it be a electrical problem what else is there to fix.