Open jocelynthode opened 5 months ago
Hey, when trying to create a record at the apex I get a 400:
Reason: Bad Request HTTP response body: {"message":"Validation failed","errors":{"name":["can't be null"]}}
Here is the code:
record = ZoneRecordInput(name="", type="CAA", ttl=60, content='0 issuewild "sectigo.com"') client.zones.create_record( account_id, "example.com", record, )
The to_json() function removes empty fields and thus removed the name. However this field is required when using create_record making it impossible to create an apex level record.
to_json()
name
create_record
Thanks for pointing this out, @jocelynthode. We'll have a look!
Hey, when trying to create a record at the apex I get a 400:
Here is the code:
The
to_json()
function removes empty fields and thus removed thename
. However this field is required when usingcreate_record
making it impossible to create an apex level record.