OVH DNS API: DNS update failed :(

Hi,
I wanted to automatically update my DNS records on OVH using Certfytheweb.
I’ve went through this tutorial https://docs.certifytheweb.com/docs/dns-ovh.html
created API keys on the OVH portal…

But I got this error in my logs:

2020-02-06 20:20:18.299 +01:00 [INF] DNS: Creating TXT Record '_acme-challenge.waw.xxxxxxxxxxxx.com' with value 'spPk_dOIkyZjxxxxxxxxxxxxxxxxKxx', in Zone Id '' using API provider 'OVH DNS API'
2020-02-06 20:20:18.299 +01:00 **[ERR] DNS update failed: OVH DNS API :: DNS record creation failed** for '_acme-challenge.waw.xxxxxxxxx.com'.  Error was System.ArgumentNullException: Value cannot be null.
Parameter name: value
   at System.String.EndsWith(String value, StringComparison comparisonType)
   at Certify.Providers.DNS.OVH.DnsProviderOvh.<CreateRecord>d__29.MoveNext()

What am I doing wrong?

1 Like

Hi, looks like maybe the zoneid isn’t set, this is normally at least the top level domain name.

1 Like

You are right.
I haven’t set Dns Zone Id.
After choosing domain it worked perfectly.

Thanks,
Pawel

1 Like