Which lights flash on and off? All of them?? I don't know how similar the l322 is to the
P38, but on the P38 the BECM monitors current levels, so, for instance, if you wire both sets of side lights for the caravan connector to one side light wire in the P38, you will get a fault. Construction and use regulations require separate feeds for left and right side lights and the BECM will recognise the fault if this is not done.
Tell us which lights flash and you may get better info.