You need to use a base catalyst atleast about 1 mole equivalent to the nicotinoyl chloride. Make sure the nicotinoyl chloride dissolves in the medium. If it is not dissolved the reaction may not go forward. Alternatively you can try using excess aromatic primary amine that helps to drive the reaction
First, be sure that nicotinoyl chloride (mostly provided as HCl salt) is completely soluble in the medium (You may try DMF), then use 1.5 moles of the amine and piperidine as a basic catalyst.