This repository has been archived by the owner on Dec 20, 2024. It is now read-only.
API Access Token is not permitted to alter DNS configuration #7256
Replies: 1 comment
-
This discussion was automatically locked because the community moved to a new site. Please join us at vercel.community |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Page to Investigate
https://vercel.com/docs/cli/dns
Steps to Reproduce
I'm using Vercel DNS to manage DNS for a domain and have it point to both a Next.js app and a backend service on AWS. I'm trying to automate the process of adding or updating a CNAME record for the backend subdomain to point to its load balancer using the Vercel CLI in my CI/CD pipeline. However, when I run
vercel dns add <domain> <subdomain> CNAME "<dns>" --token <vercel-token>
, I get the following error:Error: You don't have permissions to add records to domain <domain> under <project>
This command works without issues when run from my own machine using SSO login, if not specifying a
--token
.Beta Was this translation helpful? Give feedback.
All reactions