• Hi there,

    WP SITE HEALTH STATUS – See screen shots
    Critical Issue – The REST API encountered an error.
    The REST API is one way WordPress, and other applications, communicate with the server. One example is the block editor screen, which relies on this to display, and save, your posts and pages.

    The REST API request failed due to an error.
    Error: [] cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received
    ___________

    I have been experiencing the issues below for 10 days, and my hosting provider has been unable to resolve the issue and my theme support informs me it is not a bug with the theme. My hosting provider confirms my system requirements are correct for word press 5.2.2, elementor and my theme and have not provided me with an explanation of the REST API error or solution for the following issues.

    ISSUES
    1. ELEMENTOR & WOOCOMMERCE – Unable to insert media from existing media library into elementor/woocommerce pages. The spinning icon continues to spin. I have left for 15mins.
    2. PLUGIN PAGE – Unable to update plugins. Error message “Update Failed: 0”.
    3. PLUGIN PAGE – Unable to delete plugins. Error message “Deletion Failed: 0”.
    4. PLUGIN PAGE – Unable to search new/existing plugins. The spinning icon continues to spin.

    Would the above issues be a result of the REST API error or something else?

    I have de-activated all plugins without any change.

    I have cleared browser cache.

    I have changed the file permissions for “Uploads” via ftp;
    from: 755 all directories /files
    to: 755 directories only and 644 files only.
    I tried 744 for the directories only but, both elementor and my site would not open.

    Should I change file permissions for plugins?

    Thank you, any assistance is greatly appreciated!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • REST api allows javascript to communicate with php. It wouldn’t effect updates. CRUD is for working with the database CRUD stands for create read update and delete. REST allows the front end of your site to query the database and return the results as a json string. You can see the results of crud by enter <<your domain>>/wp-json/wp/v2/post. REST allows your screen to be updated without have to refresh and reload the screen. It has no role in updating your site.

    Thread Starter Shell10

    (@shell10)

    Thank you so much for taking the time to explain. Good to know REST API does not affect updates, thanks for the clarification. That’s the first part of the mystery solved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Site Health – The REST API request failed due to an error.’ is closed to new replies.