{"id":18595725,"date":"2025-08-12T13:41:41","date_gmt":"2025-08-12T13:41:41","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/404-sync-error\/"},"modified":"2025-08-12T13:41:41","modified_gmt":"2025-08-12T13:41:41","slug":"404-sync-error","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/404-sync-error\/","title":{"rendered":"404 Sync Error"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I was getting a 404 error and the otto pixel was not being recognized. I tried several different installation methods  (GTM, WP, Custom Installation). Turns out the pageUrl was pulling from my wp_options page and adding https:\/\/ in front of the verification request <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/sa.searchatlas.com\/api\/v2\/otto-url-details\/?url=www.paintingangels.com&amp;uuid=96739925-a722-4a96-9256-8f54bd60c9e2\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/sa.searchatlas.com\/api\/v2\/otto-url-details\/?url=<strong>https:\/\/<\/strong>www.mydomain.com&amp;uuid=<\/a>myuuidhere<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">without the https:\/\/ it works <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/sa.searchatlas.com\/api\/v2\/otto-url-details\/?url=www.paintingangels.com&amp;uuid=96739925-a722-4a96-9256-8f54bd60c9e2\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/sa.searchatlas.com\/api\/v2\/otto-url-details\/?url=www.mydomain.com&amp;uuid=<\/a>myuuidhere<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">in class-metasync-public.php line 174<br \/>this =&gt; $page_url = esc_url(home_url(add_query_arg([], $_SERVER[&#8216;REQUEST_URI&#8217;])));<br \/><br \/>this code requires that the home wp_option to not have https:\/\/ or http:\/\/ on it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Either SearchAtlas enforces that on line 174 or make that clear for technical users or have your plugin edit wp_options &#8220;home&#8221; to make sure this doesn&#8217;t break. <br \/><br \/>It really depends on each WordPress Installation and I feel like the plugin should at least be able to clean this up or add on their API call the ability to receive url with https in front of it. <\/p>\n","protected":false},"template":"","class_list":["post-18595725","topic","type-topic","status-publish","hentry","topic-tag-code","topic-tag-development","topic-tag-plugin"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18595725","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18595725\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18595725"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}