Skip to content

Uploading videos as unauthenticated users via shared link fails #1634

@mimedo

Description

@mimedo

Describe the bug

I created a shared link in Memories to give to my family members to upload their media (https://mydomain.com/apps/memories/s/jk76wLMdGMrTJ3k). Uploading pictures works great as an annonymous user. I figured out that when a video file (e.g. mp4) is uploaded, the MKCOL request (https://mydomain.com/public.php/dav/uploads/null/web-file-upload-bab1ada794c1b651) fails with 503 Service unavailable. I guess because the user is not authenticated and therefore it tries to put null.
To verify my assumption I logged in into my account and tried to upload through the same link and it worked with my username correctly put into the MKCOL request.

To narrow the problem down to Memories I tried to upload via the native shared link from nextcloud (https://mydomain.com/s/jk76wLMdGMrTJ3k) and I could verify in Network tab that the MKCOL request is succesful by putting the token into the url, e.g. https://mydomain.com/public.php/dav/uploads/jk76wLMdGMrTJ3k/web-file-upload-0001f2012ed4384b.

I guess Memories doesn't take the TOKEN and therefore it fails with null.

Steps To Reproduce

  1. Share a folder in Memories
  2. Open the shared link in Incognito (to simulate a user without authentication)
  3. Upload videos (.mp4)
  4. Error in Network tab, 503 Service unavailable MKCOL

Platform

- OS: Windows
- Browser: Chrome
- Memories Version: 7.8.2
- Nextcloud Version: 32.0.6
- PHP Version: 8.4.16

Screenshots

No response

Additional context

Errors in Logs:

Time : March 9, 2026 - 5:38:17 PM UTC* IP :192.168.0.96* User :--* App :webdav* Method :MKCOL* URL :/public.php/dav/uploads/null/web-file-upload-bab1ada794c1b651*
Reason :Sabre\DAV\Exception\NotFound:

Time : March 9, 2026 - 5:38:17 PM UTC* IP :192.168.0.96* User :--* App :no app in context* Method :MKCOL* URL :/public.php/dav/uploads/null/web-file-upload-bab1ada794c1b651*
Reason :Exception thrown: Sabre\DAV\Exception\NotFound

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions