{"id":10435,"date":"2022-11-24T15:11:00","date_gmt":"2022-11-24T06:11:00","guid":{"rendered":"https:\/\/hanami-web.tokyo.jp\/blog\/?p=10435"},"modified":"2022-11-16T14:51:08","modified_gmt":"2022-11-16T05:51:08","slug":"reset-api-error-wordpress","status":"publish","type":"post","link":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/website-running\/security-case\/reset-api-error-wordpress\/","title":{"rendered":"[Solved] Can&#039;t access WordPress RESET API with SiteKit plugin?"},"content":{"rendered":"<p>I was trying to use Site Kit by Google to introduce an analytics tool to my WordPress site, but I ran into an issue where Site Kit could not access the WordPress RESET API and I was unable to connect.<\/p>\n\n\n\n<p>I thought that some people might be having the same problem, so I&#039;m sharing the solution!<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"402\" src=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/image-17-1024x402.png\" alt=\"\" class=\"wp-image-10436\" srcset=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/image-17-1024x402.png 1024w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/image-17-300x118.png 300w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/image-17-768x302.png 768w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/image-17.png 1062w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 ez-toc-wrap-center counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">table of contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #000000;color:#000000\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #000000;color:#000000\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/hanami-web.tokyo.jp\/blog\/en\/website-running\/security-case\/reset-api-error-wordpress\/#%e3%81%aa%e3%81%9c%e3%80%81wordpress_reset_api%e3%81%ab%e3%82%a2%e3%82%af%e3%82%bb%e3%82%b9%e3%81%a7%e3%81%8d%e3%81%be%e3%81%9b%e3%82%93%e3%81%a8%e3%81%aa%e3%82%8b%e3%81%ae%e3%81%8b%ef%bc%9f\" >Why does WordPress RESET API not accessible?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/hanami-web.tokyo.jp\/blog\/en\/website-running\/security-case\/reset-api-error-wordpress\/#%e3%81%95%e3%81%8f%e3%82%89%e3%83%ac%e3%83%b3%e3%82%bf%e3%83%ab%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%a7%e7%a2%ba%e8%aa%8d%e3%81%99%e3%82%8b%e5%a0%b4%e6%89%80\" >Places to check on Sakura Rental Server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/hanami-web.tokyo.jp\/blog\/en\/website-running\/security-case\/reset-api-error-wordpress\/#%e3%81%95%e3%81%8f%e3%82%89%e3%83%ac%e3%83%b3%e3%82%bf%e3%83%ab%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%aewaf%e3%82%92%e8%a7%a3%e9%99%a4\" >Unlocking the WAF on Sakura Rental Server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/hanami-web.tokyo.jp\/blog\/en\/website-running\/security-case\/reset-api-error-wordpress\/#reset_api%e3%81%ae%e5%95%8f%e9%a1%8c%e3%81%8c%e8%a7%a3%e6%b1%ba\" >RESET API issue resolved<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%e3%81%aa%e3%81%9c%e3%80%81wordpress_reset_api%e3%81%ab%e3%82%a2%e3%82%af%e3%82%bb%e3%82%b9%e3%81%a7%e3%81%8d%e3%81%be%e3%81%9b%e3%82%93%e3%81%a8%e3%81%aa%e3%82%8b%e3%81%ae%e3%81%8b%ef%bc%9f\"><\/span>Why does WordPress RESET API not accessible?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n\n\n<p>The site was being run on a Sakura rental server, and it seems that the WordPress RESET API is being blocked by the Sakura rental server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%e3%81%95%e3%81%8f%e3%82%89%e3%83%ac%e3%83%b3%e3%82%bf%e3%83%ab%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%a7%e7%a2%ba%e8%aa%8d%e3%81%99%e3%82%8b%e5%a0%b4%e6%89%80\"><\/span>Places to check on Sakura Rental Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Security<\/li><li>WAF detection logs<\/li><\/ul>\n\n\n\n<p>There it was. It was now clear that it was being blocked by the WAF.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"244\" src=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/image-18-1024x244.png\" alt=\"\" class=\"wp-image-10438\" srcset=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/image-18-1024x244.png 1024w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/image-18-300x72.png 300w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/image-18-768x183.png 768w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/image-18.png 1383w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%e3%81%95%e3%81%8f%e3%82%89%e3%83%ac%e3%83%b3%e3%82%bf%e3%83%ab%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%aewaf%e3%82%92%e8%a7%a3%e9%99%a4\"><\/span>Unlocking the WAF on Sakura Rental Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>We will disable the WAF settings while working, as it would be inconvenient if we were unable to configure WordPress due to WAF blocking.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"582\" height=\"491\" src=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/image-19.png\" alt=\"\" class=\"wp-image-10439\" srcset=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/image-19.png 582w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/image-19-300x253.png 300w\" sizes=\"(max-width: 582px) 100vw, 582px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"69\" src=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/image-20-1024x69.png\" alt=\"\" class=\"wp-image-10440\" srcset=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/image-20-1024x69.png 1024w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/image-20-300x20.png 300w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/image-20-768x52.png 768w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/image-20.png 1516w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Click on the setting, check &quot;Do not use&quot; and save.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"302\" src=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/image-21-1024x302.png\" alt=\"\" class=\"wp-image-10441\" srcset=\"https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/image-21-1024x302.png 1024w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/image-21-300x89.png 300w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/image-21-768x227.png 768w, https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/image-21.png 1151w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>After waiting a few minutes... the RESET API issue was resolved, and I was able to proceed with setting up Site Kit by Google.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"reset_api%e3%81%ae%e5%95%8f%e9%a1%8c%e3%81%8c%e8%a7%a3%e6%b1%ba\"><\/span>RESET API issue resolved<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>By turning off the server&#039;s WAF, we were able to resolve the RESET API issue that was occurring in WordPress.<\/p>\n\n\n\n<p>This time it happened with Site Kit by Google, but I often get questions about other plugins that give the same error and can&#039;t be set up. You can turn off the WAF, but there are security concerns.<\/p>\n\n\n\n<p>Instead of turning off the WAF on the server, I strengthened the WAF with the WordFence plugin. Since this is a security issue, I would like you to decide at your own discretion whether to leave the WAF on the server off!<\/p>","protected":false},"excerpt":{"rendered":"<p>Site Kit by Google\u3092\u4f7f\u3063\u3066WordPress\u30b5\u30a4\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u89e3\u6790\u30c4\u30fc\u30eb\u3092\u5c0e\u5165\u3057\u3088\u3046\u3068\u601d\u3063\u305f\u306e\u3067\u3059\u304c\u3001Site Kit\u304cWordPress RESET API\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u305b\u3093\u3068\u306a\u308a\u3001\u63a5\u7d9a\u304c\u51fa\u6765\u306a\u3044\u3068\u3044 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":10444,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"content-type":"","_uag_custom_page_level_css":"","footnotes":""},"categories":[1447],"tags":[],"class_list":["post-10435","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-security-case"],"blocksy_meta":[],"aioseo_notices":[],"uagb_featured_image_src":{"full":["https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/thumnail-2.png",720,540,false],"thumbnail":["https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/thumnail-2-150x150.png",150,150,true],"medium":["https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/thumnail-2-300x225.png",300,225,true],"medium_large":["https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/thumnail-2.png",720,540,false],"large":["https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/thumnail-2.png",720,540,false],"1536x1536":["https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/thumnail-2.png",720,540,false],"2048x2048":["https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/thumnail-2.png",720,540,false],"trp-custom-language-flag":["https:\/\/hanami-web.tokyo.jp\/blog\/wp-content\/uploads\/2022\/11\/thumnail-2.png",16,12,false]},"uagb_author_info":{"display_name":"\u682a\u5f0f\u4f1a\u793eHanamiWEB \u4ee3\u8868\u53d6\u7de0\u5f79 \u677e\u6d66\u307f\u3055","author_link":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/author\/hanami\/"},"uagb_comment_info":0,"uagb_excerpt":"Site Kit by Google\u3092\u4f7f\u3063\u3066WordPress\u30b5\u30a4\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u89e3\u6790\u30c4\u30fc\u30eb\u3092\u5c0e\u5165\u3057\u3088\u3046\u3068\u601d\u3063\u305f\u306e&hellip;","brizy_media":[],"_links":{"self":[{"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/posts\/10435","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/comments?post=10435"}],"version-history":[{"count":0,"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/posts\/10435\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/media\/10444"}],"wp:attachment":[{"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/media?parent=10435"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/categories?post=10435"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hanami-web.tokyo.jp\/blog\/en\/wp-json\/wp\/v2\/tags?post=10435"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}