Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 error when creating same share twice #217

Open
michielbdejong opened this issue Jun 14, 2023 · 0 comments
Open

500 error when creating same share twice #217

michielbdejong opened this issue Jun 14, 2023 · 0 comments

Comments

@michielbdejong
Copy link
Member

I'm using reva-cli on mesh.pondersource.org to create a share but when i accidentally try to create a share that already exists, i run into a 500 error on the second call:

ocm-share-create -grantee einstein -idp mesh.pondersource.com /home
ocm-share-create -grantee einstein -idp mesh.pondersource.com /home
am.do https://cloud.pon
dersource.org/index.php/apps/sciencemesh/~einstein/api/ocm/addSentShare
{"resourceId":{"storageId":"00000000-0000
-0000-0000-000000000000","opaqueId":"fileid-/home/"},"name":"home","token":"pxEWxswhmobCKgOKfZBEKiQHPblq5OIQ","gr
antee":{"type":"GRANTEE_TYPE_USER","userId":{"idp":"mesh.pondersource.com","opaqueId":"einstein","type":"USER_TYP
E_PRIMARY"}},"owner":{"idp":"https://mesh.pondersource.org/","opaqueId":"einstein"},"creator":{"idp":"https://mes
h.pondersource.org/","opaqueId":"einstein"},"ctime":{"seconds":"1686732523","nanos":993502366},"mtime":{"seconds"
:"1686732523","nanos":993502366},"shareType":"SHARE_TYPE_USER","accessMethods":[{"transferOptions":{}}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant