Closed saw-jan closed 3 months ago
Deleting a share using ocis selector returns 998 error but the share is deleted.
ocis
998 error
curl -XPOST -ueinstein:relativity "https://host.docker.internal:9200/ocs/v1.php/apps/files_sharing/api/v1/shares" \ -H"Cookie:owncloud-selector=ocis;path=/;" \ -d"shareType=0;shareWith=marie;path=Folder1"
curl -XPOST -ueinstein:relativity "https://host.docker.internal:9200/ocs/v1.php/apps/files_sharing/api/v1/shares/1" \ -H"Cookie:owncloud-selector=ocis;path=/;"
<?xml version="1.0" encoding="UTF-8"?> <ocs> <meta> <status>error</status> <statuscode>998</statuscode> <message>not found</message> </meta> </ocs>
curl -XPOST -ueinstein:relativity "https://host.docker.internal:9200/ocs/v1.php/apps/files_sharing/api/v1/shares?shared_with_others=true&state=all" \ -H"Cookie:owncloud-selector=ocis;path=/;"
to get 204 response code
204
return 200 http response with 998 ocs error
200
998
oc10-ocis parallel deployment STORAGE_USERS_DRIVER: owncloudsql SHARING_USER_DRIVER: owncloudsql
oc10-ocis
owncloudsql
Not going to happen. So closing here.
Describe the bug
Deleting a share using
ocis
selector returns998 error
but the share is deleted.Steps to reproduce
Expected behavior
to get
204
response codeActual behavior
return
200
http response with998
ocs errorSetup
oc10-ocis
parallel deployment STORAGE_USERS_DRIVER:owncloudsql
SHARING_USER_DRIVER:owncloudsql