Skip to content
5 changes: 5 additions & 0 deletions .changeset/slick-lands-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@vercel/sandbox": patch
---

Smarter fallback team selection for scope inference: tries `defaultTeamId` first, then the best OWNER team (personal team or most recently updated). Skips teams that return 403 and shows a helpful error when no team allows sandbox creation.
2 changes: 1 addition & 1 deletion packages/vercel-sandbox/src/auth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ export type * from "./file.js";
export * from "./oauth.js";
export type * from "./oauth.js";
export { pollForToken } from "./poll-for-token.js";
export { inferScope, selectTeam } from "./project.js";
export { inferScope, selectTeams } from "./project.js";
Loading
Loading