-
Notifications
You must be signed in to change notification settings - Fork 85
All requests returning null #53
Comments
After a bit more investigation, the issue seems to be caused by the version of Json.NET (4.5.11) included in the default MVC web project. Updating the Json.NET package resolves the issue. The exception thrown inside RestSharp is:
The issue can be reproduced by the following (Assuming VS2013):
Hope this helps! |
Thanks so much for this! I just spent way too much time going down a rabbit hole trying to figure this one out. |
What version of Newtonsoft.Json did you use? I had nulls with 4.5.1 and nothing changed after I upgraded to 6.0.6
Just tried to debug Trello.NET source code and got an exception
So it looks like this issue might be related to #57 |
@takemyoxygen Not entirely sure on the version - It would have been the latest version at that date. Though from what I can tell, I think the issue you're experiencing is due to something different. I did notice there have been a number of PRs submitted to address the new label colors (#61, #58) but the maintainer has yet to respond to either. Perhaps you could could merge them into your own build and see if that resolves things. |
@takemyoxygen So it is - missed that one! Glad it's sorted 😄 |
Since it's been a couple days and we needed this fix for work, we pushed up a version to NuGet with takemyoxygen's fix: https://www.nuget.org/packages/TrelloNet.Temp.Fork/ I'm planning on taking it down once dillenmeister pushes up a fixed version but just figured I would share in case someone needed the fix now. |
Hi James, |
We're using the DLLs in production at the moment without issue and our On Mon, Dec 29, 2014 at 11:16 AM, Julien Patte [email protected]
|
Facing the same issue, seems to be related with board objects only But: Any solution yet? TrelloNet: 0.6.2. |
I am currently having to use the "Trello.NET (temp fork)" package which seems to have this fix (or at least from the api calls I am using so far). Is there any time-scale on this getting folded in? Thanks, |
No idea. I'm the one that pushed that package up because I figured that dillenmeister would have a fix in a month or two and we just needed something where I worked right then and there (I was going to hide it once this was patched up). But this project hasn't been updated in about a year so no idea if he's going to update this or not. A couple people where I work tried contacting him also to see if we could help out but didn't get a response. So maybe dead project? Maybe he's really busy? Not sure at this point. |
Thanks jacraig for letting me know and good work with the fix it's been very helpful. Would be nice if the project can be kept alive somehow or revived in a different location but I'm new to github so not sure how any of that could work. |
Thanks! I used the Edge version - was that correct? |
i updated my JSON package with the command
now i'm able to call some functions:
I still get null sets for:
If I pass my board id to the test API using my key and token i get a result. So I think I'm not crazy. |
Amazingly, I didn't realize this code hasn't been updated since 2014. Other people have suggested Manatee.Trello or using the "Edge" version on NuGet. I'm going to try manatee. It was last updated in June 2017 as of this comment. |
Hi there,
I've tried a number of the examples from the wiki, and am unfortunately unable to get any usable data back from the API. I've debugged the request itself and can definitely see the raw JSON coming back, so maybe be an issue deserializing the response?
Simplified example:
The text was updated successfully, but these errors were encountered: