You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Share virtual drive with other users return 500 status code
Similar type of bug: #8494
Steps to reproduce
create user dummy and sammy
user sammy sends share invite on Share/Virtual drive to user dummy https://localhost:9200/graph/v1beta1/drives/{drive-item}/items/{item-id}/invite
(item-id will be <oc:fileid> from api response of propfind on user sammy virtual-drive-id)
Hm, I think for the user of the graph service returning a 400 (Bad Request) or 405 (Method not allowed) would be more helpful in this special case. The 500 is coming from the sharestorageprovider, because that one does not implement the AddGrant Method. But that is an implementation detail that is not relevant for the user of the graph API.
Describe the bug
Share virtual drive with other users return 500 status code
Similar type of bug: #8494
Steps to reproduce
dummy
andsammy
sammy
sends share invite on Share/Virtual drive to userdummy
https://localhost:9200/graph/v1beta1/drives/{drive-item}/items/{item-id}/invite
(
item-id
will be<oc:fileid>
from api response of propfind on usersammy
virtual-drive-id)Expected behavior
status code should be 4xx rather than 5xx with better error message
Actual behavior
500 status code is returned
Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: