You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do not know how I did it but it works again so I noticed an error on your code here is what I added
if ($data->success) {
// Extract the record ID (if it exists) for the subdomain we want to update.
$rec_exists = false; // Assume that the record doesn't exist.
if (!empty($data->result)) {
$rec_exists = true; // If this runs, it means that the record exists.
$id = $data->result[0]->id;
$cfIP = $data->result[0]->content; // The IP Cloudflare has for the subdomain.
$proxied = $data->result[0]->proxied; // The IP Cloudflare has for the subdomain.
}
look for proxied $proxied = $data->result[0]->proxied;
Array
(
[0] => stdClass Object
(
[code] => 6003
[message] => Invalid request headers
[error_chain] => Array
(
[0] => stdClass Object
(
[code] => 6103
[message] => Invalid format for X-Auth-Key header
)
)
The text was updated successfully, but these errors were encountered: