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

error calling MarshalJSON for type ocmd.Protocols #3769

Closed
michielbdejong opened this issue Apr 4, 2023 · 1 comment · Fixed by #3770
Closed

error calling MarshalJSON for type ocmd.Protocols #3769

michielbdejong opened this issue Apr 4, 2023 · 1 comment · Fixed by #3770

Comments

@michielbdejong
Copy link
Contributor

internal/grpc/services/ocmshareprovider/ocmshareprovider.go:326

>> ocm-share-create -grantee lopresti -idp sm1.cernbox.cern.ch /home/testing
error: code=CODE_INTERNAL msg="json: error calling MarshalJSON for type ocmd.Protocols: no protocol defined" support_trace="ee6121baee55b428ebc03b2eccc3a45c"
@glpatcern
Copy link
Member

I think we have to fix the CLI, the backend is "just" telling that there's no protocol defined in the request.

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

Successfully merging a pull request may close this issue.

2 participants