Strange thing. For me /remote.php/dav/files/[USER]/joplin/[DEPARTMENT] is working perfectly.
/remote.php/dav/files/[USER]/joplin/[DEPARTMENT]
So what is the difference?