403 cookie errors during scan
-
I am using MC for the very first time on my website with 80,000 Posts. I recently trashed about half of these Posts and want to trash their images with your plugin. I assumed the scan would take a long time so I wasn’t fazed when MC needed about 50 minutes to get through each percent of the process. I set it up in the daytime and went to bed with the process at 7%.
But when I woke up it had only got to 8% because it was erroring out with 403s on /wp-json/media-cleaner/v1/extract_references. Here is the JSON of the errors:{"code": "rest_cookie_invalid_nonce", "message": "Cookie check failed", "data": {"status": 403}}
Also there were three 404 errors, from the following paths:
/wp-content/plugins/media-cleaner/app/index.js.map
/wp-content/plugins/wp-rest-api-authentication/admin/css/materialdesignicons.css.map
/wp-content/plugins/media-cleaner/app/vendor.js.map
I have pressed Auto-Retry a few times but the 403s are still happening. I checked the PHP logs and there are no messages relating to Media Cleaner in there.
My host pointed to the fact that the WP nonce changes every 24 hours (as outlined in https://developer.www.ads-software.com/news/2023/08/understand-and-use-wordpress-nonces-properly/) as a possible culprit.
Can you advise?
- The topic ‘403 cookie errors during scan’ is closed to new replies.