API suddenly returning authentication error

I’ve had dynamic dns with cloudflare setup in pfsense for ages, and today I noticed that all I get now is authentication errors. Even after reentering the zone id and api token in pfsense.

Anyone having any idea what is going on?

It’s possible the token is expired.

Log in to your Cloudflare dashboard.
Go to the ‘My Profile’ section and then to ‘API Tokens’.
Verify that your API token is still valid and has the correct permissions.

Also take a look at our API troubleshooting doc here. It includes a curl command to check if the token is active. Troubleshooting · Cloudflare Fundamentals docs

I’ve already done that, and I’ve tried with my global api token, and neither works.

Hi @izaacj

Try and run the test you see here: