Upload error "Upload failed Server not found" when uploading Obsidian files

Whenever I create a new file using Obsidian app in Android, I will always encounter an error “Upload failed Server not found”. The new file will be uploaded successfully but a particular file /Obsidian.md/.obsidian from the Obsidian app will fail to upload and give this error. The error can be seen in the screenshot below. How do I resolve this issue?

Android version: 12
Obsidian version: 1.3.1 (65)
Nextcloud version: 20220909

Log at Nextcloud server:

[no app in context] Warning: Sabre\DAV\Exception\NotFound: File with name /Personal/Obsidian.md/Internet/Halloween.md could not be located at

 0. /home/username/web/my.server.com/public_html/3rdparty/sabre/dav/lib/DAV/Tree.php line 78
    OCA\DAV\Connector\Sabre\Directory->getChild()
 1. /home/username/web/my.server.com/public_html/apps/dav/lib/DAV/ViewOnlyPlugin.php line 75
    Sabre\DAV\Tree->getNodeForPath()
 2. /home/username/web/my.server.com/public_html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    OCA\DAV\DAV\ViewOnlyPlugin->checkViewOnly()
 3. /home/username/web/my.server.com/public_html/3rdparty/sabre/dav/lib/DAV/Server.php line 472
    Sabre\DAV\Server->emit()
 4. /home/username/web/my.server.com/public_html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 251
    Sabre\DAV\Server->invokeMethod()
 5. /home/username/web/my.server.com/public_html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    Sabre\DAV\CorePlugin->httpHead()
 6. /home/username/web/my.server.com/public_html/3rdparty/sabre/dav/lib/DAV/Server.php line 472
    Sabre\DAV\Server->emit()
 7. /home/username/web/my.server.com/public_html/3rdparty/sabre/dav/lib/DAV/Server.php line 253
    Sabre\DAV\Server->invokeMethod()
 8. /home/username/web/my.server.com/public_html/3rdparty/sabre/dav/lib/DAV/Server.php line 321
    Sabre\DAV\Server->start()
 9. /home/username/web/my.server.com/public_html/apps/dav/lib/Server.php line 358
    Sabre\DAV\Server->exec()
10. /home/username/web/my.server.com/public_html/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
11. /home/username/web/my.server.com/public_html/remote.php line 166
    require_once("/home/username ... p")