Title: also getting the Error: Invalid request headers (err code: 6003)
Last modified: January 27, 2025

---

# also getting the Error: Invalid request headers (err code: 6003)

 *  Resolved [rapidasia](https://wordpress.org/support/users/rapidasia/)
 * (@rapidasia)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/also-getting-the-error-invalid-request-headers-err-code-6003/)
 * This plugin has been really great in the past but for some reason I can’t get
   it connected to Cloudflare
 * the Super admin page shows Error: Invalid request headers (err code: 6003)
 * query monitor shows
 * Undefined array key “swcfpc_cf_woker_enabled”
 * wp-content/plugins/wp-cloudflare-page-cache/libs/backend.class.php:342
 * please advise

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

 *  Thread Starter [rapidasia](https://wordpress.org/support/users/rapidasia/)
 * (@rapidasia)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/also-getting-the-error-invalid-request-headers-err-code-6003/#post-18266669)
 * ” cf woker ”
 * thinking there might be a typo in the code
 *  Thread Starter [rapidasia](https://wordpress.org/support/users/rapidasia/)
 * (@rapidasia)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/also-getting-the-error-invalid-request-headers-err-code-6003/#post-18268972)
 * Someone suggested deleting Super Page Cache and reinstalling making sure Cloudflare
   Cache Rule in place, which was good suggestion, but it did not resolve issue.
 * I edited the referenced line of code and that did not resolve the issue either.
 * I reverted to PHP 8.1,x and that didn’t work.
 * This is a WP multisite where I had Super Page network and subsite enabled, that
   didn’t resolve it.
 * I tried with all other plugins disabled.
 * Admin Bar shows green, and purge says successful, but Test Cache returns no cache
   rule message but cache everything rule is in place.
 * … when saving Super Page Cache settings under any tab, Error: Invalid request
   headers (err code: 6003) is displayed.
 * note: other websites with Super Page Cache are working, BUT they also show the
   error code … in Query Monitor. They previously connected…
    -  This reply was modified 1 year, 4 months ago by [rapidasia](https://wordpress.org/support/users/rapidasia/).
 *  Thread Starter [rapidasia](https://wordpress.org/support/users/rapidasia/)
 * (@rapidasia)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/also-getting-the-error-invalid-request-headers-err-code-6003/#post-18268988)
 * WHOA !
 * Using API KEY… key method, not token…. allowed connection…. there is a green 
   button that appears in Super Page Cache to Continue… this worked and error message
   does not appear
 * other previously connected sites used TOKEN I’m pretty sure… they work, but have
   error message
 * so can’t mark as resolved as Cloudflare suggests using TOKEN not KEY..
 *  Thread Starter [rapidasia](https://wordpress.org/support/users/rapidasia/)
 * (@rapidasia)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/also-getting-the-error-invalid-request-headers-err-code-6003/#post-18269382)
 * on top of everything else… Super Page Cache is removing the admin tool bar from
   the front end
 *  Plugin Support [Kush](https://wordpress.org/support/users/kushnamdev/)
 * (@kushnamdev)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/also-getting-the-error-invalid-request-headers-err-code-6003/#post-18273389)
 * Hi [@rapidasia](https://wordpress.org/support/users/rapidasia/),
 * Thank you for sharing the error and other updates with the community.
 * I checked and found that the API token method works perfectly on my end. I was
   able to set up the Cloudflare account using both the token and key methods.
 * Could you please verify if this issue might be affected by any caching plugins
   you have installed? Regarding the last issue related to Admin tool bar, could
   you please share more details about it? Please attach some screenshot as well
   as that make the debugging process easy for us.
 * I look forward to your response. Thank you!
 *  Thread Starter [rapidasia](https://wordpress.org/support/users/rapidasia/)
 * (@rapidasia)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/also-getting-the-error-invalid-request-headers-err-code-6003/#post-18273732)
 * Hi, thanks for response.
 * I’ll try to make sure all other plugins are not messing with the connection.
 * Cloudflare is the culprit for hiding the admin tool bar on the frontend.
 * In CF Development Mode, the admin tool bar loads as expected. When using normal
   cloudflare the admin toolbar is not shown on the frontend, despite being logged
   in.
 * Caching rule is “cache everything”
 * it is nearly impossible to find info on Cloudflare or support for this…
 * it’s hiding the toolbar with almost all plugins deactivated and the cache purged…
   go development mode and it displays…
 * Wondering if you have any suggestions on this… (thanks in advance)
 *  Thread Starter [rapidasia](https://wordpress.org/support/users/rapidasia/)
 * (@rapidasia)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/also-getting-the-error-invalid-request-headers-err-code-6003/#post-18273775)
 * Site is a caching trainwreck for some unknown reason
 * fortunately new site and I’m going to just punt and create new wordpress install
 * marking as resolved, simply because impossible to fix
 * will be sure to connect super page cache with cloudflare before activating other
   plugins which may have caching

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

The topic ‘also getting the Error: Invalid request headers (err code: 6003)’ is 
closed to new replies.

 * ![](https://ps.w.org/wp-cloudflare-page-cache/assets/icon-256x256.gif?rev=3234997)
 * [Super Page Cache – Cloudflare Cache, Page Speed & Core Web Vitals](https://wordpress.org/plugins/wp-cloudflare-page-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cloudflare-page-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [rapidasia](https://wordpress.org/support/users/rapidasia/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/also-getting-the-error-invalid-request-headers-err-code-6003/#post-18273775)
 * Status: resolved