Title: json_decode error: Syntax error
Last modified: January 15, 2023

---

# json_decode error: Syntax error

 *  Resolved [jawequo](https://wordpress.org/support/users/jawequo/)
 * (@jawequo)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/json_decode-error-syntax-error-2/)
 * Hello,
 * I’m trying to connect Algolia with my new wordpress site but I’m always getting
   this error ([screenshot](https://i.imgur.com/BprCNPI.png)).
 * It used to work on my previous site with the same details. I regenerated the 
   API Keys but it didn’t help. My site is SSL based and the API Keys are all the
   right one, I double checked.
 * What can cause this?
    -  This topic was modified 3 years, 3 months ago by [jawequo](https://wordpress.org/support/users/jawequo/).
    -  This topic was modified 3 years, 3 months ago by [jawequo](https://wordpress.org/support/users/jawequo/).

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [3 years, 3 months ago](https://wordpress.org/support/topic/json_decode-error-syntax-error-2/#post-16378097)
 * Impossible for us to say without being able to access and try some things out.
 * Do you have debugging turned on and perhaps `WP_DEBUG_DISPLAY` set to true? I’m
   wondering if you have output being sent to the browser that’s perhaps invalidating
   your JSON response data somehow.

Viewing 1 replies (of 1 total)

The topic ‘json_decode error: Syntax error’ is closed to new replies.

 * ![](https://ps.w.org/wp-search-with-algolia/assets/icon-256x256.png?rev=2894668)
 * [WP Search with Algolia](https://wordpress.org/plugins/wp-search-with-algolia/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-search-with-algolia/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-search-with-algolia/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-search-with-algolia/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-search-with-algolia/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-search-with-algolia/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/json_decode-error-syntax-error-2/#post-16378097)
 * Status: resolved