I am trying to use the official Cloudflare plugin on WordPress. I setup an API token using the WordPress template but when I enter my email address and api token in WordPress it says "Email address or API Key invalid. But they are correct. Any ideas?
There’s always the chance there’s an extra space on the beginning or end.
No. First thing I checked. I have found my global API key works just not a scoped token, looks like they authenticate to the API differently and the wordpress plugin expects and is made to work with the global API key, not sure how I feel about using an unscoped set of credentials on my site like that.
Did you manage to solve this? I had the same issue earlier today and found your post while debugging. What I discovered is that my api token had to have both the ability to edit the target DNS, but also the ability to read the target zone.