-
Notifications
You must be signed in to change notification settings - Fork 32
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
shareapi.getShares date Deserializing Error #2405
Comments
Thanks for reporting, can you share the steps for reproducing this error? What endpoints did you call? |
I need more information to figure out what is going wrong. |
To be clear: I expect this to be an upstream issue in the code, not in the OpenAPI documentation or this project. |
I create share on web (not flutter),and use share api on windows desktop, the label is null |
What Nextcloud version are you running and how exactly did you configure the share |
Ok I was able to reproduce the problem. When the share is created and returned the label is an empty string as expected, but when querying the shares afterwards then the label is null. |
This was actually a bug in the code and not just the API documentation: nextcloud/server#48673 |
Deserializing to 'ShareapiGetSharesResponseApplicationJson_Ocs' failed due to: Deserializing to 'BuiltList' failed due to: Deserializing to 'Share' failed due to: Tried to construct class "Share" with null for non-nullable field "label".
The lable of data will be null, but in nextcloud SDK check it non-nullable
The text was updated successfully, but these errors were encountered: