go-acme / lego

Let's Encrypt/ACME client and library written in Go
https://go-acme.github.io/lego/
MIT License
7.91k stars 1.02k forks source link

ns1: fix record creation #2115

Closed ldez closed 7 months ago

ldez commented 7 months ago

Regression on the API client from a breaking change of the NS1 API client: https://github.com/ns1/ns1-go/pull/220

Same problem as https://github.com/ns1/ns1-go/pull/51

unable to generate a certificate for the domains [*.internal.redacted.com internal.redacted.com internal.redacted.com]:
error: one or more domains had a problem:
[*.internal.redacted.com] [*.internal.redacted.com] acme: error presenting token:
ns1: failed to create record [zone: \"internal.redacted.com\", fqdn: \"_acme-challenge.internal.redacted.com.\"]: PUT https://api.nsone.net/v1/zones/internal.redacted.com/_acme-challenge.internal.redacted.com/TXT: 400 Input validation failed (Value None for field '<obj>.tags' is not of type object)
[internal.redacted.com] [internal.redacted.com] acme: error presenting token:
ns1: failed to create record [zone: \"internal.redacted.com\", fqdn: \"_acme-challenge.internal.redacted.com.\"]: PUT https://api.nsone.net/v1/zones/internal.redacted.com/_acme-challenge.internal.redacted.com/TXT: 400 Input validation failed (Value None for field '<obj>.tags' is not of type object)

Related to: