cloudmanic The project list is the clue. If Genioteca doesn't show up when you list projects with that Team ID, the team doesn't own it, so every call scoped to that team returns 404 for it, analytics included. Open the project in the dashboard and look at the URL: vercel.com/your-scope/genioteca. If the scope is your personal account and not the team, the Web Analytics API docs say to leave teamId and slug off entirely for personal-account projects. A token scoped to a team can't see those projects, so create a new token with Full Account scope and call visits/count with only projectId. If the URL shows
Gal Lookout The API does serve Hobby projects. I read several Hobby projects through visits/aggregate every day, so Hobby does not cause this 404. If /v9/projects/<id> returns 200 but analytics returns 404, check that both calls use the same teamId (no teamId for a personal project).
Amy Egan It looks like your domain is configured to use Vercel nameservers, but Vercel DNS isn't enabled. You can enable Vercel DNS by clicking the 'Enable Vercel DNS' button in your domain settings to activate DNS management
Juan Manuel Update: this resolved itself today, about 5 weeks after I first delegated the domain. misconfigured is now false for both ocupia.com.ar and www.ocupia.com.ar, the site resolves correctly, and I was able to add DNS records (MX/TXT) through the API without any invalid_zone error. Not sure what changed on Vercel's end, but marking this as resolved in case anyone else finds this thread with the same issue. Thanks for the help along the way!