The icon I was using had a 1-bit black and white color palette. TrayIcons often require icons with a more standard color depth, such as 8-bit or 24-bit.
To fix this, I converted the icon to use a higher color depth in a software like GreenFish Icon Editor Pro , and the error was resolved.