This message would occur if you tried to delete a scripts folder in the Scripts Explorer, but the selected scripts folder contains other scripts folders.
It is not possible to delete script folders recursively.
Topic 183040, last updated on 30-Aug-2020