yy3banfactory-1675 Additional information: The internal preview still returns a 404 error. The Terminal in the test project also displays “An unexpected error occurred.” Clicking Retry does not resolve the issue. The source code is still accessible, and I have downloaded a ZIP backup. The original project’s preview still works. Could you please help me restore the test project’s Sandbox, Terminal, and internal preview without losing my existing work, changing production settings, deploying publicly, or upgrading to a paid plan? Thank you for your help.
yy3banfactory-1675 I inspected the downloaded source code and found that lib/test-environment.ts intentionally returns a 404 when the Sandbox session ID or preview host does not match the pinned assignment in .preview-host.local.json. Could the Sandbox session change have caused this mismatch? Is there a safe way to update the pinned assignment and restore the Terminal and internal preview without weakening the existing security restrictions or deploying the project?
Troy The Vercel MCP connector in Codex can read my team. With that same team scope, looking up an existing private project by ID returns 404 not_found (“Project not found”). Looking up its Preview deployment by ID also returns 404 not_found (“Deployment not found”). In the signed-in Vercel dashboard, the same project is visible and the deployment shows Ready in Preview. Vercel Authentication is enabled with Standard Protection, and the browser reaches the application’s sign-in page. Reconnecting the Vercel app in Codex and completing OAuth for the project-scoped MCP endpoint both left the same resu
Troy Following up with a more specific result from December 3. For the same existing project and team, the Codex Vercel connector now returns HTTP 403 on the project connector-access lookup. Vercel reports that the app installation does not have access to the project. The team-scoped project search is empty, and the exact project and deployment lookups still return 404. The signed-in dashboard shows the existing Preview is Ready with Standard Protection, and the browser reaches the application sign-in page. The prior reconnect and project-scoped OAuth authorization did not change the connector resu
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).