Title: Error: Invalid request headers (err code: 6003 )
Last modified: August 4, 2020

---

# Error: Invalid request headers (err code: 6003 )

 *  Resolved [palmtek](https://wordpress.org/support/users/palmtek/)
 * (@palmtek)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-invalid-request-headers-err-code-6003/)
 * I have to past the API key in every time I make a change to settings or I get
   this error.
 * Error: Invalid request headers (err code: 6003 )
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-invalid-request-headers-err-code-6003%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [Salvatore Fresta](https://wordpress.org/support/users/salvatorefresta/)
 * (@salvatorefresta)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-invalid-request-headers-err-code-6003/#post-13209049)
 * Hi,
    are you using API key or API token? This is a Cloudflare error about invalid
   credentials.
 *  Thread Starter [palmtek](https://wordpress.org/support/users/palmtek/)
 * (@palmtek)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-invalid-request-headers-err-code-6003/#post-13209227)
 * It’s an API Key
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-invalid-request-headers-err-code-6003/#post-13209349)
 * Hi [@palmtek](https://wordpress.org/support/users/palmtek/),
    Are you using Global
   API Key?
 *  Thread Starter [palmtek](https://wordpress.org/support/users/palmtek/)
 * (@palmtek)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-invalid-request-headers-err-code-6003/#post-13209487)
 * Yes
 *  Plugin Contributor [Salvatore Fresta](https://wordpress.org/support/users/salvatorefresta/)
 * (@salvatorefresta)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-invalid-request-headers-err-code-6003/#post-13211231)
 * Hi [@palmtek](https://wordpress.org/support/users/palmtek/) ,
    please send us
   the screenshot of the page where you add the global api key and the log file 
   please
 *  Thread Starter [palmtek](https://wordpress.org/support/users/palmtek/)
 * (@palmtek)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-invalid-request-headers-err-code-6003/#post-13214124)
 * To whom? Do you have an upload form somewhere I can use?
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-invalid-request-headers-err-code-6003/#post-13214145)
 * On the plugin settings page right hand side you will find an email id. Enable
   logs inside the plugin and then retry the step that is giving you the issue. 
   Then download the log and send that to the email id.
 *  Plugin Contributor [Salvatore Fresta](https://wordpress.org/support/users/salvatorefresta/)
 * (@salvatorefresta)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-invalid-request-headers-err-code-6003/#post-13229488)
 * The error was due to an incorrect API key
    -  This reply was modified 5 years, 9 months ago by [Salvatore Fresta](https://wordpress.org/support/users/salvatorefresta/).
 *  Thread Starter [palmtek](https://wordpress.org/support/users/palmtek/)
 * (@palmtek)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-invalid-request-headers-err-code-6003/#post-13229571)
 * I used a Global API Key. Should it be a Global Key, the Zone ID Key, or the Account
   ID Key?
    I only recall it asking for the Global API Key, which is the key I used.
   I know the key to be valid, because other plugins use it without issue.
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-invalid-request-headers-err-code-6003/#post-13230139)
 * Hi [@palmtek](https://wordpress.org/support/users/palmtek/),
    If you are certain
   that you are entering the correct key and there is no mistake in your key. Enable
   the log mode, add your key, after you get the error check the log. It will show
   you everything.
 *  [bandit1730](https://wordpress.org/support/users/bandit1730/)
 * (@bandit1730)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/error-invalid-request-headers-err-code-6003/#post-13234467)
 * I had the same issue and noticed that whenever entering Cloudflare API key, upon
   saving, the key characters were chunked.
    This made me realize that the UI was
   actually replacing the API key with browser saved Cloudflare login password.
 * To make it work and accept the API key, I opened a new incognito window and then
   the API key wasn’t replaced by my saved password.
 * Help this work with your error code 6003
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/error-invalid-request-headers-err-code-6003/#post-13235271)
 * Hi [@bandit1730](https://wordpress.org/support/users/bandit1730/),
    Thanks for
   sharing your finding. But the plugin didn’t replace the API key with the saved
   password. Instead when you enter API key and then hit Tab, some browser auto 
   replace it with password or if you have clicked on the Dave password drop-down,
   then only the saved password here added to the input fields. The plugin doesn’t
   do anything like that.

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

The topic ‘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](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/)

 * 12 replies
 * 4 participants
 * Last reply from: [iSaumya](https://wordpress.org/support/users/isaumya/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/error-invalid-request-headers-err-code-6003/#post-13235271)
 * Status: resolved