Once the old food has been removed and the fridge has been cleaned completely you should then test the ice maker to find out whether the problems still affect you.
Flushing the Supply Line
The supply line carries water to the ice maker. Sometimes the water can become stale, which is why you might be able to cure the problem by flushing the water pipe out with fresh clean water.
Test the ice maker after flushing the supply line to ensure that the water is now clean that the ice doesn't taste bad.
Water Inlet Valve
If the water inlet valve is damaged, then this could also be because of the water inlet valve. If the water inlet valve is damaged or broken, it can leave the water exposed to smells inside your fridge, which can make the ice taste bad.
The water inlet valve will need replacing if it is damaged or broken. By replacing this water inlet valve you will be able to correct the problem and enjoy better tasting ice.
Replacing the Water Filter
There is a water filter inside of your fridges ice maker that is designed to remove particles and bad smells from the water. The water filter needs to be removed and replaced.
The water filter should be replaced with the same type and model suitable for your freezer. Use your freezers model to ensure that the correct filter is fitted.
Supply Line Filter
If your fridge doesn't already have a supply line filter, then fitting one could greatly help to reduce problems with the ice tasting bad. These can be fitted to virtually any ice maker.
Now you should be in good shape thanks to this troubleshooting guide for an ice maker that was producing bad tasting ice. It's time to reward yourself with a cold beverage.