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
{{ message }}
This repository was archived by the owner on Nov 29, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 29, 2021. It is now read-only.
Delta call fails when entries in return from Dropbox is [<path>, null] #68
This response indicates the path was deleted from Dropbox
I think this may actually be an issue with RestSharp not handling the null because the error occurs in the RestSharp library (JsonDeserializer.BuildList line 212). I guess json.net was handling this and they aren't.
Edit:
I've hacked a fix in RestSharp to get around it on aforementioned line by checking for null and add null to the list if it is null. I'll submit this to RestSharp as it is really their issue, but it is breaking your library.
in RestSharp JsonDeserializer.BuildList(Type, object) line 212. I've changed it to
if (element == null)
list.Add(null);
else
list.Add(element.ToString());
Activity
prashantvc commentedon May 21, 2012
If it not big one could you post the code here? I will try to get it working on DropNet.
Ian1971 commentedon May 21, 2012
in RestSharp JsonDeserializer.BuildList(Type, object) line 212. I've changed it to
if (element == null)
list.Add(null);
else
list.Add(element.ToString());
and it seems to work ok.