Title: Feed not loading with SyntaxError: JSON.parse
Last modified: October 28, 2018

---

# Feed not loading with SyntaxError: JSON.parse

 *  Resolved [marger](https://wordpress.org/support/users/marger/)
 * (@marger)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/feed-not-loading-with-syntaxerror-json-parse/)
 * Hi,
 * I’ve been using this plugin for 1.5 to 2 years. Today I found out the feed no
   longer loads, but the problem may have started occurring somewhere in the past
   few months.
 * I tried the tips in [https://smashballoon.com/instagram-feed/support/faq/](https://smashballoon.com/instagram-feed/support/faq/)
   and all I can turn up is a console error concerning the feed itself (with caching
   plugins disabled):
 *     ```
       JQMIGRATE: Migrate is installed, version 1.4.1 jquery-migrate.min.js:2:542
       SyntaxError: JSON.parse: end of data while reading object contents at line 1 column 2 of the JSON data[Learn More] sb-instagram.min.js:12:132
       sbi_init/</<
       http://howwonderfullifeis.com/assets/plugins/instagram-feed/js/sb-instagram.min.js:12:132
       each
       http://howwonderfullifeis.com/wp-includes/js/jquery/jquery.js:2:2879
       each
       http://howwonderfullifeis.com/wp-includes/js/jquery/jquery.js:2:844
       sbi_init/<
       http://howwonderfullifeis.com/assets/plugins/instagram-feed/js/sb-instagram.min.js:12:100
       sbiCreatePage
       http://howwonderfullifeis.com/assets/plugins/instagram-feed/js/sb-instagram.min.js:12:216
       sbi_init
       http://howwonderfullifeis.com/assets/plugins/instagram-feed/js/sb-instagram.min.js:12:47
       <anonymous>
       http://howwonderfullifeis.com/assets/plugins/instagram-feed/js/sb-instagram.min.js:71:66
       i
       http://howwonderfullifeis.com/wp-includes/js/jquery/jquery.js:2:27444
       fireWith
       http://howwonderfullifeis.com/wp-includes/js/jquery/jquery.js:2:28213
       ready
       http://howwonderfullifeis.com/wp-includes/js/jquery/jquery.js:2:30004
       K
       http://howwonderfullifeis.com/wp-includes/js/jquery/jquery.js:2:30366
       ```
   
 * I’m not filtering any posts from the feed and just the default shortcode. Also
   I never changed any settings after it ran fine before. Can you find out how I
   can fix the feed?
    -  This topic was modified 7 years, 5 months ago by [marger](https://wordpress.org/support/users/marger/).
    -  This topic was modified 7 years, 5 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffeed-not-loading-with-syntaxerror-json-parse%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [Craig at Smash Balloon](https://wordpress.org/support/users/craig-at-smash-balloon/)
 * (@craig-at-smash-balloon)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/feed-not-loading-with-syntaxerror-json-parse/#post-10824592)
 * Hey marger,
 * Sorry for the issue here! Could you try disabling Autoptomize to see if it makes
   a difference? Even if it doesn’t, can you leave it disabled and let me know so
   I can take another look?
 * – Craig
 *  Thread Starter [marger](https://wordpress.org/support/users/marger/)
 * (@marger)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/feed-not-loading-with-syntaxerror-json-parse/#post-10825224)
 * Hi Craig,
 * thanks for your reply. Autoptimize is now disabled. For me it doesn’t make a 
   difference, the output posted above was from my tests with autoptimize disabled.
 *  [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/feed-not-loading-with-syntaxerror-json-parse/#post-10826090)
 * pro-tip; you can disable Autoptimize on a per-request basis by adding `?ao_noptimize
   =1` to the URL.
 * hope this helps future debugging,
    frank (ao dev)
 *  Plugin Contributor [Craig at Smash Balloon](https://wordpress.org/support/users/craig-at-smash-balloon/)
 * (@craig-at-smash-balloon)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/feed-not-loading-with-syntaxerror-json-parse/#post-10826876)
 * Hey again marger,
 * Thanks for doing this! After taking a closer look I’m seeing that there is extra
   html added to your footer widget area #3 that is causing a problem: [https://snag.gy/bpyXm8.jpg](https://snag.gy/bpyXm8.jpg)
 * Try removing the following from footer widget #3 (you can replace it with a shortcode
   if you’d like to add a 2nd feed)
 * `<div id="sb_instagram" class="sbi sbi_disable_mobile sbi_col_3 sbi_small" style
   ="width:100%; padding-bottom: 14px; " data-id="1333862419" data-num="6" data-
   res="auto" data-cols="3" data-options="{"sortby": "none", "headercolor": "", "
   imagepadding": "7"}"><div id="sbi_load"><div class="sbi_follow_btn"><a href="
   https://www.instagram.com/how.wonderful.life.is/" style="" target="_blank"><i
   class="fa fa-instagram"></i>Follow on Instagram</a></div></div></div>`
 * Thanks,
 * Craig
 *  Thread Starter [marger](https://wordpress.org/support/users/marger/)
 * (@marger)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/feed-not-loading-with-syntaxerror-json-parse/#post-10827353)
 * Awesome, that did the trick! I wasn’t even aware of that extra HTML so this would’ve
   taken me ages to track down myself. Thanks so much Craig!
 * And thanks to Frank for that pro-tip on Autoptimize, it might come in handy in
   the future.
    -  This reply was modified 7 years, 5 months ago by [marger](https://wordpress.org/support/users/marger/).

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Feed not loading with SyntaxError: JSON.parse’ is closed to new replies.

 * ![](https://ps.w.org/instagram-feed/assets/icon-256x256.png?rev=2700807)
 * [Smash Balloon Social Photo Feed – Easy Social Feeds Plugin](https://wordpress.org/plugins/instagram-feed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/instagram-feed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/instagram-feed/)
 * [Active Topics](https://wordpress.org/support/plugin/instagram-feed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/instagram-feed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/instagram-feed/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [marger](https://wordpress.org/support/users/marger/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/feed-not-loading-with-syntaxerror-json-parse/#post-10827353)
 * Status: resolved