To resolve errors check the forum for pointers or post them here for ideas.
Since DocTypes relate and refer to eachother, the import order of a given DocType set is key to build and preserve these references.
Note this dependency diagram! ERPNext DocType Relationships
This may help Data import - from other ERP systems