# Nextcloud Cloud Storage generates invalid WebDAV path

**URL:** <https://forum.emclient.com/t/nextcloud-cloud-storage-generates-invalid-webdav-path/117991>\
**Category:** Uncategorized\
**Created:** [August 12, 2026, 3:34pm UTC](https://forum.emclient.com/t/nextcloud-cloud-storage-generates-invalid-webdav-path/117991 "2026-08-12T15:34:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![janne.bettray](https://forum.emclient.com/letter_avatar_proxy/v4/letter/j/e5b9ba/32.png) [@janne.bettray](https://forum.emclient.com/u/janne.bettray)\
**Post date:** [August 12, 2026, 3:34pm UTC](https://forum.emclient.com/t/nextcloud-cloud-storage-generates-invalid-webdav-path/117991/1 "2026-08-12T15:34:46Z")

</div>

I am experiencing a reproducible issue with the Nextcloud Cloud Storage integration in eM Client on Windows.

**Problem**

Uploading an email attachment via the configured Nextcloud Cloud Storage fails with:

> Uploading to cloud storage failed.

Regular email attachments work without any issues. Direct WebDAV access to the same Nextcloud instance also works.

I have already:

- removed and re-added the Nextcloud Cloud Storage provider
- tested with an app password
- tested different login identifiers, including the actual Nextcloud UID
- verified that authentication against Nextcloud succeeds
- verified that normal WebDAV access works

**What I found in the eM Client Nextcloud CloudStorage log**

eM Client successfully discovers/uses a DAV home based on the Nextcloud UID, similar to:

```auto
/remote.php/dav/files/E4FE6A44-5975-4C5C-B862-3AE7019BA909/

```

However, when accessing the attachment folder, eM Client appears to append another complete DAV path to this DAV home:

```auto
remote.php/dav/files/janne.bettray/eM Client Anhänge/

```

This results in a request path effectively looking like:

```auto
/remote.php/dav/files/E4FE6A44-5975-4C5C-B862-3AE7019BA909/remote.php/dav/files/janne.bettray/eM Client Anhänge/

```

Nextcloud consequently returns:

```auto
404 Not Found
Sabre\DAV\Exception\NotFound
File with name //remote.php could not be located

```

eM Client subsequently attempts an `MKCOL` , which fails with:

```auto
409 Conflict
Sabre\DAV\Exception\Conflict
Parent node does not exist

```

Authentication itself appears to be successful. The Nextcloud response also contains the correct user ID.

The Nextcloud provider configuration in eM Client only shows the server:

```auto
https://cloud.horn-company.de

```

There is no configurable WebDAV path or attachment-folder path in the UI, so I cannot correct the duplicated path manually.

**Expected behavior**

I would expect eM Client to use the discovered DAV home and append only the attachment directory, e.g.:

```auto
/remote.php/dav/files/<Nextcloud-UID>/eM Client Anhänge/

```

instead of appending a second `/remote.php/dav/files/<username>/` path.

Could you please check whether this is a bug in the Nextcloud Cloud Storage integration, particularly when the Nextcloud internal user ID/UID differs from the login name?

I can provide the complete `Nextcloud CloudStorage.log` showing the PROPFIND/MKCOL requests and Nextcloud responses if required.
