This is not possible. Duolingo makes "cannot", "can not" and "can't" to be interchangeable automatically. The contributors don't even need to bother about it, Duo already took care of this. Same applies to different spelling like "color" and "colour".
Are you sure there was no other mistake or typo? What did the red text in the bottom say exactly?