Throws error if map has invalid characters