You cannot add the root folder <folder>

This error has the following cause and solution: