On my 2013 300, under the headlight fairing were the male/female spade connectors for the headlight circuit. The plastic covering for these connectors are supposed to mate over one another to cover the conductors. On my bike they used the same covering on both sides so that they wouldn't mate, hence the conductors could short and cause the light to flash.
Great bike, but gee, the attention to detail in some areas is slack!