Title: Error: Failed to JSON.parse
Last modified: October 31, 2024

---

# Error: Failed to JSON.parse

 *  Resolved [phil381](https://wordpress.org/support/users/phil381/)
 * (@phil381)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/error-failed-to-json-parse/)
 * Hi,
   When I try to regenerate the CSS in Jetpack boost, I get the following error
   message:Error: Failed to JSON.parse() the response from the server.
 * Someone can help me?
 * Thanks,
 * Philippe

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/error-failed-to-json-parse/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-failed-to-json-parse/page/2/?output_format=md)

 *  Plugin Author [Adnan Haque (a11n)](https://wordpress.org/support/users/adnan007/)
 * (@adnan007)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/error-failed-to-json-parse/#post-18108708)
 * Hi Philippe!
 * Can you please share the URL of your site?
 *  Thread Starter [phil381](https://wordpress.org/support/users/phil381/)
 * (@phil381)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/error-failed-to-json-parse/#post-18108882)
 * Hi
 * Yes, it’s [https://cybersafeassociation.blog/](https://cybersafeassociation.blog/)
 *  Plugin Support [Stef (a11n)](https://wordpress.org/support/users/erania-pinnera/)
 * (@erania-pinnera)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/error-failed-to-json-parse/#post-18117323)
 * Hi [@phil381](https://wordpress.org/support/users/phil381/),
 * I don’t seem to see any Jetpack plugin installed and activated on your end. Can
   you confirm that you are connected to Jetpack at all? 
   In case you only have 
   Boost active in your site at the moment, it’d be useful for our investigation
   if you can temporarily [install also the Jetpack plugin](https://jetpack.com/support/getting-started-with-jetpack/#install-jetpack).
 * Let us know when you’re done, and thanks for sorting this out with us!
 *  Thread Starter [phil381](https://wordpress.org/support/users/phil381/)
 * (@phil381)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/error-failed-to-json-parse/#post-18117620)
 * Done ! I just uninstall and reinstall (and activate boost)… I have the same error
 *  Plugin Support [Stef (a11n)](https://wordpress.org/support/users/erania-pinnera/)
 * (@erania-pinnera)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/error-failed-to-json-parse/#post-18118375)
 * Hey [@phil381](https://wordpress.org/support/users/phil381/),
 * I still can’t find your site in our records, so I can’t debug your issue 🙁
 * Would you mind installing and activating the [Jetpack core plugin](https://jetpack.com/support/getting-started-with-jetpack/#install-jetpack)
   as well? It will be temporary as we tackle the issue you reported. Thanks!
 *  Thread Starter [phil381](https://wordpress.org/support/users/phil381/)
 * (@phil381)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/error-failed-to-json-parse/#post-18118736)
 * Hi,
 * All is ok on [https://jptools.wordpress.com/debug/?url=https://cybersafeassociation.blog](https://jptools.wordpress.com/debug/?url=https://cybersafeassociation.blog)
   
   All tests have passed for **cybersafeassociation.blog** and your Jetpack powered
   site looks good to go!
 * Maybe, your records use the old domain : gilletconsulting.be
 *  Plugin Support [Stef (a11n)](https://wordpress.org/support/users/erania-pinnera/)
 * (@erania-pinnera)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/error-failed-to-json-parse/#post-18119324)
 * Hey [@phil381](https://wordpress.org/support/users/phil381/),
 * That is exactly what happened: our records still got the old domain, and we struggle
   tracking down the debugger. We updated the info so it looks good at our end too.
 * Are you still having trouble regenerating the CSS with Boost? I see a little 
   connection issue happening at the moment: “cURL error 28: Operation timed out
   after 5001 milliseconds with 0 bytes received”.
 * This usually means that your web host is blocking some connections Jetpack needs
   in order to work correctly. If you still have troubles with the Boost’s CSS regeneration,
   that might be related.
 * Could you please contact your web host and ask them to make sure that the connections
   to and from *.wordpress.com are allowed and not in the blocklist? In terms of
   IP ranges, the following ranges need to be fully allowed: [https://jetpack.com/support/hosting-faq/](https://jetpack.com/support/hosting-faq/)
 * Also, check for any security/caching plugins you may have enabled, and try temporarily
   disabling them to see if it fixes the problem. You may also want to search for
   any firewall on your server-side that might be blocking the communication with
   Jetpack – your host should be able to help you with that.
 * Let me know what you find out!
 *  Thread Starter [phil381](https://wordpress.org/support/users/phil381/)
 * (@phil381)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/error-failed-to-json-parse/#post-18119671)
 * I don’t find the IP range needed. Please send me the right links to find it
 *  Plugin Support [Stef (a11n)](https://wordpress.org/support/users/erania-pinnera/)
 * (@erania-pinnera)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/error-failed-to-json-parse/#post-18120445)
 * Hey [@phil381](https://wordpress.org/support/users/phil381/) –
 * Sure thing! Take a look at this page instead: [https://jetpack.com/support/how-to-add-jetpack-ips-allowlist/#jetpack-ips](https://jetpack.com/support/how-to-add-jetpack-ips-allowlist/#jetpack-ips)
 * Apologies for the unnecessary extra back and forth! Let us know who you get on
   🙂
 *  Thread Starter [phil381](https://wordpress.org/support/users/phil381/)
 * (@phil381)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/error-failed-to-json-parse/#post-18120686)
 * Done but I already have the problem… Also try with desactivate wordfense but 
   nothing change
 *  Plugin Support [Stef (a11n)](https://wordpress.org/support/users/erania-pinnera/)
 * (@erania-pinnera)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/error-failed-to-json-parse/#post-18120814)
 * Hi [@phil381](https://wordpress.org/support/users/phil381/),
 * I see from the working Jetpack connection that Wordfence is still active in your
   site: could you try deactivating it again and check if the json error goes away?
 * If it doesn’t, can you please temporarily deactivate all your plugins and check
   if the problem gets fixed that way? If it works, then reactivate each plugin 
   one by one to find out which one is causing problems.
 * Let me know what you find out, and we’ll take it from there if necessary. Thanks!
 *  Thread Starter [phil381](https://wordpress.org/support/users/phil381/)
 * (@phil381)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/error-failed-to-json-parse/#post-18124089)
 * it’s desactivate, nothing change
 *  Plugin Support [Stef (a11n)](https://wordpress.org/support/users/erania-pinnera/)
 * (@erania-pinnera)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/error-failed-to-json-parse/#post-18126104)
 * Hi there, [@phil381](https://wordpress.org/support/users/phil381/),
 * I am still seeing major issues with the Jetpack connection, which I still suspect
   being the main culprit of your problem.
 * I still see the following error: “cURL error 28: Operation timed out after 5000
   milliseconds with 0 bytes received”. I also checked your xmlrpc.php file, and
   it’s being blocked (I see a 403 Forbidden error)
 * You have already allowlisted our IPs range, check for any security/caching plugins
   you may have enabled, and try temporarily disabling them to see if it fixes the
   problem. You may also want to search for any firewall on your server-side that
   might be blocking the communication with the xmlrpc.php file – your host should
   be able to help you with that.
 * If that helps, Boost is already working despite this problem, and I can see that
   with Boost, your desktop score has gone up one point (from 74 to 75), and your
   mobile moved up from 34 to 37 🙂
 * Let us know how you get on with the overall Jetpack connection, and if you still
   see that JSON error at your end. Thanks!
 *  Thread Starter [phil381](https://wordpress.org/support/users/phil381/)
 * (@phil381)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/error-failed-to-json-parse/#post-18126200)
 * yes, it’s normal since I reactivated wordfense over the weekend, I’m not going
   to leave the site without security. I’ve just deactivated it
 *  Plugin Support [Stef (a11n)](https://wordpress.org/support/users/erania-pinnera/)
 * (@erania-pinnera)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/error-failed-to-json-parse/#post-18128588)
 * Hi there, [@phil381](https://wordpress.org/support/users/phil381/),
 * We still see blocks happening between your site and Jetpack – we suspect that
   is the root of the JSON error which is alaos affecting other areas of the Jetpack
   functionality.
 * I see Wordfence is deactivated and you enabled the Jetpack Protect feature instead:
   that should ensure a good protection while you keep Wordfence off 🙂
 * We need to fix the connection and make sure that the REST API can connect well,
   so we can investigate further on the Boost problem. I see there is also another
   plugin that might be affecting the connection: can you try deactivate the SiteLock
   plugin too?
 * Can you please reach out to your hosting provider and check with them if there’s
   anything else they can do to help us fix the connection? Thanks!

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/error-failed-to-json-parse/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-failed-to-json-parse/page/2/?output_format=md)

The topic ‘Error: Failed to JSON.parse’ is closed to new replies.

 * ![](https://ps.w.org/jetpack-boost/assets/icon.svg?rev=2818794)
 * [Jetpack Boost - Website Speed, Performance and Critical CSS](https://wordpress.org/plugins/jetpack-boost/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack-boost/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack-boost/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack-boost/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack-boost/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack-boost/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [json](https://wordpress.org/support/topic-tag/json/)

 * 18 replies
 * 3 participants
 * Last reply from: [Stef (a11n)](https://wordpress.org/support/users/erania-pinnera/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/error-failed-to-json-parse/page/2/#post-18147848)
 * Status: resolved