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! While you're at it, check out some resources Treehouse students have shared here.

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

Android Build a Blog Reader Android App Adapting Data for Display in a List Finishing Our AsyncTask

JSONException: Unterminated string at character 6329 of ....

My LogCat gives me a dump of the data I was expecting but it is in an error, not the Log.d I wrote.

The error is above.

Is there any way to correct this which, I assume, is a problem with the URL data - or is this actually my code that's wrong?



The error is in the first try/catch block in the code, it is a General Exception from the third

``` .
Andres Mendoza
Andres Mendoza
3,088 Points

can you post code snippets and the error as well? From the one line in the title it may look like bad json format

1 Answer

Ben Jakuben
Ben Jakuben
Treehouse Teacher

This is usually related to the same bug talked about in the Teacher's Notes of this video. Try swapping out the code for the new version as detailed in this post and see if it fixes your issue.