Skip to content

Sharing files fails with Wrong path, file/folder doesn't exist #15855

@dkocher

Description

@dkocher

When connected to oCIS, sharing a file fails with 404

POST /ocs/v1.php/apps/files_sharing/api/v1/shares?path=/remote.php/webdav/sad_mac_%28white%29.jpg&shareType=3&shareWith= HTTP/1.1
OCS-APIRequest: true
Accept: application/xml
Content-Length: 0
Host: ocis.ocis-keycloak.latest.owncloud.works
Connection: Keep-Alive
User-Agent: Cyberduck/8.8.3.41360 (Mac OS X/14.4.1) (aarch64)
Accept-Encoding: gzip,deflate
Authorization: Bearer ***

HTTP/1.1 200 OK
Content-Length: 175
Content-Type: text/xml; charset=utf-8
Date: Fri, 19 Apr 2024 10:14:45 GMT
Ocs-Api-Version: 1
Vary: Origin
X-Request-Id: 3c9a7676557b/HgcReilixE-000077

<?xml version="1.0" encoding="UTF-8"?>
<ocs><meta><status>failure</status><statuscode>404</statuscode><message>Wrong path, file/folder doesn&#39;t exist</message></meta></ocs>

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions