I see. Probably this was something else than a space, which works without problems. The error message is strange, because I can’t remember that account names are validated with such messages. If an account can’t be added (because of the name), there is a generic error message.
If this is of further interest, please provide exact steps to reproduce so that I can give it a try myself.