Closed ponasromas closed 4 years ago
Is it working if you do a patch request to the API using Postman or similar tool?
Looking at the error message, it suggests the record you are trying to update is malformed. The full response may provide more details.
@ponasromas $details
needs to contain all required fields type
, name
, content
and ttl
.
See api doc
Issue still not resolved, all details provided. Error:
resulted in a `400 Bad Request` response:
{"result":null,"success":false,"errors":[{"code":9207,"message":"Failed to parse request body...<...>
Request:
$dns->updateRecordDetails($zoneID, $rid, array($type, $name, $content, $ttl, true));
Desired effect: enable Cloudflare proxy.
Result: query failed, record not updated.
Does this API SDK still maintained?
Fixed.
I'am unable to update record. Specifically to disable Cloudflare proxy. Code:
Output: