I am trying to generate 997 acknowledgement while trying to import 834 file. 834 file get successfully imported by 997 acknowledgement generation fails with message -

Error encountered: ERROR (39), docnr 162662 :

The document type is not recognized. Contact the sender.

RootLabel: [X12_4010_997], PublicId: [], SystemId: [http://schemas.wpc-edi.com/X12/ISOMORPH/HIPAA/4010A1/TS997A1],  (msgnr:0 segnr:0)(line:0 pos:44 filepos:44)

Please help.