Cannot add more than 1 (one) zone via API

What is the name of the domain?

example.com

What is the error number?

1118

What is the error message?

You have exceeded the limit for adding zones. Please activate some zones.

What is the issue you’re encountering

I have added 1 zone to a Free account. Adding a 2nd zone fails with the mentioned error

What steps have you taken to resolve the issue?

I have deleted all zones. Having no zones allows me to add a single zone, adding a 2nd one fails.

What feature, service or problem is this related to?

DNS records

What are the steps to reproduce the issue?

  1. Add a zone to an account via https://api.cloudflare.com/client/v4/zones
  2. Add a 2nd zone to the same account

You need to finish setting up the first zone before you can add a second.

1 Like

I thought so, but why is that? I thought I could add up to 50 zones before I need to start doing this.

Also why can I add multiple Websites and thus zones via the dashboard just fine? All of these are then “pending”. Shouldn’t the API allow at least everything that is possible with the dashboard?

Seems like Account Tokens are not properly working or have an invisible limitation. We performed our tests with an Account Token.

Replacing it with a User Token (same permissions) works: we can add multiple zones just fine.

1 Like

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