This problem happens when there is no corresponding accounts in MYOB to an account in MD so please check..
1. All account in charts of account in MD has remote_id which is the corresponding account in MYOB
2. All stocks have sale account and purchase account (including deleted one as they might be used on the invoice or bill) to have an active account in the charts of account and have corresponding remote_id