{"id":5776,"date":"2026-07-01T03:30:44","date_gmt":"2026-07-01T10:30:44","guid":{"rendered":"https:\/\/clone.surecookie.com\/docs\/settings-or-cookie-categories-not-saving\/"},"modified":"2026-07-09T20:54:04","modified_gmt":"2026-07-10T03:54:04","slug":"settings-or-cookie-categories-not-saving","status":"publish","type":"docs","link":"https:\/\/clone.surecookie.com\/de\/docs\/settings-or-cookie-categories-not-saving\/","title":{"rendered":"Settings or Cookie Categories Not Saving"},"content":{"rendered":"<p class=\"wp-block-paragraph\">When you change a SureCookie setting or a cookie category and it doesn&#8217;t stick, it&#8217;s usually one of a few things: a required field is blocking the save, your account lacks permission, a security plugin is blocking the request, or a cache is showing you old values.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">SureCookie stores your settings and categories in your WordPress database and saves them through the WordPress REST API when you click <strong>Save<\/strong>. A successful save shows a <strong>Settings saved!<\/strong> message; a failure shows <strong>Save failed!<\/strong>. This article works through the causes from the most common down.<\/p>\n\n\n\n<h2 id=\"confirm-whether-the-save-failed\" class=\"wp-block-heading\">Confirm Whether the Save Failed<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">First, tell a failed save apart from a display issue.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you saw <strong>Save failed!<\/strong>, the request reached the server but didn&#8217;t complete. Work through the sections below.<\/li>\n\n\n\n<li>If you saw <strong>Settings saved!<\/strong> but the values still look old, the save worked and a cache is showing stale data. Jump to <em>Clear Your Caches<\/em>.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"confirm-whether-the-save-failed\" class=\"wp-block-heading\">Check for a Validation Error<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Some fields are required, and leaving one empty blocks the entire save.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The <strong>Banner Message<\/strong> and the <strong>Preference Modal Description<\/strong> can&#8217;t be empty. If either is blank, SureCookie shows an inline error such as <em>Banner message cannot be empty<\/em> and the save doesn&#8217;t go through.<\/li>\n\n\n\n<li>Fix the flagged field, then click <strong>Save<\/strong> again.<\/li>\n<\/ul>\n\n\n\n<figure data-spectra-id=\"spectra-mr1xu8uw-k3vsr4\" class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/clone.surecookie.com\/wp-content\/uploads\/2026\/07\/settings-not-saving-validation-error-1024x640.png\" alt=\"Cookie banner content settings\" class=\"wp-image-5779\" title=\"Settings or Cookie Categories Not Saving\" srcset=\"https:\/\/clone.surecookie.com\/wp-content\/uploads\/2026\/07\/settings-not-saving-validation-error-1024x640.png 1024w, https:\/\/clone.surecookie.com\/wp-content\/uploads\/2026\/07\/settings-not-saving-validation-error-300x188.png 300w, https:\/\/clone.surecookie.com\/wp-content\/uploads\/2026\/07\/settings-not-saving-validation-error-768x480.png 768w, https:\/\/clone.surecookie.com\/wp-content\/uploads\/2026\/07\/settings-not-saving-validation-error-1536x960.png 1536w, https:\/\/clone.surecookie.com\/wp-content\/uploads\/2026\/07\/settings-not-saving-validation-error-2048x1280.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 id=\"make-sure-you-have-permission\" class=\"wp-block-heading\">Make Sure You Have Permission<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Saving SureCookie settings requires an administrator account. Editors and other roles can open some screens but can&#8217;t save changes. Sign in as an administrator, or ask one to make the change for you.<\/p>\n\n\n\n<h2 id=\"make-sure-you-have-permission\" class=\"wp-block-heading\">Unblock the REST API<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When you click <strong>Save<\/strong>, SureCookie sends your changes to the WordPress REST API at <code>\/wp-json\/surecookie\/v1\/admin\/settings<\/code>. If a security plugin, firewall, or server rule blocks REST requests, the save fails with <strong>Save failed!<\/strong>.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Temporarily disable security or firewall plugins (for example Wordfence or iThemes Security), then save again.<\/li>\n\n\n\n<li>If that fixes it, re-enable the plugin and add an exception for the <code>\/wp-json\/<\/code> path.<\/li>\n\n\n\n<li>If it persists, ask your host whether a server firewall or security rule is blocking REST requests.<\/li>\n<\/ol>\n\n\n\n<figure data-spectra-id=\"spectra-mr1xv9me-1em6vz\" class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/clone.surecookie.com\/wp-content\/uploads\/2026\/07\/settings-not-saving-save-failed-1024x640.png\" alt=\"\" class=\"wp-image-5778\" title=\"Settings or Cookie Categories Not Saving\" srcset=\"https:\/\/clone.surecookie.com\/wp-content\/uploads\/2026\/07\/settings-not-saving-save-failed-1024x640.png 1024w, https:\/\/clone.surecookie.com\/wp-content\/uploads\/2026\/07\/settings-not-saving-save-failed-300x188.png 300w, https:\/\/clone.surecookie.com\/wp-content\/uploads\/2026\/07\/settings-not-saving-save-failed-768x480.png 768w, https:\/\/clone.surecookie.com\/wp-content\/uploads\/2026\/07\/settings-not-saving-save-failed-1536x960.png 1536w, https:\/\/clone.surecookie.com\/wp-content\/uploads\/2026\/07\/settings-not-saving-save-failed-2048x1280.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 id=\"clear-your-caches\" class=\"wp-block-heading\">Clear Your Caches<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A page cache, a persistent object cache (Redis or Memcached), or a CDN can keep serving your old settings even after a successful save.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Clear your WordPress page cache and flush any object cache.<\/li>\n\n\n\n<li>Purge your CDN.<\/li>\n\n\n\n<li>Reload the settings screen in a private window to confirm the new values.<\/li>\n<\/ol>\n\n\n\n<h2 id=\"clear-your-caches\" class=\"wp-block-heading\">Refresh a Stale Session<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you left the screen open for a long time, or signed out in another tab, the security token behind the save can expire and the save can fail quietly. Reload the page and try saving again.<\/p>\n\n\n\n<h2 id=\"clear-your-caches\" class=\"wp-block-heading\">Rule Out a Plugin or Theme Conflict<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A JavaScript error from another plugin can stop the <strong>Save<\/strong> button from working.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open your browser&#8217;s developer console (press F12) and watch for errors when you click <strong>Save<\/strong>.<\/li>\n\n\n\n<li>Temporarily switch to a default theme, or pause other plugins one at a time, to find the conflict.<\/li>\n<\/ol>\n\n\n\n<h2 id=\"clear-your-caches\" class=\"wp-block-heading\">Cookie Categories Won&#8217;t Save<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Cookie categories are saved together with your settings, so every cause above applies to them too. A few category-specific points:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A category must have a <strong>name<\/strong>. A blank name blocks the save.<\/li>\n\n\n\n<li>Built-in categories such as <strong>Essential<\/strong> can&#8217;t be deleted, and their <strong>Required<\/strong> status can&#8217;t be changed.<\/li>\n\n\n\n<li>Manage categories under <strong>SureCookie \u2192 Cookie Manager \u2192 All Cookies \u2192 Manage Categories<\/strong>.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"clear-your-caches\" class=\"wp-block-heading\">When to Contact Support<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If none of the above works, send us the details so we can investigate.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>What you changed, and on which screen.<\/li>\n\n\n\n<li>Whether you saw <strong>Settings saved!<\/strong> or <strong>Save failed!<\/strong>.<\/li>\n\n\n\n<li>Any errors in the browser console when you click Save.<\/li>\n\n\n\n<li>Your caching, security, and hosting setup.<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>When your SureCookie settings or cookie categories won&#8217;t save, work through the common causes: a validation error, missing permissions, a blocked REST API, or a cache serving old values.<\/p>","protected":false},"author":32,"featured_media":0,"template":"","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_pfd_related_docs_manual":[],"pfd_doc_title":"","spectra_gs_classes":"[\"\"]","footnotes":""},"docs_category":[37],"docs_tag":[],"class_list":["post-5776","docs","type-docs","status-publish","hentry","docs_category-troubleshooting-and-faq"],"spectra_custom_meta":{"spectra_gs_classes":["[\"\"]"],"surerank_seo_checks":["a:14:{s:14:\"h2_subheadings\";a:3:{s:6:\"status\";s:7:\"success\";s:7:\"message\";s:38:\"Page contains at least one subheading.\";s:4:\"type\";s:4:\"page\";}s:13:\"media_present\";a:3:{s:6:\"status\";s:7:\"success\";s:7:\"message\";s:55:\"This page includes images or videos to enhance content.\";s:4:\"type\";s:4:\"page\";}s:13:\"links_present\";a:3:{s:6:\"status\";s:7:\"warning\";s:7:\"message\";s:27:\"No links found on the page.\";s:4:\"type\";s:4:\"page\";}s:10:\"url_length\";a:3:{s:6:\"status\";s:7:\"success\";s:7:\"message\";s:35:\"Page URL is short and SEO-friendly.\";s:4:\"type\";s:4:\"page\";}s:19:\"search_engine_title\";a:3:{s:6:\"status\";s:7:\"success\";s:7:\"message\";s:55:\"Search engine title is present and under 60 characters.\";s:4:\"type\";s:4:\"page\";}s:25:\"search_engine_description\";a:3:{s:6:\"status\";s:7:\"success\";s:7:\"message\";s:62:\"Search engine description is present and under 160 characters.\";s:4:\"type\";s:4:\"page\";}s:13:\"canonical_url\";a:3:{s:6:\"status\";s:7:\"success\";s:7:\"message\";s:37:\"Canonical tag is present on the page.\";s:4:\"type\";s:4:\"page\";}s:15:\"open_graph_tags\";a:3:{s:6:\"status\";s:7:\"success\";s:7:\"message\";s:40:\"Open Graph tags are present on the page.\";s:4:\"type\";s:4:\"page\";}s:16:\"keyword_in_title\";a:3:{s:6:\"status\";s:10:\"suggestion\";s:7:\"message\";s:38:\"No focus keyword set to analyze title.\";s:4:\"type\";s:7:\"keyword\";}s:22:\"keyword_in_description\";a:3:{s:6:\"status\";s:10:\"suggestion\";s:7:\"message\";s:49:\"No focus keyword set to analyze meta description.\";s:4:\"type\";s:7:\"keyword\";}s:14:\"keyword_in_url\";a:3:{s:6:\"status\";s:10:\"suggestion\";s:7:\"message\";s:36:\"No focus keyword set to analyze URL.\";s:4:\"type\";s:7:\"keyword\";}s:18:\"keyword_in_content\";a:3:{s:6:\"status\";s:10:\"suggestion\";s:7:\"message\";s:40:\"No focus keyword set to analyze content.\";s:4:\"type\";s:7:\"keyword\";}s:12:\"broken_links\";a:3:{s:6:\"status\";s:7:\"success\";s:4:\"type\";s:4:\"page\";s:7:\"message\";s:34:\"No broken links found on the page.\";}s:14:\"image_alt_text\";a:5:{s:6:\"status\";s:10:\"suggestion\";s:11:\"description\";a:1:{i:0;a:1:{s:4:\"list\";a:1:{i:0;s:100:\"https:\/\/clone.surecookie.com\/wp-content\/uploads\/2026\/07\/settings-not-saving-save-failed-1024x640.png\";}}}s:7:\"message\";s:108:\"One or more images are missing alt text attributes. But don't worry, we will add them automatically for you.\";s:11:\"show_images\";b:1;s:4:\"type\";s:4:\"page\";}}"],"surerank_seo_checks_last_updated":["1783655644"],"_edit_lock":["1783657618:39"],"views":["59"],"_uag_custom_page_level_css":[""],"site-sidebar-layout":["default"],"site-content-layout":[""],"ast-site-content-layout":["default"],"site-content-style":["default"],"site-sidebar-style":["default"],"ast-global-header-display":[""],"ast-banner-title-visibility":[""],"ast-main-header-display":[""],"ast-hfb-above-header-display":[""],"ast-hfb-below-header-display":[""],"ast-hfb-mobile-header-display":[""],"site-post-title":[""],"ast-breadcrumbs-content":[""],"ast-featured-img":[""],"footer-sml-layout":[""],"ast-disable-related-posts":[""],"theme-transparent-header-meta":[""],"adv-header-id-meta":[""],"stick-header-meta":[""],"header-above-stick-meta":[""],"header-main-stick-meta":[""],"header-below-stick-meta":[""],"astra-migrate-meta-layouts":["set"],"ast-page-background-enabled":["default"],"ast-page-background-meta":["a:3:{s:7:\"desktop\";a:12:{s:16:\"background-color\";s:25:\"var(--ast-global-color-4)\";s:16:\"background-image\";s:0:\"\";s:17:\"background-repeat\";s:6:\"repeat\";s:19:\"background-position\";s:13:\"center center\";s:15:\"background-size\";s:4:\"auto\";s:21:\"background-attachment\";s:6:\"scroll\";s:15:\"background-type\";s:0:\"\";s:16:\"background-media\";s:0:\"\";s:12:\"overlay-type\";s:0:\"\";s:13:\"overlay-color\";s:0:\"\";s:15:\"overlay-opacity\";s:0:\"\";s:16:\"overlay-gradient\";s:0:\"\";}s:6:\"tablet\";a:12:{s:16:\"background-color\";s:0:\"\";s:16:\"background-image\";s:0:\"\";s:17:\"background-repeat\";s:6:\"repeat\";s:19:\"background-position\";s:13:\"center center\";s:15:\"background-size\";s:4:\"auto\";s:21:\"background-attachment\";s:6:\"scroll\";s:15:\"background-type\";s:0:\"\";s:16:\"background-media\";s:0:\"\";s:12:\"overlay-type\";s:0:\"\";s:13:\"overlay-color\";s:0:\"\";s:15:\"overlay-opacity\";s:0:\"\";s:16:\"overlay-gradient\";s:0:\"\";}s:6:\"mobile\";a:12:{s:16:\"background-color\";s:0:\"\";s:16:\"background-image\";s:0:\"\";s:17:\"background-repeat\";s:6:\"repeat\";s:19:\"background-position\";s:13:\"center center\";s:15:\"background-size\";s:4:\"auto\";s:21:\"background-attachment\";s:6:\"scroll\";s:15:\"background-type\";s:0:\"\";s:16:\"background-media\";s:0:\"\";s:12:\"overlay-type\";s:0:\"\";s:13:\"overlay-color\";s:0:\"\";s:15:\"overlay-opacity\";s:0:\"\";s:16:\"overlay-gradient\";s:0:\"\";}}"],"ast-content-background-meta":["a:3:{s:7:\"desktop\";a:12:{s:16:\"background-color\";s:25:\"var(--ast-global-color-5)\";s:16:\"background-image\";s:0:\"\";s:17:\"background-repeat\";s:6:\"repeat\";s:19:\"background-position\";s:13:\"center center\";s:15:\"background-size\";s:4:\"auto\";s:21:\"background-attachment\";s:6:\"scroll\";s:15:\"background-type\";s:0:\"\";s:16:\"background-media\";s:0:\"\";s:12:\"overlay-type\";s:0:\"\";s:13:\"overlay-color\";s:0:\"\";s:15:\"overlay-opacity\";s:0:\"\";s:16:\"overlay-gradient\";s:0:\"\";}s:6:\"tablet\";a:12:{s:16:\"background-color\";s:25:\"var(--ast-global-color-5)\";s:16:\"background-image\";s:0:\"\";s:17:\"background-repeat\";s:6:\"repeat\";s:19:\"background-position\";s:13:\"center center\";s:15:\"background-size\";s:4:\"auto\";s:21:\"background-attachment\";s:6:\"scroll\";s:15:\"background-type\";s:0:\"\";s:16:\"background-media\";s:0:\"\";s:12:\"overlay-type\";s:0:\"\";s:13:\"overlay-color\";s:0:\"\";s:15:\"overlay-opacity\";s:0:\"\";s:16:\"overlay-gradient\";s:0:\"\";}s:6:\"mobile\";a:12:{s:16:\"background-color\";s:25:\"var(--ast-global-color-5)\";s:16:\"background-image\";s:0:\"\";s:17:\"background-repeat\";s:6:\"repeat\";s:19:\"background-position\";s:13:\"center center\";s:15:\"background-size\";s:4:\"auto\";s:21:\"background-attachment\";s:6:\"scroll\";s:15:\"background-type\";s:0:\"\";s:16:\"background-media\";s:0:\"\";s:12:\"overlay-type\";s:0:\"\";s:13:\"overlay-color\";s:0:\"\";s:15:\"overlay-opacity\";s:0:\"\";s:16:\"overlay-gradient\";s:0:\"\";}}"],"_pfd_related_docs_manual":["a:0:{}"],"pfd_doc_title":[""],"footnotes":[""],"_edit_last":["39"],"helpful":["0"],"unhelpful":["0"],"redirects":["0"],"_uag_page_assets":["a:9:{s:3:\"css\";s:263:\".uag-blocks-common-selector{z-index:var(--z-index-desktop) !important}@media (max-width: 976px){.uag-blocks-common-selector{z-index:var(--z-index-tablet) !important}}@media (max-width: 767px){.uag-blocks-common-selector{z-index:var(--z-index-mobile) !important}}\n\";s:2:\"js\";s:0:\"\";s:18:\"current_block_list\";a:12:{i:0;s:14:\"core\/paragraph\";i:1;s:12:\"core\/heading\";i:2;s:9:\"core\/list\";i:3;s:14:\"core\/list-item\";i:4;s:10:\"core\/image\";i:5;s:11:\"core\/search\";i:6;s:10:\"core\/group\";i:7;s:17:\"core\/latest-posts\";i:8;s:20:\"core\/latest-comments\";i:9;s:13:\"core\/archives\";i:10;s:15:\"core\/categories\";i:11;s:14:\"core\/shortcode\";}s:8:\"uag_flag\";b:0;s:11:\"uag_version\";s:10:\"1789563178\";s:6:\"gfonts\";a:0:{}s:10:\"gfonts_url\";s:0:\"\";s:12:\"gfonts_files\";a:0:{}s:14:\"uag_faq_layout\";b:0;}"],"_uag_css_file_name":["uag-css-5776.css"]},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"trp-custom-language-flag":false},"uagb_author_info":{"display_name":"navanath b","author_link":"https:\/\/clone.surecookie.com\/de\/author\/navanathbbsf-io\/"},"uagb_comment_info":0,"uagb_excerpt":"When your SureCookie settings or cookie categories won't save, work through the common causes: a validation error, missing permissions, a blocked REST API, or a cache serving old values.","_links":{"self":[{"href":"https:\/\/clone.surecookie.com\/de\/wp-json\/wp\/v2\/docs\/5776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/clone.surecookie.com\/de\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/clone.surecookie.com\/de\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/clone.surecookie.com\/de\/wp-json\/wp\/v2\/users\/32"}],"version-history":[{"count":2,"href":"https:\/\/clone.surecookie.com\/de\/wp-json\/wp\/v2\/docs\/5776\/revisions"}],"predecessor-version":[{"id":5780,"href":"https:\/\/clone.surecookie.com\/de\/wp-json\/wp\/v2\/docs\/5776\/revisions\/5780"}],"wp:attachment":[{"href":"https:\/\/clone.surecookie.com\/de\/wp-json\/wp\/v2\/media?parent=5776"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/clone.surecookie.com\/de\/wp-json\/wp\/v2\/docs_category?post=5776"},{"taxonomy":"docs_tag","embeddable":true,"href":"https:\/\/clone.surecookie.com\/de\/wp-json\/wp\/v2\/docs_tag?post=5776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}