Error with google domains: Detail: Incorrect TXT record

My domain is:

I ran this command:
sudo certbot -d $DOMAIN -d $WILDCARD --manual
–preferred-challenges dns certonly

It produced this output:
Press Enter to Continue
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. (dns-01): urn:ietf:params:
acme:error:unauthorized :: The client lacks sufficient authorization ::
Incorrect TXT record “LIJR3KQGHKOTFps-H1sXPzB6MLC2pgDdN92UggJ6bNw” fou
nd at

 - The following errors were reported by the server:

   Type:   unauthorized
   Detail: Incorrect TXT record
   "LIJR3KQGHKOTFps-H1sXPzB6MLC2pgDdN92UggJ6bNw" found at

   To fix these errors, please make sure that your domain name was
   entered correctly and the DNS A/AAAA record(s) for that domain
   contain(s) the right IP address.

My web server is (include version):
nginx version: nginx/1.14.0 (Ubuntu)

The operating system my web server runs on is (include version):
Ubuntu 18.04 LTS

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know):

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):
certbot 0.31.0


I have this public ip for my server:

And i have this A records in google domains:
@ A 1m
api A 1m

and i have a txt record:
_acme-challenge TXT 1m "9OUkZJK0gOyyeWVye2C16iz5b-sL7IefbxbMtZuRx5o"

but this not works.

The error Incorrect TXT record ever show the previous value registered

1 Like

How long are you waiting, after updating the record and before continuing in Certbot?

You should be waiting at least a couple of minutes, to allow for Google’s nameservers to all receive the required updates.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.