We’ve had a similar problem with the ice maker on our new fridge. Glad you got that figured out!
Well, I think part of it is my fault, I had jammed the freezer so full, it had blocked (or partially blocked) the internal vents.
At least now I know what was blocked and why it seemed to be not working right!