This document is strictly for users of ERPNext. Its aim is to help navigate problems that pop up.
When cancelling Journal Entries:
Cannot cancel journal entry because account [account-name-here] must be Credit/Debit
Did Not Cancel
Go to the account name mentioned in Accounts > Chart of Accounts
Click on it and then click Edit
Change the Balance Must Be Debit / Credit to the value that is empty. Save
Retry cancelling your Journal Entry.