
To see the account structure go to "Configure Account Structures" form (General ledger - Setup - Charts of accounts - Configure account structure) and seach for an account structure with the code.
See what dimension values are configured there to be allowed on that ledger account, and it should tell you why the above combination is not allowed.