netlify-purge-cloudflare-on-deploy
netlify-purge-cloudflare-on-deploy copied to clipboard
404 not found error
11:42:55 AM: ────────────────────────────────────────────────────────────────
11:42:55 AM: Plugin "netlify-purge-cloudflare-on-deploy" failed
11:42:55 AM: ────────────────────────────────────────────────────────────────
11:42:55 AM:
11:42:55 AM: Error message
11:42:55 AM: Error: Cloudflare cache purge failed
11:42:55 AM: Cloudflare cache couldn't be purged. Status: 404 Not found
11:42:55 AM: Plugin details
11:42:55 AM: Package: netlify-purge-cloudflare-on-deploy
11:42:55 AM: Version: 1.2.0
11:42:55 AM: Repository: git+https://github.com/chrism2671/netlify-purge-cloudflare-on-deploy.git
11:42:55 AM: npm link: https://www.npmjs.com/package/netlify-purge-cloudflare-on-deploy
11:42:55 AM: Report issues: https://github.com/chrism2671/netlify-purge-cloudflare-on-deploy/issues
11:42:55 AM:
11:42:55 AM: Error location
11:42:55 AM: In "onSuccess" event in "netlify-purge-cloudflare-on-deploy" from Netlify app
11:42:55 AM:
11:42:55 AM: Resolved config
11:42:55 AM: build:
11:42:55 AM: environment:
11:42:55 AM: - CLOUDFLARE_API_TOKEN
11:42:55 AM: - CLOUDFLARE_ZONE_ID
11:42:55 AM: - NETLIFY_GRAPH_TOKEN
11:42:55 AM: - ONEGRAPH_AUTHLIFY_TOKEN
11:42:55 AM: publish: /opt/build/repo
11:42:55 AM: publishOrigin: ui
11:42:55 AM: plugins:
11:42:55 AM: - inputs: {}
11:42:55 AM: origin: ui
11:42:55 AM: package: netlify-purge-cloudflare-on-deploy
Thanks for the report @kcoderhtml. It should be straightforward to debug, but alas I don't have time to maintain this at the moment. If you're willing to submit a tested PR, I'd be happy to merge it.
That makes sense I'm not quite sure how to debug it but would be willing to help if you could point me to some instructions.
I found the issue I didn't know what the zone id was so I put in my domain which didn't work