Cloudflare error code 10000 although authentication code is correct

You don’t need X-Auth-Key or X-Auth-Email header if you are using an API token. There is an issue with the docs about it