Question
I’m trying to verify my domain with Google Search Console by adding a TXT record, similar to issue #4577. I use Vercel’s name servers so can’t add the TXT file in “Advanced settings” in Namecheap.
So I’ve run into a specific problem:
My domain is only added under my project and not under the team. When I try to use the CLI command:
vercel dns add <domain> '@' TXT 'google-site-verification=<code>'
I get a permissions error because the CLI’s DNS commands only work for domains that are added at the team level, not just the project level.
I can see my domain is properly configured in my project (with Valid Configuration and Assigned to main), but I can’t manage DNS through the CLI.
Question:
Is there a way to add TXT records via CLI for project-level domains? Or do I need to add the domain to the team level first? Is there another way to do this in the dashboard?
When I add the same domain to the team it says it’s already in use.
Thanks in advance!
Related to: #4577 github issue