It’s fine now, just that I came to this page in my search for a solution. So when filling in the CloudFlare API key in WordPress, it may give this error “invalid request header”. But it means you’re filling in the wrong key. I was filling in an API Token instead of API key.