Hello!
On my cloudflare account there are 32 domains. When I try renew then certificate (manually or cron job) an error happens becouse the API request return only 20 domains per pagination.
{
"status": false,
"msg": "Error unable to get DNS zone for domain_name=example.com: status_code=200 response=CLOUDFLARE_API_RESPONSE"
}
Following there is the CLOUDFLARE_API_RESPONSE
{
"result": [
{
"id": "7fh7s6h7s6s76j6s7j",
"name": "example.net",
"status": "active",
"paused": false,
"type": "full",
"development_mode": 0,
"name_servers": ["jhon.ns.cloudflare.com", "mary.ns.cloudflare.com"],
"original_name_servers": ["a.auto.dns.br", "b.auto.dns.br"],
"original_registrar": null,
"original_dnshost": null,
"modified_on": "2020-06-16T16:36:07.497069Z",
"created_on": "2020-06-16T14:31:34.296159Z",
"activated_on": "2020-06-16T16:36:07.497069Z",
"meta": {
"step": 2,
"wildcard_proxiable": false,
"custom_certificate_quota": 0,
"page_rule_quota": 3,
"phishing_detected": false,
"multiple_railguns_allowed": false
},
"owner": {
"id": "67d6h7adh7adhd5h6sd5h5e4dea46c0",
"type": "user",
"email": "my.account@gmail.com"
},
"account": {
"id": "67d6h7adh7adhd5h6sd5h5e4dea46c0",
"name": "Company Account"
},
"permissions": [...],
"plan": {
"id": "0feeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
"name": "Free Website",
"price": 0,
"currency": "USD",
"frequency": "",
"is_subscribed": false,
"can_subscribe": false,
"legacy_id": "free",
"legacy_discount": false,
"externally_managed": false
}
},
...
],
"result_info": {
"page": 1,
"per_page": 20,
"total_pages": 2,
"count": 20,
"total_count": 32
},
"success": true,
"errors": [],
"messages": []
}