Error code 1000 - Invalid zone identifier


#1

Hi there
I make use of the CF API to create DNS A records on a single zone. Everything has been working like clockwork for the last 2 or 3 months but seems to have stopped working at some point in the last 72 hours. The error message returned is a code 1000 “Invalid zone identifier” message. The curl API call works fine via the command line, but yields the above error when creating a new A record via PHP. The PHP code hasn’t changed.
I received the same “Invalid zone identifier” message in a red banner at the bottom of the CF dashboard when I attempted to manually remove a DNS record. Despite the error message, the DNS record was successfully removed via the dashboard.
Has anything perhaps changed on CF’s side in the last 72 to 96 hours that could be causing the above?
Many thanks in advance


#2

Sorted :slight_smile:

I was parsing the TTL as a string instead of an integer.