teddycloud icon indicating copy to clipboard operation
teddycloud copied to clipboard

Feature Request: Better error message if delete a not empty folder

Open BenRoe opened this issue 2 months ago • 0 comments

Is your feature request related to a problem? Please describe. If i try to delete a not empty folder in "Content" overview, i get the following error.

ERROR|handler_api.c:2267:handleApiFileDelete| Error deleting file '/9BD07122' -> '/teddycloud/data/content/default/9BD07122', error Generic error code [1]

First i thought it's a file owner problem. Someone on the Telegram channel noted, that recursive delete is disabled by default. The error message above does not explain that.

Describe the solution you'd like Mention that in the error message, that the folder is not empty.

Describe alternatives you've considered Allow recursive deletion.

BenRoe avatar Oct 25 '25 19:10 BenRoe