Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Harry James14,780 Points
[Resolved] JSONException - Blog Reader app
[Resolved] Hubert's fix at https://teamtreehouse.com/forum/trying-to-retrieve-data-from-my-own-blog-help worked for me and if anybody else has the issue, I'd recommend his fix! :)
Hello Ben Jakuben - I'm having an issue where I get a JSONException when I try to retrieve the data from the Treehouse Blog API. I heard that previous users had this problem and that you released a fix video which had apparently put an end to the issue. However, I've ended up having this problem after following the latest video. Is this a problem with my code or is it a problem with the Treehouse Blog JSON page?
My program Posted on Pastebin to shorten this post: http://pastebin.com/mVHX4zY2
LogCat error report Posted on Pastebin to shorten this post: http://pastebin.com/8STwXBqv
Thanks in advance!
Update: I have tried this a few times and actually, the exception occurs at different times. I usually get the error at character 5728 but here I got at character 1625!?
Ben JakubenTreehouse Teacher
Glad you got it working! That solution is linked in the Teacher's Notes, too. I'm soon to record a new version of this course, too! :)