The account types will limit if a cost center is allowed for the posting with the GL account.
If the account type is Cost/Expense, then the cost center posting will work, but the use of the cost center may be limited for other account types.
For examples, any account types for balance sheet GL accounts (Assets, Inventory, etc.), then the cost center cannot be used. (I have seen clients try to do this, so I feel the need to state it.)
Start by verifying which GL account balances on your migration template have a reference to a cost center, then check the settings of that GL account on the Chart of Accounts.
I hope this helps.