Ever since a day ago I’ve been unable to retrieve details on pending zones I create via the API.
Here’s the sequence of calls:
- POST https://api.cloudflare.com/client/v4/zones { name: “???.tld”, account: { id: “???”, jump_start: false, type: “full” }}
Note: I’ve tried jump_start=true as well.
-
GET https://api.cloudflare.com/client/v4/zones/(zone ID from the response from the previous call) gives me a 403 with this as the response body:
{
“success”: false,
“errors”: [
{
“code”: 9109,
“message”: “Invalid zone identifier”
}
],
“messages”: ,
“result”: null
}
If I call GET https://api.cloudflare.com/client/v4/zones, the zone appears in the results.
If I update my domain nameservers with my registrar and wait for Cloudflare to pick it up, I am eventually able to get my zone details–and at that point my zone is in an “active” state.
So it seems like I’m unable to retrieve zone details for “pending” zones, and I’m able to replicate this issue on two separate CF accounts.
Has anyone else run into this?