Setting Nextcloud WebDAV as file upload storage system


Hi, i’m trying to set up a different file storage for my RocketChat server.
I followed the (very few) instructions given here : There is a link to this page where i learned that i should give a url that looks like this https://{host}/{path}/remote.php/dav/files/{username}

That’s what i did.
I created a folder dedicated to rocketchat, i entered user id and password.

But still when i try to upload a file in a channel i get a Internal server error [500]

Did anyone report succeeding to implement this?? Any advice?

RocketChat version : 0.73.2
NextCloud version : 14.0.3