arkhi-digital / silverstripe-cloudflare

This module aims to relieve the stress of using CloudFlare caching with any SilverStripe project. Adds extension hooks that clears CloudFlares cache for a specific page when that page is published or unpublished
BSD 3-Clause "New" or "Revised" License
24 stars 9 forks source link

ZoneID error #46

Closed Firesphere closed 1 year ago

Firesphere commented 1 year ago

The request to find the zone ID is returning no results.

However, I'm sure I have the correct credentials. Is there any way to debug this problem?

tim-mediasuite commented 1 year ago

You can use something like curl -X GET "https://api.cloudflare.com/client/v4/zones/" \ -H "Content-Type:application/json" \ -H "X-Auth-Key:somekey" \ -H "X-Auth-Email:example@example.com"

to figure out whether it's the credentials or the module.

Firesphere commented 1 year ago

Turns out that it was a Cloudflare/cache issue... :man_facepalming: