Title: Facing Error : 1002
Last modified: December 18, 2020

---

# Facing Error : 1002

 *  Resolved [Arjun](https://wordpress.org/support/users/arj23/)
 * (@arj23)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/facing-error-1002/)
 * After updating to new version, cache stopped working. “Tried Test Cache” it showing
   some error message.
 * Removed all the rules in cloudflare and tried to disable page cache.
 * Getting Error “Invalid page rule identifier (err code: 1002)”
 * (Plz refer the [screenshot](https://drive.google.com/file/d/1TAhKwMAAQrCyqyWNMUcGA6k0nXWXl9Hs/view?usp=sharing))
 * Authentication: Using API key authentication with email id and API Key
 * Please Help me
 * Note:
    Sorry, I cant get logs for debugging, my server don’t have write access.

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

 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/facing-error-1002/#post-13806164)
 * Hi [@arj23](https://wordpress.org/support/users/arj23/),
    Can you show us a screenshot
   of the page rule section of your CF dashboard? Also, it is really hard to track
   down exactly what’s happening without the logs as in the logs we can see exactly
   what’s going on and what response Cloudflare is giving when we talk to them via
   API.
 *  Thread Starter [Arjun](https://wordpress.org/support/users/arj23/)
 * (@arj23)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/facing-error-1002/#post-13806348)
 * Hi [@isaumya](https://wordpress.org/support/users/isaumya/)
 * Thanks for the prompt reply.
 * PFA the screen shot of cloudflare [link](https://drive.google.com/file/d/1p-HpCy5Se62uv7M5mBaXZ5oB0ldwGXql/view?usp=sharing)
 * Regarding logs, am using google app engine, no write access available in it. 
   We use a plugin called “Google Cloud Storage plugin”. It helps to upload images
   and other temp files to a separate storage server. But your plugin logs are not
   created in that storage. If possible consider this as a feature request in your
   future release.
 * Thank you
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/facing-error-1002/#post-13806380)
 * Hi [@arj23](https://wordpress.org/support/users/arj23/),
    Can you Click on RESET
   ALL, and try to resetup the plugin and see if you see the same issue? As without
   the logs, it’s so hard to see what’s happening behind the scene.
 *  Thread Starter [Arjun](https://wordpress.org/support/users/arj23/)
 * (@arj23)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/facing-error-1002/#post-13806639)
 * It’s not working after reset. But i’m not getting the error 1002 when I try to
   disable the cache.
 * I have even tried to downgrade the plugin to version 4.3.6. But issue still persist.
 * Thank you for the support. Will try to get logs.
 * Btw found a minor bug : Click ResetAll-> in the confirmation box click cancel
   button. But it continues to reset.
 *  Thread Starter [Arjun](https://wordpress.org/support/users/arj23/)
 * (@arj23)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/facing-error-1002/#post-13809222)
 * PFA Logs [here](https://drive.google.com/file/d/13MEywFDUqhgMuV8P7bosFrLp76VCyR8l/view?usp=sharing)
 * Logs are created after reset all and configuring again with cloudflare.
 * Kindly help me to find the issue.
 *  Plugin Contributor [Salvatore Fresta](https://wordpress.org/support/users/salvatorefresta/)
 * (@salvatorefresta)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/facing-error-1002/#post-13810023)
 * Hi [@arj23](https://wordpress.org/support/users/arj23/) ,
    the error is:
 * `Your zone already has an existing page rule with that URL. If you are modifying
   only page rule settings use the Edit Page Rule option instead`
 * Please delete the page rules on CF then reset all and enable the page cache again.
   This should solve your problem.
 * > Btw found a minor bug : Click ResetAll-> in the confirmation box click cancel
   > button. But it continues to reset.
 * Thank you, I fixed this on upcoming version.
 * Let me know
 *  Thread Starter [Arjun](https://wordpress.org/support/users/arj23/)
 * (@arj23)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/facing-error-1002/#post-13810797)
 * Still facing the issue.
 * Deleted the page rule in CF and reset all in plugin.
 * Then gave the API key details and domain name. It showed successfully created
   the page rule. Verified the page rule in CF as well ([screenshot](https://drive.google.com/file/d/1PqoAg63h87e-6IIndmKHIFA3-fyYvUvi/view?usp=sharing))
 * Then clicking Test Cache, shows a error pop up
    “Page caching seems not working
   for both dynamic and static pages.”
 * Verified in website, cache is not working. Response headers are shown [here](https://drive.google.com/file/d/113XxMK8xKjqkOluOj-iXNW8U67gQLJ_H/view?usp=sharing)
 * Attached the new logs for the reference [here](https://drive.google.com/file/d/1fBtGOQ8eUf5qviyOohO3NnUfHUHZKULG/view?usp=sharing).(
   Log format will look slightly different, since am retrieving the logs from a 
   database. Ignore it)
 *  Plugin Contributor [iSaumya](https://wordpress.org/support/users/isaumya/)
 * (@isaumya)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/facing-error-1002/#post-13810950)
 * Hi [@arj23](https://wordpress.org/support/users/arj23/),
    First of all the `x-
   wp-cf-super-cache-cookies-bypass: swfpc-feature-not-enabled` is supposed to be
   like that unless you are using the worker mode and added custom cookie name for
   which you want to bypass the caching. Screenshot: [https://i.imgur.com/FsVsfaT.png](https://i.imgur.com/FsVsfaT.png)
 * Now coming to your website, when I am checking the response header I see:
 *     ```
       cache-control: s-maxage=604800, max-age=60
       content-encoding: gzip
       content-length: 63166
       content-type: text/html; charset=UTF-8
       date: Sat, 19 Dec 2020 05:25:35 GMT
       link: <https://potnxt.com/wp-json/>; rel="https://api.w.org/"
       link: <https://potnxt.com/wp-json/wp/v2/pages/3347>; rel="alternate"; type="application/json"
       link: <https://potnxt.com/>; rel=shortlink
       server: Google Frontend
       vary: Accept-Encoding
       x-cloud-trace-context: ef806e7b035db00e25e894216621ae10;o=1
       x-wp-cf-super-cache: cache
       x-wp-cf-super-cache-active: 1
       x-wp-cf-super-cache-cache-control: s-maxage=604800, max-age=60
       x-wp-cf-super-cache-cookies-bypass: swfpc-feature-not-enabled
       ```
   
 * So, I see you `cache-control` has been set properly. but there is no `cf-cache-
   status` header present for any files, which is really wired.
 * Can you please go back to your Cloudflare dashboard and confirm the following
   things:
    1. Development mode is disabled3 2. Site is not paused in Cloudflare
   3. Go to the DNS section of Cloudflare dashboard and the orange cloud is turned
   on for your domains main A record and WWW cname record, I think this is the issue,
   as my hunch says they are currently grey.
 * Please check these and keep us posted.
 *  Thread Starter [Arjun](https://wordpress.org/support/users/arj23/)
 * (@arj23)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/facing-error-1002/#post-13811157)
 * Hi [@isaumya](https://wordpress.org/support/users/isaumya/) , [@salvatorefresta](https://wordpress.org/support/users/salvatorefresta/)
 * It’s Working!
 * As you have mentioned, “WWW cname” record was not proxied in Cloudflare. After
   changing it to orange cloud. It worked.
 * Thank you very much, for spending your valuable time on this ticket.
 *  Plugin Contributor [Salvatore Fresta](https://wordpress.org/support/users/salvatorefresta/)
 * (@salvatorefresta)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/facing-error-1002/#post-13811182)
 * Great! I’m closing this thread and don’t forget to write a review 🙂

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

The topic ‘Facing Error : 1002’ 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/)

 * 10 replies
 * 3 participants
 * Last reply from: [Salvatore Fresta](https://wordpress.org/support/users/salvatorefresta/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/facing-error-1002/#post-13811182)
 * Status: resolved