Issue using specific endpoints - Authentication error returned (10000 error)

I am reaching out for assistance regarding an issue we’re encountering across various Cloudflare account plans, including Free, Pro, and Business. We are consistently receiving an ‘Authentication error’ when using the Cloudflare Python package to interact with the API, specifically when accessing the following endpoints:

  • .zones.rulesets.phases.http_request_firewall_managed.entrypoint
  • .zones.rulesets.phases.http_request_firewall_custom.entrypoint

Interestingly, this error does not occur in our paid Cloudflare account, where API calls successfully return the expected data without any authentication issues.We’ve ensured that all API keys and permissions are correctly configured according to the documentation. Despite this, the authentication error persists for accounts other than our paid one.
Could you provide any insights into why this might be happening and whether there are specific limitations or features related to different plans that could lead to such errors? Any guidance on how to resolve this issue or steps to prevent it from occurring in the future would be greatly appreciated.

1 Like

Can you try from incognito mode?

If you keep getting the error, can you create an Account ticket and share your ticket number here? You can open an Account ticket here, https://dash.cloudflare.com/?to=/:account/support

Hi thanks for the reply,
Trying in Incognito would be irrelevant since I am using it programmatically via API.

I opened case meanwhile.

Any idea about a workaround when using those endpoints via API?

Can you

https://support.cloudflare.com/hc/en-us/requests/3181587

1 Like

Thank you. Do you know if you have the “Zone:Firewall Services:Read” permission enabled for your API token?

We’ve given all the permissions possible to our api token

Hello,

I see our team has asked for more details on your ticket 3181587 they will continue to assist you on the ticket. We just need some more information to continue. We appreciate your patience.

3 Likes

Hi @idan.arie

The free plan don’t have access to managed rules and this is why you see Authentication error returned (10000 error). The error means that you are not allowed to make changes to a product that you don’t have access to.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.