Error in input PDB file

I am getting the following error for one of my input files,
Error in PDB file.
Issue when parsing the PDB file at line 729 .
Your PDB contains an Unknown residue PDBLine: ATOM 729 N HSD A 50 102.158 130.293 -28.820 1.00 0.00 AP1 N that should be using HETATM record, please check the HADDOCK library for a list of supported modified residues.
I am not sure how to resolve this