Title: SEO Data Optimization Fails without Any Error Code or Message
Last modified: June 13, 2024

---

# SEO Data Optimization Fails without Any Error Code or Message

 *  Resolved [Deepak](https://wordpress.org/support/users/d88pak/)
 * (@d88pak)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/seo-data-optimization-fails-without-any-error-code-or-message/)
 * Hi Team,
 * I have recently updated to version 22.8.
 * When I try to optimize the SEO data, it fails with the following message
 * `Oops, something has gone wrong and we couldn't complete the optimization of 
   your SEO data. Please click the button again to re-start the process. If the 
   problem persists, please contact support.Below are the technical details for 
   the error. See [this page](https://yoa.st/4f3?php_version=8.1&platform=wordpress&platform_version=6.5.4&software=premium&software_version=22.8&days_active=930&user_language=en_US&screen=wpseo_tools)
   for a more detailed explanation. `
 * `Error details` (nothing/blank)
 * `**Status code** (nothing/blank)
 * What may be causing this?
 * Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/seo-data-optimization-fails-without-any-error-code-or-message/#post-17827316)
 * Hello Deepak,
 * I’m sorry you couldn’t complete the SEO data optimization. We have seen unexpected
   issues where the previously optimized data is invalid or incomplete. We’ll start
   with a reset of the optimization to ensure we’ve removed any invalid data. We
   know that resetting the data may sound intimidating, but our [How to reset the Yoast indexables](https://yoast.com/help/how-to-reset-yoast-indexables/)
   guide will walk you through the process step by step. We’ve also summarized the
   steps below.
    1. Install & activate the [Yoast Test Helper plugin](https://wordpress.org/plugins/yoast-test-helper/)
    2. Go to Tools > Yoast Test
    3. Locate the Yoast SEO section and click on the ‘_Reset indexables tables & migrations_‘,‘
       _Reset Prominent words calculation_‘, and ‘_Reset Internal link counter_‘ buttons.
       After each click, the page will reload to confirm that the specific reset was
       successful.
    4. Go to SEO > Tools, and under SEO data, click the “Start SEO data optimization”
       button to allow Yoast to rescan your content.
 * Please let us know if the reported issue remains after resetting the optimized
   data.
 *  Thread Starter [Deepak](https://wordpress.org/support/users/d88pak/)
 * (@d88pak)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/seo-data-optimization-fails-without-any-error-code-or-message/#post-17828797)
 * Hi,
 * I followed the instructions. However, it stops with the same blank error message
   I have previously mentioned.
 * If you can suggest any other options to try out, please let me know
 * Thanks!
 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/seo-data-optimization-fails-without-any-error-code-or-message/#post-17836951)
 * Please try the suggestions again. As soon as you get the error, while you’re 
   on the SEO Data Optimization screen, please check if there are Javascript errors
   on your browser’s console? You may follow the steps here – [https://yoast.com/help/how-to-find-javascript-errors-with-your-browsers-console/](https://yoast.com/help/how-to-find-javascript-errors-with-your-browsers-console/)
 *  Thread Starter [Deepak](https://wordpress.org/support/users/d88pak/)
 * (@d88pak)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/seo-data-optimization-fails-without-any-error-code-or-message/#post-17838982)
 * Hi [@maybellyne](https://wordpress.org/support/users/maybellyne/) ,
 * I followed your instructions and watch the concole. I am getting **Gateway Timeout**
 * **Following are the messages**
   `POST https://www.mysite.com/wp-json/yoast/v1/
   link-indexing/posts 504 (Gateway Timeout) /wp-content/plugins/wordpress-seo/js/
   dist/indexation.js?ver=06817d20ccce29675844`
 * `doIndexingRequest@indexation.js?ver=06817d2…:8`
 * `doIndexing@indexation.js?ver=06817d2…:8`
 * `await in doIndexing (async)`
 * `index@indexation.js?ver=06817d2…:8`
 * If these message makes sense, please help me
 * Seems like something is running at server end for too long
 * Thanks!
    -  This reply was modified 1 year, 11 months ago by [Deepak](https://wordpress.org/support/users/d88pak/).
 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/seo-data-optimization-fails-without-any-error-code-or-message/#post-17839160)
 * Thanks for sharing the console errors; it’s helpful. The SEO data optimization
   feature uses the WordPress REST API to scan posts/pages for the right internal
   links to show. Your server returned a 500 error when accessing the REST API.
 * **Please contact your web host to review your server setup to determine why the
   REST API returns the error.** There may be a server setting or module that needs
   to be adjusted such as mod_security. If you are using security plugins they can
   block access to /wp-json/yoast/ file pathway. You may need to contact them or
   your host provider and whitelist that URL. Once the server no longer returns 
   the error, we would expect the SEO Data feature to load and work correctly.
 * In addition, you may also need to adjust cache settings of your site to remove/
   wp-json/yoast from the caching. If you are not sure how to do that please contact
   your host provider and/or caching plugin authors.
 *  Thread Starter [Deepak](https://wordpress.org/support/users/d88pak/)
 * (@d88pak)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/seo-data-optimization-fails-without-any-error-code-or-message/#post-17841892)
 * Hi [@maybellyne](https://wordpress.org/support/users/maybellyne/),
 * There is nothing that blocks the API as far as I am concerned.
 * If I reset from Yoast helper, It restarts the SEO data optimization from beginning.
   It gets stuck on one point.
 * When I tried to continue from there, I get the following message on the console
 * `admin.php?page=wpseo_tools:105 Refused to create a worker from 'blob:https://
   www.mysite.com/76a0163c-be38-4ca9-8ddf-69fa72ff7915' because it violates the 
   following Content Security Policy directive: "default-src * data: 'unsafe-eval''
   unsafe-inline'". Note that 'worker-src' was not explicitly set, so 'default-src'
   is used as a fallback. Note that '*' matches only URLs with network schemes ('
   http', 'https', 'ws', 'wss'), or URLs whose scheme matches self's scheme. The
   scheme 'blob:' must be added explicitly.
   (anonymous) @ admin.php?page=wpseo_tools:
   105
 * Could this be other issue?
 * Thanks!
 *  Thread Starter [Deepak](https://wordpress.org/support/users/d88pak/)
 * (@d88pak)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/seo-data-optimization-fails-without-any-error-code-or-message/#post-17842784)
 * Sorry, the earlier console error may not be related.
 * I noticed that it stops with **404** on this URL
 * `https://www.mysite.com/wp-admin/true?plugin_version=22.8&site=https%3A%2F%2Fwww.
   mysite.com`
 * What could be causing this?
 * Thanks!
    -  This reply was modified 1 year, 11 months ago by [Deepak](https://wordpress.org/support/users/d88pak/).
 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/seo-data-optimization-fails-without-any-error-code-or-message/#post-17852229)
 * We’d have to investigate further on this as it could be something specific to
   your setup, but we are unable to do so over these public forums. You might want
   to consider [Yoast SEO Premium](https://yoast.com/wordpress/plugins/seo/) for
   personal premium support so we can take a closer look at this.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘SEO Data Optimization Fails without Any Error Code or Message’ is closed
to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

 * [YoastSEO](https://wordpress.org/support/topic-tag/yoastseo/)

 * 8 replies
 * 2 participants
 * Last reply from: [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/seo-data-optimization-fails-without-any-error-code-or-message/#post-17852229)
 * Status: resolved