{"id":52986,"date":"2022-06-14T16:33:44","date_gmt":"2022-06-14T13:33:44","guid":{"rendered":"https:\/\/themeisle.com\/blog\/?p=52986"},"modified":"2025-05-26T15:51:30","modified_gmt":"2025-05-26T12:51:30","slug":"how-to-fix-updating-failed-the-response-is-not-a-valid-json-response","status":"publish","type":"post","link":"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/","title":{"rendered":"How to Fix &#8220;Updating Failed. The Response is Not a Valid JSON Response&#8221;"},"content":{"rendered":"\n<p>So you&rsquo;re editing a post in WordPress. You hit Update, and&hellip;bam! <em>&ldquo;Updating Failed. The Response is Not a Valid JSON Response.&rdquo;<\/em><\/p>\n\n\n\n<p>No warning, no help, just a message that sounds like it came from a robot (it did). What does it even mean? And why now?<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>I&rsquo;ve seen this error show up on brand-new sites and old ones alike. It can come from a permalink glitch, a broken plugin, or even something weird with your SSL setup. Sometimes it&rsquo;s your theme. Other times it&rsquo;s your server or host. WordPress doesn&rsquo;t tell you much. So I will.<\/p>\n\n\n\n<p>In this post, I&rsquo;ll walk through every fix I know that works &ndash; starting with the simple stuff and moving to the deeper issues.<\/p>\n\n\n\n<div class=\"wp-block-group keyt\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<p><strong>Key Takeaways<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Reset your permalinks and regenerate your <code>.htaccess<\/code> file to restore proper REST API routes and resolve broken update requests.<\/li>\n\n\n\n<li>Ensure your WordPress and Site Address URLs are correct and use HTTPS if SSL is enabled, to prevent blocked or misrouted API calls.<\/li>\n\n\n\n<li>Temporarily disable plugins and switch themes to identify conflicts that might be corrupting the JSON response during post updates.<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n    \r\n    <style>\r\n        :root {\r\n        --jtoc-progress-bar-color: #4267cf;\n        }\r\n                    .wpj-jtoc.--jtoc-theme-none.--jtoc-has-custom-styles {\r\n        --jtoc-width: 100%;\n--jtoc-toc-padding: 24px;\n--jtoc-toc-border: 1px solid;\n--jtoc-toc-border-color: #dedede;\n--jtoc-background-color: #f6f7f9;\n--jtoc-header-height: 20px;\n--jtoc-header-margin: 0;\n--jtoc-header-padding: 0;\n--jtoc-title-color: #393939;\n--jtoc-title-font-size: 1.2em;\n--jtoc-title-label-font-weight: 400;\n--jtoc-body-margin: 16px 0 0 0;\n--jtoc-body-padding: 0;\n--jtoc-headings-margin: 10px 0 0 0;\n--jtoc-link-font-size: 1em;\n--jtoc-link-font-weight: 400;\n--jtoc-link-color: #848484;\n--jtoc-link-color-hover: #4a66c8;\n--jtoc-link-color-active: #4a66c8;\n        }\r\n        .--jtoc-the-content{\r\ndisplay:none;\r\n}\r\n.--jtoc-is-active>.wpj-jtoc--item-content>a:before{\r\nmargin-left:3px;\r\n}\r\n.wpj-jtoc--nav>.wpj-jtoc--items li a::before{\r\ncontent:'\\203A';\r\ndisplay:block;\r\nfloat:left;\r\nheight:100%;\r\nfont-weight:700;\r\ncolor:#4267CF;\r\nline-height: 20px;\r\nmargin-right: 3px;\r\n}\r\n.sidebar .wpj-jtoc--toc{\r\nborder:0;\r\npadding:0;\r\n}\r\n.sidebar .wpj-jtoc--header,\r\n.sidebar .wpj-jtoc--body{\r\nbackground:transparent;\r\n}\r\n\r\n.sidebar .--jtoc-is-active>.wpj-jtoc--item-content>a{\r\ntext-decoration:none;\r\n}\r\n.sidebar-left .widget-first{\r\nposition:sticky;\r\ntop:70px;\r\nmargin-bottom:1250px;\r\n}\r\n.sidebar-left{\r\ndisplay:none;\r\nmax-width:300px;\r\nposition:absolute;\r\nleft:-330px;\r\ntop:0;\r\nheight:100%;\r\n}\r\n@media only screen and (max-width: 1900px) {\r\n.single-post .sidebar-left{\r\ndisplay:none !important;\r\n}\r\n.--jtoc-the-content{\r\ndisplay:block;\r\n}\r\n@media only screen and (max-width: 400px) {\r\n.wpj-jtoc--item .wpj-jtoc--item-content{\r\nmargin-top:5px;\r\n}\r\n.wpj-jtoc--header-main .wpj-jtoc--title{\r\nfont-size:1.1em;\r\n}\r\n}    <\/style>\r\n\r\n\r\n    <!-- jtoc progress bar widget -->\r\n    <div class=\"wpj-jtoc--widget-progress --progress-top\">\r\n        <div class=\"wpj-jtoc--widget-progress-bar\"><\/div>\r\n    <\/div>\r\n\r\n<div id=\"wpj-jtoc\" class=\"wpj-jtoc wpj-jtoc--main --jtoc-the-content --jtoc-theme-none --jtoc-title-align-left --jtoc-toggle-icon --jtoc-toggle-position-right --jtoc-toggle-1 --jtoc-header-as-toggle --jtoc-headings-full-row-clickable --jtoc-floating-toc-top --jtoc-floating-has-shadow --jtoc-has-custom-styles --jtoc-is-unfolded\" >\r\n            \r\n    <!-- TOC -->\r\n    <div class=\"wpj-jtoc--toc \">\r\n                            <div class=\"wpj-jtoc--header\">\r\n                <div class=\"wpj-jtoc--header-main\">\r\n                                        <div class=\"wpj-jtoc--title\">\r\n                        <!-- <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-columns-3\"><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"\/><path d=\"M9 3v18\"\/><path d=\"M15 3v18\"\/><\/svg> -->\r\n                        <span class=\"wpj-jtoc--title-label\">Table of contents<\/span>\r\n                    <\/div>\r\n                                                        <\/div>\r\n            <\/div>\r\n                                <div class=\"wpj-jtoc--body\">\r\n                        <nav class=\"wpj-jtoc--nav\">\r\n                <ol class=\"wpj-jtoc--items\"><li class=\"wpj-jtoc--item --jtoc-h2\">\r\n        <div class=\"wpj-jtoc--item-content\" data-depth=\"2\">\r\n                        <a href=\"#h-what-is-this-error-about-really\" title=\"What is this error about, really?\" data-numeration=\"1\" >What is this error about, really?<\/a>\r\n                    <\/div> <\/li><li class=\"wpj-jtoc--item --jtoc-h2\">\r\n        <div class=\"wpj-jtoc--item-content\" data-depth=\"2\">\r\n                        <a href=\"#h-1-fix-your-permalink-settings\" title=\"1. Fix your permalink settings\" data-numeration=\"2\" >1. Fix your permalink settings<\/a>\r\n                    <\/div> <\/li><li class=\"wpj-jtoc--item --jtoc-h2\">\r\n        <div class=\"wpj-jtoc--item-content\" data-depth=\"2\">\r\n                        <a href=\"#h-2-generate-a-new-htaccess-file\" title=\"2. Generate a new .htaccess file\" data-numeration=\"3\" >2. Generate a new .htaccess file<\/a>\r\n                    <\/div> <\/li><li class=\"wpj-jtoc--item --jtoc-h2\">\r\n        <div class=\"wpj-jtoc--item-content\" data-depth=\"2\">\r\n                        <a href=\"#h-3-check-your-wordpress-site-address-settings\" title=\"3. Check your WordPress site address settings\" data-numeration=\"4\" >3. Check your WordPress site address settings<\/a>\r\n                    <\/div> <\/li><li class=\"wpj-jtoc--item --jtoc-h2\">\r\n        <div class=\"wpj-jtoc--item-content\" data-depth=\"2\">\r\n                        <a href=\"#h-4-fix-mixed-content-warnings-problems-with-ssl\" title=\"4. Fix \u201cmixed content\u201d warnings\/problems with SSL\" data-numeration=\"5\" >4. Fix \u201cmixed content\u201d warnings\/problems with SSL<\/a>\r\n                    <\/div> <\/li><li class=\"wpj-jtoc--item --jtoc-h2\">\r\n        <div class=\"wpj-jtoc--item-content\" data-depth=\"2\">\r\n                        <a href=\"#h-5-look-for-security-plugins-interfering\" title=\"5. Look for security plugins interfering\" data-numeration=\"6\" >5. Look for security plugins interfering<\/a>\r\n                    <\/div> <\/li><li class=\"wpj-jtoc--item --jtoc-h2\">\r\n        <div class=\"wpj-jtoc--item-content\" data-depth=\"2\">\r\n                        <a href=\"#h-6-deal-with-other-plugin-conflicts\" title=\"6. Deal with other plugin conflicts\" data-numeration=\"7\" >6. Deal with other plugin conflicts<\/a>\r\n                    <\/div> <\/li><li class=\"wpj-jtoc--item --jtoc-h2\">\r\n        <div class=\"wpj-jtoc--item-content\" data-depth=\"2\">\r\n                        <a href=\"#h-7-your-active-theme-can-also-conflict\" title=\"7. Your active theme can also conflict\" data-numeration=\"8\" >7. Your active theme can also conflict<\/a>\r\n                    <\/div> <\/li><li class=\"wpj-jtoc--item --jtoc-h2\">\r\n        <div class=\"wpj-jtoc--item-content\" data-depth=\"2\">\r\n                        <a href=\"#h-8-check-for-server-configuration-and-hosting-issues\" title=\"8. Check for server configuration and hosting issues\" data-numeration=\"9\" >8. Check for server configuration and hosting issues<\/a>\r\n                    <\/div> <\/li><li class=\"wpj-jtoc--item --jtoc-h2\">\r\n        <div class=\"wpj-jtoc--item-content\" data-depth=\"2\">\r\n                        <a href=\"#h-final-thoughts-on-this-error\" title=\"Final thoughts on this error\" data-numeration=\"10\" >Final thoughts on this error<\/a>\r\n                    <\/div> <\/li><\/ol>            <\/nav>\r\n                                                        <\/div>\r\n            <\/div>\r\n<\/div>\r\n\n\n\n<h2 class=\"wp-block-heading joli-heading jtoc-heading\" id=\"h-what-is-this-error-about-really\">What is this error about, really?<\/h2>\n\n\n\n<p>In most cases, the error occurs when WordPress fails to get a proper response from the server when saving or updating your blog content. In other words, you&rsquo;re working on a post, try to save it but can&rsquo;t.<\/p>\n\n\n\n<p>When dealing with the <a href=\"https:\/\/themeisle.com\/blog\/what-is-gutenberg\/\">block editor<\/a> specifically, WordPress communicates with your server in the background via the <a href=\"https:\/\/themeisle.com\/blog\/wordpress-rest-api\/\">REST API<\/a>, expecting to receive JSON data.<\/p>\n\n\n\n<p>However, if the response is missing or malformed (for example, due to a server error or a blocked request), the editor will show this JSON error message (<em>&ldquo;Updating failed. The response is not a valid JSON response.&rdquo;<\/em>) instead of saving your post.<\/p>\n\n\n\n<p>The good news is that there are a couple of fixes you can do to get rid of that error:<\/p>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading joli-heading jtoc-heading\" id=\"h-1-fix-your-permalink-settings\">1. Fix your permalink settings<\/h2>\n\n\n\n<p><em>&ldquo;Why would my permalinks be broken?&rdquo;<\/em> &ndash; you&rsquo;re asking. Sure, you haven&rsquo;t done anything to break them, but there are still a couple of things that might be happening.<\/p>\n\n\n\n<p>Chiefly, the permalinks can be altered by third-party plugin settings or site updates. There&rsquo;s nothing bad or tricky going on; it&rsquo;s just that you might have to reset your permalinks from time to time. This simple action restores the right settings in the WordPress database.<\/p>\n\n\n\n<p>In fact, misconfigured permalinks are one of the most common causes of the JSON response error.<\/p>\n\n\n<div class=\"su-spoiler su-spoiler-style-fancy su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span><strong>Why this causes the error? CLICK<\/strong> <\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n\n\n\n<p>The block editor&rsquo;s save request is sent to an endpoint like <code>\/wp-json\/...<\/code>. Broken permalinks can make that URL invalid (resulting in a 404 or other non-JSON response). WordPress struggles to connect with your server properly when permalink rules aren&rsquo;t working, leading to the JSON error.<\/p>\n\n\n<\/div><\/div>\n\n\n\n<p>All you do to fix it is go to <strong>Settings &rarr; Permalink<\/strong>, scroll down and hit the <strong>Save Changes<\/strong> button. Yes, you&rsquo;re not actually changing any settings &ndash; just reconfirming what&rsquo;s already there.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full blog-img-std\"><img data-opt-id=1850643964  fetchpriority=\"high\" decoding=\"async\" width=\"1363\" height=\"815\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/permalinks.png\" alt=\"permalinks\" class=\"wp-image-111693\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1363\/h:815\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/permalinks.png 1363w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:179\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/permalinks.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:612\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/permalinks.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:459\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/permalinks.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:30\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/permalinks.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:401\/h:240\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/permalinks.png 401w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:664\/h:397\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/permalinks.png 664w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1003\/h:600\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/permalinks.png 1003w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:248\/h:148\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/permalinks.png 248w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:326\/h:195\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/permalinks.png 326w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:226\/h:135\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/permalinks.png 226w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1363\/h:815\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/permalinks.png 2x\" sizes=\"(max-width: 700px) 100vw, 700px\"><\/figure>\n\n\n\n<p>Now go back to your editor and check if the error is gone.<\/p>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading joli-heading jtoc-heading\" id=\"h-2-generate-a-new-htaccess-file\">2. Generate a new .htaccess file<\/h2>\n\n\n\n<p>On Apache servers, WordPress uses a file called <code>.htaccess<\/code> to define URL rewrite rules for your permalinks (learn more about that file <a href=\"https:\/\/themeisle.com\/blog\/htaccess-file-in-wordpress\/\">here<\/a>). If htaccess has the wrong rules or wasn&rsquo;t updated properly, the REST API endpoints may not resolve, causing the &ldquo;invalid JSON response&rdquo; error.<\/p>\n\n\n\n<p>In short, a bad <code>.htaccess<\/code> can break your permalinks and the REST API altogether.<\/p>\n\n\n\n<p>To fix this, you&rsquo;ll need to regenerate a fresh <code>.htaccess<\/code> with the correct rules. Now, this sounds a bit intimidating perhaps, but WordPress can actually do this automatically. Here&rsquo;s how to get it done:<\/p>\n\n\n\n<p>First, delete the current <code>.htaccess<\/code> file. To do that, connect to your website via FTP. <a href=\"https:\/\/themeisle.com\/blog\/what-is-ftp-wordpress\/\">This guide<\/a> will help you do that if you&rsquo;re not sure how.<\/p>\n\n\n\n<p>Go to the main folder where your WordPress installation is kept and simply delete the <code>.htaccess<\/code> file.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full blog-img-std\"><img data-opt-id=1611974483  fetchpriority=\"high\" decoding=\"async\" width=\"1031\" height=\"876\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deleting-htacess-file-in-filezilla.png\" alt=\"deleting htacess file in filezilla\" class=\"wp-image-112066\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1031\/h:876\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deleting-htacess-file-in-filezilla.png 1031w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:255\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deleting-htacess-file-in-filezilla.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:870\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deleting-htacess-file-in-filezilla.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:653\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deleting-htacess-file-in-filezilla.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:42\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deleting-htacess-file-in-filezilla.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:282\/h:240\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deleting-htacess-file-in-filezilla.png 282w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:467\/h:397\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deleting-htacess-file-in-filezilla.png 467w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:706\/h:600\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deleting-htacess-file-in-filezilla.png 706w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:174\/h:148\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deleting-htacess-file-in-filezilla.png 174w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:230\/h:195\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deleting-htacess-file-in-filezilla.png 230w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:159\/h:135\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deleting-htacess-file-in-filezilla.png 159w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1031\/h:876\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deleting-htacess-file-in-filezilla.png 2x\" sizes=\"(max-width: 700px) 100vw, 700px\"><\/figure>\n\n\n\n<p>Next, regenerate the <code>.htaccess<\/code> file. For this, simply jump back into the permalinks settings again and reset them. Go to <strong>Settings &rarr; Permalink<\/strong> in your WordPress dashboard. Scroll down and click the <strong>Save Changes<\/strong> button. This will force WordPress to create a new <code>.htaccess<\/code> file.<\/p>\n\n\n\n\t\t<div class=\"ti-tweet-clear\"><\/div>\n\t\t\t<div class=\"ti-tweet_wrapper\">\n\t\t    \t<div class=\"ti-tweet_text\">\n\t\t    \t\t<a href=\"https:\/\/twitter.com\/share?text=How+to+%23fix+%23error%3A+%27The+response+is+not+a+valid+JSON+response%27+%F0%9F%90%9B&amp;via=themeisle&amp;related=themeisle&amp;url=https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/\" target=\"_blank\" rel=\"nofollow\">How to #fix #error: 'The response is not a valid JSON response' &#128027;<\/a>\n\t\t    \t<\/div>\n\t\t    \t<div class=\"ti-tweet_sharebtn\">\n\t\t    \t<a href=\"https:\/\/twitter.com\/share?text=How+to+%23fix+%23error%3A+%27The+response+is+not+a+valid+JSON+response%27+%F0%9F%90%9B&amp;via=themeisle&amp;related=themeisle&amp;url=https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/\" target=\"_blank\" rel=\"nofollow\">Click To Tweet \n\t\t    \t\t<span><\/span>\n\t\t    \t<\/a>\n\t\t    <\/div>\n\t\t<\/div>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading joli-heading jtoc-heading\" id=\"h-3-check-your-wordpress-site-address-settings\">3. Check your WordPress site address settings<\/h2>\n\n\n\n<p>Most sites shouldn&rsquo;t be suffering from this issue. However, just to be sure, it&rsquo;s important to check that your <strong>WordPress Address (URL)<\/strong> and <strong>Site Address (URL)<\/strong> settings are configured correctly. If these URLs are wrong; for example, pointing to your old domain (after domain changes), subfolder, or not correctly assigned to HTTP\/HTTPS protocol, then this can disrupt the REST API and cause the JSON error.<\/p>\n\n\n<div class=\"su-spoiler su-spoiler-style-fancy su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span><strong>Why this causes the error? CLICK<\/strong> <\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n\n\n\n<p>The block editor uses the site&rsquo;s base URL to call the REST API. If WordPress is configured with an address that doesn&rsquo;t match your actual site URL, the editor might be making requests to the wrong location. This could result in a failure to connect or a redirect. For instance, if one URL is <code>http<\/code> and the site is actually on <code>https<\/code>, the browser may block the request as an <a href=\"https:\/\/themeisle.com\/blog\/ssl-certificate-errors\/\">SSL security issue<\/a>, or the REST endpoint might redirect&hellip;either case returns no valid JSON to the editor.<\/p>\n\n\n<\/div><\/div>\n\n\n\n<p>To set things right, go to <strong>Settings &rarr; General<\/strong>, and you should be able to see the two following fields:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>WordPress Address (URL)<\/strong><\/li>\n\n\n\n<li><strong>Site Address (URL)<\/strong><\/li>\n<\/ul>\n\n\n\n<p>Make sure your website URL is correct in both fields &ndash; both URLs have to be identical. And they should start with HTTPS, not HTTP (as long as you&rsquo;ve installed an <a href=\"https:\/\/themeisle.com\/blog\/ssl\/\">SSL certificate<\/a>).<\/p>\n\n\n\n<p>Even if you don&rsquo;t make any changes on the page, be sure to hit the <strong>Save Changes<\/strong> button.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full blog-img-std\"><img data-opt-id=340310127  fetchpriority=\"high\" decoding=\"async\" width=\"1189\" height=\"603\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wordpress-address-and-site-address.png\" alt=\"wordpress address and site address\" class=\"wp-image-112067\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1189\/h:603\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wordpress-address-and-site-address.png 1189w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:152\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wordpress-address-and-site-address.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:519\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wordpress-address-and-site-address.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:389\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wordpress-address-and-site-address.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:25\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wordpress-address-and-site-address.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:473\/h:240\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wordpress-address-and-site-address.png 473w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:783\/h:397\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wordpress-address-and-site-address.png 783w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1183\/h:600\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wordpress-address-and-site-address.png 1183w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:292\/h:148\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wordpress-address-and-site-address.png 292w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:385\/h:195\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wordpress-address-and-site-address.png 385w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:266\/h:135\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wordpress-address-and-site-address.png 266w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1189\/h:603\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/wordpress-address-and-site-address.png 2x\" sizes=\"(max-width: 700px) 100vw, 700px\"><\/figure>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading joli-heading jtoc-heading\" id=\"h-4-fix-mixed-content-warnings-problems-with-ssl\">4. Fix &ldquo;mixed content&rdquo; warnings\/problems with SSL<\/h2>\n\n\n\n<p>Speaking of SSL, we should also cover the other most common issue with certificates on WordPress websites&hellip;<\/p>\n\n\n\n<p>If your website recently added SSL or is trying to serve content over HTTPS, &ldquo;mixed content&rdquo; issues can lead to the JSON error. Mixed content means some resources are loading over HTTP on an HTTPS page. Modern browsers will often block these insecure requests for security reasons. If the blocked resource is the REST API call itself (or a script that fetches data), WordPress may end up with no data or a partial response&hellip;hence &ldquo;not a valid JSON response.&rdquo;<\/p>\n\n\n<div class=\"su-spoiler su-spoiler-style-fancy su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span><strong>Why this causes the error? CLICK<\/strong> <\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n\n\n\n<p>The block editor, when loaded over HTTPS, expects to communicate securely. If your WordPress configuration or content still loads something via HTTP (e.g. the REST endpoint URL, or maybe an image in a block that triggers an issue), the browser might prevent it. As a result, the editor&rsquo;s update request never truly hits the server or comes back incomplete. This scenario is common if you enabled SSL but didn&rsquo;t update your site URLs, or if some URLs in your content\/themes\/plugins are hard-coded to <code>http<\/code>.<\/p>\n\n\n<\/div><\/div>\n\n\n\n<p>To fix this, you&rsquo;ll need to reinstall SSL on your site or reset the settings. Either way, the steps are similar.<\/p>\n\n\n\n<p>&#128073; Note; if any of the below sounds too complicated, check out our detailed guide on <a href=\"https:\/\/themeisle.com\/blog\/add-wordpress-https\/\">how to install SSL on WordPress<\/a>.<\/p>\n\n\n\n<p>First off, make sure that your server provides SSL certificates and that you have one installed (assigned to) your domain. If no, enable the certificate. This is usually done through cPanel, via a simple interface screen &ndash; just a couple of clicks.<\/p>\n\n\n\n<p>Once you are sure that the certificate is there, install the <a href=\"https:\/\/wordpress.org\/plugins\/really-simple-ssl\/\" target=\"_blank\" rel=\"noopener\">Really Simple Security<\/a> plugin for easy integration. Note; this plugin is not required, but it makes it a lot simpler to make sure that your WordPress can cooperate with SSL without problems.<\/p>\n\n\n\n<p>After installing you should see a popup with this button: <strong>Activate SSL!<\/strong> Click on the button. The plugin will set to work and log you out. Don&rsquo;t worry. Just login in and check if the JSON error is gone. It&rsquo;s also a good idea to clear all caches in case you have caching enabled on your site.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full blog-img-std\"><img data-opt-id=938270135  data-opt-src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png\"  decoding=\"async\" width=\"1185\" height=\"681\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:eco\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png\" alt=\"really simple ssl plugin activation\" class=\"wp-image-112068\" old-srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1185\/h:681\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png 1185w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:172\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:588\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:441\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:29\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:418\/h:240\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png 418w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:691\/h:397\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png 691w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1044\/h:600\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png 1044w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:258\/h:148\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png 258w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:339\/h:195\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png 339w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:235\/h:135\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png 235w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1185\/h:681\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png 2x\"><noscript><img data-opt-id=938270135  decoding=\"async\" width=\"1185\" height=\"681\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png\" alt=\"really simple ssl plugin activation\" class=\"wp-image-112068\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1185\/h:681\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png 1185w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:172\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:588\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:441\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:29\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:418\/h:240\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png 418w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:691\/h:397\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png 691w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1044\/h:600\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png 1044w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:258\/h:148\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png 258w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:339\/h:195\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png 339w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:235\/h:135\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png 235w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1185\/h:681\/q:mauto\/f:best\/dpr:2\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/really-simple-ssl-plugin-activation.png 2x\" sizes=\"(max-width: 700px) 100vw, 700px\"></noscript><\/figure>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading joli-heading jtoc-heading\" id=\"h-5-look-for-security-plugins-interfering\">5. Look for security plugins interfering<\/h2>\n\n\n\n<p>Sometimes security measures can block WordPress&rsquo; REST API calls. If you have <a href=\"https:\/\/themeisle.com\/blog\/wordpress-security-plugins\/\">a security plugin<\/a> (e.g. Wordfence, Sucuri, iThemes) or your web host has a web application firewall installed by default, they might mistakenly identify the editor&rsquo;s background requests as malicious and block them.<\/p>\n\n\n\n<p>This results in WordPress getting no data or an unexpected response (often an HTML &ldquo;blocked&rdquo; page), thus the JSON error.<\/p>\n\n\n<div class=\"su-spoiler su-spoiler-style-fancy su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span><strong>Why this causes the error? CLICK<\/strong> <\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n\n\n\n<p>Security plugins and firewalls watch for patterns that resemble attacks. The block editor auto-saves and sends JSON data in the background, which could trigger strict rules. For instance, some security setups disable the REST API for non-logged-in users (not typically an issue while you&rsquo;re logged in), but more aggressive rules might block certain POST requests or specific content in the request. If the REST API is blocked by such a rule, the editor&rsquo;s update fails because the server never returns the expected JSON. In some cases, the response might be a <a href=\"https:\/\/themeisle.com\/blog\/403-forbidden-error\/\">403 Forbidden<\/a> or a redirect to a security challenge, which is not valid JSON.<\/p>\n\n\n<\/div><\/div>\n\n\n\n<p>To fix this, first, temporarily disable your security plugin. We&rsquo;re doing this as a test for now. Just deactivate any security plugin you have (you should have just one tops, btw!)<\/p>\n\n\n\n<p>Then try updating a post. If the error is gone, then that plugin was likely blocking the REST request. You may need to adjust its settings.<\/p>\n\n\n\n<p>Many security plugins have features to &ldquo;disable REST API&rdquo; or &ldquo;block XML-RPC,&rdquo; etc. By default, they shouldn&rsquo;t break logged-in REST calls, but a bug or setting could.<\/p>\n\n\n\n<p>As your first fix, you can try disabling any REST-blocking or XML-RPC-blocking features and see what happens. Also, look for options in the plugin to whitelist the REST API or disable the feature that interferes.<\/p>\n\n\n\n<p>If the cause of the block is more nuanced, you might be dealing with a server-level firewall &ndash; for example, mod_security on Apache servers.<\/p>\n\n\n\n<p>Hosts often enable it to block SQL injection, XSS, etc. It can sometimes flag normal actions as false positives, too. These cases are hard to diagnose because nothing changes on your site, yet the firewall is silently blocking the response.<\/p>\n\n\n\n<p>You might not have direct control over ModSecurity rules on shared hosting, but you can contact your host. You can also take a look into server error logs around the time the error happens and look for entries involving mod_security. Provide these details to your host and ask if they can whitelist the rule or disable mod_security for your site. Hosts are usually familiar with this WordPress issue.<\/p>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading joli-heading jtoc-heading\" id=\"h-6-deal-with-other-plugin-conflicts\">6. Deal with other plugin conflicts<\/h2>\n\n\n\n<p>Beyond security plugins, any poorly-coded or conflicting plugin can potentially cause the &ldquo;invalid JSON response&rdquo; error. When you save a post, WordPress triggers various plugin hooks (for example, to update custom fields, execute some custom block function, etc.). A bug in one of those plugins could cause an error or output that interferes with the JSON response.<\/p>\n\n\n<div class=\"su-spoiler su-spoiler-style-fancy su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span><strong>Why this causes the error? CLICK<\/strong> <\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n\n\n\n<p>A plugin might do something during the save request that prevents WordPress from outputting the proper JSON. For instance, an outdated plugin could generate a PHP fatal error or warning in the background; if that error text gets output, it can corrupt the JSON format. Or a plugin might try to modify the REST API response and do it incorrectly. In other cases, a plugin conflict can break the REST endpoint entirely. The result is that WordPress sends back malformed data or no data to the editor, hence the error.<\/p>\n\n\n<\/div><\/div>\n\n\n\n<p>The fix whenever dealing with potential plugin or theme culprits is pretty classic for all WordPress issues:<\/p>\n\n\n\n<p><em>First, a small disclosure: Deactivating the plugins and themes may cause your site to break. You could lose some of your configurations. But if you have a backup in place, this won&rsquo;t be a problem. So <a href=\"https:\/\/themeisle.com\/blog\/backup-a-wordpress-site-for-free\/\">create one first<\/a>!<\/em><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Temporarily deactivate all plugins on your site (you can do this quickly in <strong>Plugins<\/strong>, switch to the tab labeled <strong>Active<\/strong>, select all, then <strong>Bulk Actions &rarr; Deactivate<\/strong> &ndash; <em>see screenshot below<\/em>).<\/li>\n\n\n\n<li>After that, try editing and updating a post. If the JSON error no longer appears, then one of the plugins was definitely the cause.<\/li>\n\n\n\n<li>Narrow it down. Reactivate your plugins one by one (or in small groups), testing the editor each time, to see when the problem reoccurs. When the JSON error comes back, you&rsquo;ve found a conflicting plugin.<\/li>\n\n\n\n<li>Resolve or replace. Once you know which plugin is responsible, you have a few options: <strong>(a)<\/strong> Check if there&rsquo;s an update available for that plugin. The issue might be already taken care of by a new newer version. Update it, then test again. <strong>(b)<\/strong> If no update is available or the plugin still fails, consider contacting the plugin&rsquo;s support or developer, as they may have a workaround. <strong>(c)<\/strong> If the plugin isn&rsquo;t crucial, you might keep it deactivated and look for an alternative plugin that provides similar functionality without causing errors.<\/li>\n\n\n\n<li>Restore plugins. Remember to reactivate the other plugins you disabled once testing is done. Only leave the problematic one inactive (or replace it) going forward.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full blog-img-std\"><img data-opt-id=1815201175  data-opt-src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png\"  decoding=\"async\" width=\"1442\" height=\"669\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:eco\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png\" alt=\"deactivate plugins\" class=\"wp-image-112065\" old-srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1442\/h:669\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png 1442w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:139\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:475\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:356\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:23\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:480\/h:223\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png 480w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:794\/h:368\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png 794w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1200\/h:557\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png 1200w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:296\/h:137\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png 296w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:390\/h:181\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png 390w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:270\/h:125\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png 270w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1442\/h:669\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png 2x\"><noscript><img data-opt-id=1815201175  decoding=\"async\" width=\"1442\" height=\"669\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png\" alt=\"deactivate plugins\" class=\"wp-image-112065\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1442\/h:669\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png 1442w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:139\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:475\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:356\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:23\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:480\/h:223\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png 480w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:794\/h:368\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png 794w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1200\/h:557\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png 1200w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:296\/h:137\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png 296w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:390\/h:181\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png 390w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:270\/h:125\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png 270w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1442\/h:669\/q:mauto\/f:best\/dpr:2\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/deactivate-plugins.png 2x\" sizes=\"(max-width: 700px) 100vw, 700px\"></noscript><\/figure>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading joli-heading jtoc-heading\" id=\"h-7-your-active-theme-can-also-conflict\">7. Your active theme can also conflict<\/h2>\n\n\n\n<p>In some cases, your active theme might be causing the JSON response to be invalid. Themes control the appearance, but they can also include custom PHP code that runs during REST API requests. A poorly coded theme function (usually after recent update) could trigger errors during the save process.<\/p>\n\n\n<div class=\"su-spoiler su-spoiler-style-fancy su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span><strong>Why this causes the error? CLICK<\/strong> <\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n\n\n\n<p>If your theme outputs unexpected content, it can interfere with the REST API. For example, a theme might have a custom REST API endpoint or modification that isn&rsquo;t coded properly, or simply a bug that throws a PHP notice. Even an extra blank line output (a BOM issue) before the JSON output can break the format. Essentially, any fatal error or weird output from the theme during the REST request will result in an invalid (or empty) JSON response.<\/p>\n\n\n<\/div><\/div>\n\n\n\n<p>The fix is very similar to the plugin fix presented above, with just slight variations:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Start by switching to a default theme. Go to <strong>Appearance &rarr; Themes<\/strong> and activate the default WordPress theme (like <em>Twenty Twenty-Four<\/em> or <em>Five<\/em>). If you have a lot of custom design, do this at a non-peak time, as it will change your site&rsquo;s appearance a lot.<\/li>\n\n\n\n<li>Immediately test the editor by editing\/updating a post. If the JSON error no longer occurs under the default theme, that strongly indicates something in your original theme is the problem.<\/li>\n\n\n\n<li>This next step can be tough, but there&rsquo;s only a couple of solutions here: <strong>(a)<\/strong> Check if there&rsquo;s an update available. <strong>(b)<\/strong> Contact the developer of the theme and inform them about the error. If the theme you have was custom-built for you, then this approach is basically your only way out. Or: <strong>(c)<\/strong> switch to a different theme if all else fails.<\/li>\n<\/ol>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading joli-heading jtoc-heading\" id=\"h-8-check-for-server-configuration-and-hosting-issues\">8. Check for server configuration and hosting issues<\/h2>\n\n\n\n<p>If all the above causes have been ruled out and you still see the &ldquo;not a valid JSON response&rdquo; error, the root cause might lie deeper in your server configuration. Occasionally, low server resources or misconfigurations at the hosting level can interfere with the WordPress REST API.<\/p>\n\n\n\n<p>The following is a list of probable causes in this case. I&rsquo;m not going to describe detailed solutions for each one, but I will provide general guidance on how to solve the issue:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>PHP memory limits<\/strong>. If your server&rsquo;s PHP memory limit is too low, the REST request might be failing due to out-of-memory errors. WordPress recommends at least 128 MB; 256 MB is better for larger sites. If the server runs out of memory while processing the save, the response might never be properly completed. Checking your Site Health info (under <strong>Tools &rarr; Site Health &rarr; Info &rarr; Server<\/strong>) will show your PHP memory limit. If it&rsquo;s below 128M, consider increasing it.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full blog-img-std\"><img data-opt-id=1831170243  data-opt-src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png\"  decoding=\"async\" width=\"1427\" height=\"535\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:eco\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png\" alt=\"php mem limit\" class=\"wp-image-112069\" old-srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1427\/h:535\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png 1427w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:112\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:384\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:288\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:19\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:480\/h:180\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png 480w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:794\/h:298\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png 794w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1200\/h:450\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png 1200w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:296\/h:111\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png 296w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:390\/h:146\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png 390w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:270\/h:101\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png 270w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1427\/h:535\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png 2x\"><noscript><img data-opt-id=1831170243  decoding=\"async\" width=\"1427\" height=\"535\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png\" alt=\"php mem limit\" class=\"wp-image-112069\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1427\/h:535\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png 1427w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:112\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:384\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:288\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:19\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:480\/h:180\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png 480w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:794\/h:298\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png 794w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1200\/h:450\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png 1200w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:296\/h:111\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png 296w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:390\/h:146\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png 390w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:270\/h:101\/q:mauto\/f:best\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png 270w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1427\/h:535\/q:mauto\/f:best\/dpr:2\/https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/05\/php-mem-limit.png 2x\" sizes=\"(max-width: 700px) 100vw, 700px\"></noscript><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>PHP errors or timeouts<\/strong>. Similar to the above, if there are other server-side errors (PHP fatal errors, script timeouts, database issues), those could be breaking the REST response. Enabling WP_DEBUG and then checking the debug log (or the server&rsquo;s error logs) can reveal if, say, a specific PHP error coincides with the JSON error. Any fatal error or exception in those logs needs to be addressed (it could be from a plugin or something server-specific).<\/li>\n\n\n\n<li><strong>Server modules and settings<\/strong>. Aside from mod_rewrite and mod_security (discussed earlier), other Apache\/Nginx modules rarely affect the REST API. However, if you or your host added custom rules (in <code>.htaccess<\/code>, Nginx config, or a proxy) that modify how <code>\/wp-json<\/code> URLs are handled, that could be an issue. For example, ensure there&rsquo;s no redirect loop or forced authentication. In some cases, if you&rsquo;re protecting your site with password authentication you might get all the REST API calls from the browser blocked (since the browser can&rsquo;t provide those credentials) &ndash; causing a JSON error. Removing or properly configuring such protection for the REST routes will be necessary.<\/li>\n\n\n\n<li><strong>Hosting environment changes<\/strong>. Consider that something at the host level might have changed without you realizing. Hosting providers sometimes update PHP versions, adjust firewall rules, or change configurations. If the issue started spontaneously, ask your host if any updates or changes occurred around that time.<\/li>\n<\/ul>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading joli-heading jtoc-heading\" id=\"h-final-thoughts-on-this-error\">Final thoughts on this error<\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>The &ldquo;Updating failed. The response is not a valid JSON response.&rdquo; error can commonly appear when uploading an image or publishing\/updating a piece of content using the block editor.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n\t\t<div class=\"ti-tweet-clear\"><\/div>\n\t\t\t<div class=\"ti-tweet_wrapper\">\n\t\t    \t<div class=\"ti-tweet_text\">\n\t\t    \t\t<a href=\"https:\/\/twitter.com\/share?text=How+to+%23fix+%23error%3A+%27The+response+is+not+a+valid+JSON+response%27+%F0%9F%90%9B&amp;via=themeisle&amp;related=themeisle&amp;url=https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/\" target=\"_blank\" rel=\"nofollow\">How to #fix #error: 'The response is not a valid JSON response' &#128027;<\/a>\n\t\t    \t<\/div>\n\t\t    \t<div class=\"ti-tweet_sharebtn\">\n\t\t    \t<a href=\"https:\/\/twitter.com\/share?text=How+to+%23fix+%23error%3A+%27The+response+is+not+a+valid+JSON+response%27+%F0%9F%90%9B&amp;via=themeisle&amp;related=themeisle&amp;url=https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/\" target=\"_blank\" rel=\"nofollow\">Click To Tweet \n\t\t    \t\t<span><\/span>\n\t\t    \t<\/a>\n\t\t    <\/div>\n\t\t<\/div>\n<\/div>\n<\/div>\n\n\n\n<p>Actually, the error is one of the most common WordPress errors. Luckily in around 90% of the cases (at least from my experience), you can get rid of it simply by giving another try to whatever you wanted to do in the first place &ndash; meaning the error is temporary. However, in some cases, a bit more troubleshooting is required.<\/p>\n\n\n\n<p>The real cause could be anything from a rogue plugin or theme to an SSL certificate issue. Removing the error is just a matter of figuring out the reason behind it and weeding it out of your site.<\/p>\n\n\n\n<p><strong><em>I hope with the help of this tutorial you were able to fix your site! If you have any questions about the error, let us know in the comment section below.<\/em><\/strong><\/p>\n\n\n<style>.ticss-d144f107 strong{font-weight: 700;\n    letter-spacing: -0.2px;\n    line-height: 1.2;\n    display: inline-block;}<\/style>\n\n\n<div class=\"wp-block-columns speed-guide has-white-color has-text-color has-background has-link-color wp-elements-2f81f6c5526477b5b4d52d1ca4513949 is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\" style=\"background-color:#4267cf\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:40%\">\n<figure class=\"wp-block-image size-medium\"><img data-opt-id=30701221  data-opt-src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:300\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png\"  decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:300\/q:eco\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png\" alt=\"speed guide\" class=\"wp-image-113040\" old-srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:300\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:1024\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:150\/h:150\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 150w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:768\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:50\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:240\/h:240\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 240w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:397\/h:397\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 397w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:600\/h:600\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 600w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:148\/h:148\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 148w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:195\/h:195\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 195w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:135\/h:135\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 135w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1080\/h:1080\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 1200w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1080\/h:1080\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 2x\"><noscript><img data-opt-id=30701221  decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:300\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png\" alt=\"speed guide\" class=\"wp-image-113040\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:300\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:1024\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:150\/h:150\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 150w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:768\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:50\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:240\/h:240\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 240w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:397\/h:397\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 397w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:600\/h:600\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 600w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:148\/h:148\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 148w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:195\/h:195\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 195w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:135\/h:135\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 135w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1080\/h:1080\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 1200w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1080\/h:1080\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 2x\" sizes=\"(max-width: 300px) 100vw, 300px\"></noscript><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"has-text-align-center ticss-58e79f2f\" style=\"font-size:14px\"><strong>FREE GUIDE<\/strong><\/p>\n\n\n\n<p class=\"ticss-d144f107\" style=\"font-size:25px\"><strong>4 Essential Steps to Speed Up Your&nbsp;WordPress Website<\/strong><\/p>\n\n\n\n<p class=\"ticss-3b627beb\">Follow the simple steps in our 4-part mini series and reduce your loading times by 50-80%.&nbsp;&#128640;<\/p>\n\n\n<p><\/p><div class=\"frm_forms  with_frm_style frm_style_themeisle\" id=\"frm_form_4_container\" data-token=\"173916a7f6c7aec0d4fa5af1b609cb3a\">\n<form enctype=\"multipart\/form-data\" method=\"post\" class=\"frm-show-form  frm_pro_form \" id=\"form_site-speed-guide-below-post\" data-token=\"173916a7f6c7aec0d4fa5af1b609cb3a\">\n<div class=\"frm_form_fields \">\n<fieldset>\n<legend class=\"frm_screen_reader\">Site Speed Guide - Below Post<\/legend>\r\n\r\n<div class=\"frm_fields_container\">\n<input type=\"hidden\" name=\"frm_action\" value=\"create\">\n<input type=\"hidden\" name=\"form_id\" value=\"4\">\n<input type=\"hidden\" name=\"frm_hide_fields_4\" id=\"frm_hide_fields_4\" value=\"\">\n<input type=\"hidden\" name=\"form_key\" value=\"site-speed-guide-below-post\">\n<input type=\"hidden\" name=\"item_meta[0]\" value=\"\">\n<input type=\"hidden\" id=\"frm_submit_entry_4\" name=\"frm_submit_entry_4\" value=\"1ab6c017d0\"><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/blog\/wp-json\/wp\/v2\/posts\/52986\"><input type=\"hidden\" name=\"item_meta[18]\" id=\"field_6px6q2\" value=\"\/blog\/wp-json\/wp\/v2\/posts\/52986\" data-frmval=\"\/blog\/wp-json\/wp\/v2\/posts\/52986\">\n<div id=\"frm_field_15_container\" class=\"frm_form_field form-field  frm_required_field frm_none_container\">\r\n\t<label for=\"field_6px6q\" id=\"field_6px6q_label\" class=\"frm_primary_label\">Your Email\r\n\t\t<span class=\"frm_required\" aria-hidden=\"true\">*<\/span>\r\n\t<\/label>\r\n\t<input type=\"email\" id=\"field_6px6q\" name=\"item_meta[15]\" value=\"\" autocomplete=\"email\" placeholder=\"your@email.com\" data-reqmsg=\"Your Email cannot be blank.\" aria-required=\"true\" data-invmsg=\"Your Email is invalid\" aria-invalid=\"false\">\r\n\t\r\n\t\r\n<\/div>\n<div id=\"frm_field_17_container\" class=\"frm_form_field form-field  frm_none_container vertical_radio\">\r\n\t<div id=\"field_6px6q3_label\" class=\"frm_primary_label\">Subscribe to our newsletter\r\n\t\t<span class=\"frm_required\" aria-hidden=\"true\"><\/span>\r\n\t<\/div>\r\n\t<div class=\"frm_opt_container\" aria-labelledby=\"field_6px6q3_label\" role=\"group\">\t\t<div class=\"frm_checkbox\" id=\"frm_checkbox_17-0\">\t\t\t<label for=\"field_6px6q3-0\">\n\t\t\t<input type=\"checkbox\" name=\"item_meta[17][]\" id=\"field_6px6q3-0\" value=\"true\" data-invmsg=\"Subscribe to our newsletter is invalid\" aria-invalid=\"false\"> Subscribe to our newsletter<\/label><\/div>\n<\/div>\r\n\t\r\n\t\r\n<\/div>\n<div id=\"frm_field_14_container\" class=\"frm_form_field form-field \">\r\n\t<div class=\"frm_submit frm_flex\">\r\n<button class=\"frm_button_submit frm_final_submit\" type=\"submit\" formnovalidate=\"formnovalidate\">FREE ACCESS<\/button>\r\n\r\n\r\n\r\n<\/div>\r\n<\/div>\n\t<input type=\"hidden\" name=\"item_key\" value=\"\">\n\t\t\t<div id=\"frm_field_24_container\">\n\t\t\t<label for=\"field_txw2w\">\n\t\t\t\tIf you are human, leave this field blank.\t\t\t<\/label>\n\t\t\t<input id=\"field_txw2w\" type=\"text\" class=\"frm_form_field form-field frm_verify\" name=\"item_meta[24]\" value=\"\">\n\t\t<\/div>\n\t\t<input name=\"frm_state\" type=\"hidden\" value=\"tGKtIG19U6wyYcew8uBttVYnb0dQwXYXtK+3AbSGMVcwF9M0QAXa6pd1+Qu8+H8p\"><\/div>\n<\/fieldset>\n<\/div>\n\n<p style=\"display: none !important;\" class=\"akismet-fields-container\" data-prefix=\"ak_\"><label>&Delta;<textarea name=\"ak_hp_textarea\" cols=\"45\" rows=\"8\" maxlength=\"100\"><\/textarea><\/label><input type=\"hidden\" id=\"ak_js_1\" name=\"ak_js\" value=\"103\"><script>document.getElementById( \"ak_js_1\" ).setAttribute( \"value\", ( new Date() ).getTime() );<\/script><\/p><\/form>\n<\/div>\n\n<\/div>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"So you&#8217;re editing a post in WordPress. You hit Update, and\u2026bam! \u201cUpdating Failed. The Response is Not a Valid JSON Response.\u201d No warning, no help, just a message that sounds like it came from a robot (it did). What does it even mean? And why now?","protected":false},"author":5,"featured_media":112076,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_stopmodifiedupdate":false,"_modified_date":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[272],"tags":[4064],"hashtags":[],"class_list":["post-52986","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-tutorials","tag-featured"],"wppr_data":{"cwp_meta_box_check":"No"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.8 (Yoast SEO v26.1.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Fix &quot;Updating Failed. The Response is Not a Valid JSON Response&quot;<\/title>\n<meta name=\"description\" content=\"Encountering the &quot;Updating failed. The response is not a valid JSON response.&quot; error? In this article, you will learn how to fix it.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Fix &quot;Updating Failed. The Response is Not a Valid JSON Response&quot;\" \/>\n<meta property=\"og:description\" content=\"Encountering the &quot;Updating failed. The response is not a valid JSON response.&quot; error? In this article, you will learn how to fix it.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/\" \/>\n<meta property=\"og:site_name\" content=\"Themeisle Blog\" \/>\n<meta property=\"article:published_time\" content=\"2022-06-14T13:33:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-26T12:51:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/06\/Updating-Failed.-The-Response-is-Not-a-Valid-JSON-Response.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2180\" \/>\n\t<meta property=\"og:image:height\" content=\"1090\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Karol K\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@iamkarolk\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Karol K\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"15 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/\"},\"author\":{\"name\":\"Karol K\",\"@id\":\"https:\/\/themeisle.com\/blog\/#\/schema\/person\/fdae8d9189aff08a5eaef8f6fb4e22b9\"},\"headline\":\"How to Fix &#8220;Updating Failed. The Response is Not a Valid JSON Response&#8221;\",\"datePublished\":\"2022-06-14T13:33:44+00:00\",\"dateModified\":\"2025-05-26T12:51:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/\"},\"wordCount\":3207,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\/\/themeisle.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/06\/Updating-Failed.-The-Response-is-Not-a-Valid-JSON-Response.png\",\"keywords\":[\"Featured\"],\"articleSection\":[\"WordPress Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/\",\"url\":\"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/\",\"name\":\"How to Fix \\\\\\\"Updating Failed. The Response is Not a Valid JSON Response\\\\\\\"\",\"isPartOf\":{\"@id\":\"https:\/\/themeisle.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/06\/Updating-Failed.-The-Response-is-Not-a-Valid-JSON-Response.png\",\"datePublished\":\"2022-06-14T13:33:44+00:00\",\"dateModified\":\"2025-05-26T12:51:30+00:00\",\"description\":\"Encountering the \\\\\\\"Updating failed. The response is not a valid JSON response.\\\\\\\" error? In this article, you will learn how to fix it.\",\"breadcrumb\":{\"@id\":\"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/#primaryimage\",\"url\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/06\/Updating-Failed.-The-Response-is-Not-a-Valid-JSON-Response.png\",\"contentUrl\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/06\/Updating-Failed.-The-Response-is-Not-a-Valid-JSON-Response.png\",\"width\":2180,\"height\":1090,\"caption\":\"Updating Failed. The Response is Not a Valid JSON Response\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/themeisle.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Fix &#8220;Updating Failed. The Response is Not a Valid JSON Response&#8221;\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/themeisle.com\/blog\/#website\",\"url\":\"https:\/\/themeisle.com\/blog\/\",\"name\":\"Themeisle Blog\",\"description\":\"WordPress Tutorials and Reviews for Beginners and Advanced\",\"publisher\":{\"@id\":\"https:\/\/themeisle.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/themeisle.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/themeisle.com\/blog\/#organization\",\"name\":\"VertiStudio\",\"alternateName\":\"Vertigo Studio SA\",\"url\":\"https:\/\/themeisle.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/themeisle.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2024\/02\/VertiStudio_logo1.png\",\"contentUrl\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2024\/02\/VertiStudio_logo1.png\",\"width\":718,\"height\":156,\"caption\":\"VertiStudio\"},\"image\":{\"@id\":\"https:\/\/themeisle.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/themeisle.com\/blog\/#\/schema\/person\/fdae8d9189aff08a5eaef8f6fb4e22b9\",\"name\":\"Karol K\",\"description\":\"Karol Krol is a writer, content strategist, and WordPress figure-outer with over 20 years of experience rooted in website building and web technologies. With his expertise underpinned by a master\\\\'s degree in computer science, he authored \\\\\\\"WordPress Complete\\\\\\\" - the ultimate WordPress handbook for newbies. His work has been published across numerous industry websites. He leads the editorial team at Themeisle.\",\"sameAs\":[\"https:\/\/karol.cc\/\",\"https:\/\/www.linkedin.com\/in\/karolkrol\/\",\"https:\/\/www.pinterest.com\/carlosinho\/\",\"https:\/\/x.com\/iamkarolk\",\"https:\/\/www.youtube.com\/@wpworkshophq\"],\"url\":\"https:\/\/themeisle.com\/blog\/author\/karol-k\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Fix &quot;Updating Failed. The Response is Not a Valid JSON Response&quot;","description":"Encountering the &quot;Updating failed. The response is not a valid JSON response.&quot; error? In this article, you will learn how to fix it.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/","og_locale":"en_US","og_type":"article","og_title":"How to Fix &quot;Updating Failed. The Response is Not a Valid JSON Response&quot;","og_description":"Encountering the &quot;Updating failed. The response is not a valid JSON response.&quot; error? In this article, you will learn how to fix it.","og_url":"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/","og_site_name":"Themeisle Blog","article_published_time":"2022-06-14T13:33:44+00:00","article_modified_time":"2025-05-26T12:51:30+00:00","og_image":[{"width":2180,"height":1090,"url":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/06\/Updating-Failed.-The-Response-is-Not-a-Valid-JSON-Response.png","type":"image\/png"}],"author":"Karol K","twitter_card":"summary_large_image","twitter_creator":"@iamkarolk","twitter_misc":{"Written by":"Karol K","Est. reading time":"15 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/#article","isPartOf":{"@id":"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/"},"author":{"name":"Karol K","@id":"https:\/\/themeisle.com\/blog\/#\/schema\/person\/fdae8d9189aff08a5eaef8f6fb4e22b9"},"headline":"How to Fix &#8220;Updating Failed. The Response is Not a Valid JSON Response&#8221;","datePublished":"2022-06-14T13:33:44+00:00","dateModified":"2025-05-26T12:51:30+00:00","mainEntityOfPage":{"@id":"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/"},"wordCount":3207,"commentCount":4,"publisher":{"@id":"https:\/\/themeisle.com\/blog\/#organization"},"image":{"@id":"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/#primaryimage"},"thumbnailUrl":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/06\/Updating-Failed.-The-Response-is-Not-a-Valid-JSON-Response.png","keywords":["Featured"],"articleSection":["WordPress Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/","url":"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/","name":"How to Fix \\\"Updating Failed. The Response is Not a Valid JSON Response\\\"","isPartOf":{"@id":"https:\/\/themeisle.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/#primaryimage"},"image":{"@id":"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/#primaryimage"},"thumbnailUrl":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/06\/Updating-Failed.-The-Response-is-Not-a-Valid-JSON-Response.png","datePublished":"2022-06-14T13:33:44+00:00","dateModified":"2025-05-26T12:51:30+00:00","description":"Encountering the \\\"Updating failed. The response is not a valid JSON response.\\\" error? In this article, you will learn how to fix it.","breadcrumb":{"@id":"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/#primaryimage","url":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/06\/Updating-Failed.-The-Response-is-Not-a-Valid-JSON-Response.png","contentUrl":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2022\/06\/Updating-Failed.-The-Response-is-Not-a-Valid-JSON-Response.png","width":2180,"height":1090,"caption":"Updating Failed. The Response is Not a Valid JSON Response"},{"@type":"BreadcrumbList","@id":"https:\/\/themeisle.com\/blog\/how-to-fix-updating-failed-the-response-is-not-a-valid-json-response\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/themeisle.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Fix &#8220;Updating Failed. The Response is Not a Valid JSON Response&#8221;"}]},{"@type":"WebSite","@id":"https:\/\/themeisle.com\/blog\/#website","url":"https:\/\/themeisle.com\/blog\/","name":"Themeisle Blog","description":"WordPress Tutorials and Reviews for Beginners and Advanced","publisher":{"@id":"https:\/\/themeisle.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/themeisle.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/themeisle.com\/blog\/#organization","name":"VertiStudio","alternateName":"Vertigo Studio SA","url":"https:\/\/themeisle.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/themeisle.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2024\/02\/VertiStudio_logo1.png","contentUrl":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2024\/02\/VertiStudio_logo1.png","width":718,"height":156,"caption":"VertiStudio"},"image":{"@id":"https:\/\/themeisle.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/themeisle.com\/blog\/#\/schema\/person\/fdae8d9189aff08a5eaef8f6fb4e22b9","name":"Karol K","description":"Karol Krol is a writer, content strategist, and WordPress figure-outer with over 20 years of experience rooted in website building and web technologies. With his expertise underpinned by a master\\'s degree in computer science, he authored \\\"WordPress Complete\\\" - the ultimate WordPress handbook for newbies. His work has been published across numerous industry websites. He leads the editorial team at Themeisle.","sameAs":["https:\/\/karol.cc\/","https:\/\/www.linkedin.com\/in\/karolkrol\/","https:\/\/www.pinterest.com\/carlosinho\/","https:\/\/x.com\/iamkarolk","https:\/\/www.youtube.com\/@wpworkshophq"],"url":"https:\/\/themeisle.com\/blog\/author\/karol-k\/"}]}},"_links":{"self":[{"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/posts\/52986","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/comments?post=52986"}],"version-history":[{"count":18,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/posts\/52986\/revisions"}],"predecessor-version":[{"id":112078,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/posts\/52986\/revisions\/112078"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/media\/112076"}],"wp:attachment":[{"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/media?parent=52986"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/categories?post=52986"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/tags?post=52986"},{"taxonomy":"hashtags","embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/hashtags?post=52986"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}