There is an error message: Unable to close currency [CDN] to department [ ] retained earnings account. What's the problem?

Thanks.