I moved to a monoreppo and want to use remote caching (using nextjs 15.4.5 and turbo 2.5.5).
The issue is pretty simple, turbo login returns [HTTP 403] request to https://vercel.com/api/v5/user/tokens/current returned "Not authorized", so I need to force it using turbo login --force and now it work like a charm.
The issue comes with turbo link, which returns me a 403 right after choosing my repo. ? Enable Vercel Remote Cache for ~/work/numo ? yes × Could not get user information: Error making HTTP request: HTTP status client error (403 Forbidden) for │ url (https://vercel.com/api/v2/user) ├─▶ Error making HTTP request: HTTP status client error (403 Forbidden) for url (https://vercel.com/api/v2/ │ user) ╰─▶ HTTP status client error (403 Forbidden) for url (https://vercel.com/api/v2/user)
I have no clue on why it happened, is there any way to relink the project or redo the link from scratch. But I’m stuck there and can’t find any reason why.
Currently on local machine only, I have legit no clue why it’s happening to me, I’ve done nothing “deep” it’s the basic turbo login/link.
Do you have any leads?
and it generates a new token, but I get 403 again running
npx turbo link
output:
turbo 2.5.6
>>> Remote Caching
Remote Caching makes your caching multiplayer,
sharing build outputs and logs between developers and CI/CD systems.
Build and deploy faster.
For more information, visit: https://turborepo.com/docs/core-concepts/remote-caching
? Enable Vercel Remote Cache for ~/Projects/[***] ? yes
× Could not get user information: Error making HTTP request: HTTP status client error (403 Forbidden) for url (https://vercel.com/api/v2/user)
├─▶ Error making HTTP request: HTTP status client error (403 Forbidden) for url (https://vercel.com/api/v2/user)
╰─▶ HTTP status client error (403 Forbidden) for url (https://vercel.com/api/v2/user)
I have the exact same issue, running turbo login --force:
turbo 2.5.8
>>> Opening browser to https://vercel.com/turborepo/token?redirect_uri=http%3A%2F%2F127.0.0.1%3A9789
>>> Success! Turborepo CLI authorized for egeaksun@gmail.com
To connect to your Remote Cache, run the following in any turborepo:
npx turbo link
then running npx turbo link:
turbo 2.5.8
>>> Remote Caching
Remote Caching makes your caching multiplayer,
sharing build outputs and logs between developers and CI/CD systems.
Build and deploy faster.
For more information, visit: https://turborepo.com/docs/core-concepts/remote-caching
? Enable Vercel Remote Cache for ~/Desktop/neue7 ? yes
× Could not get user information: Error making HTTP request: HTTP status client error (403 Forbidden) for url (https://vercel.com/api/v2/user)
├─▶ Error making HTTP request: HTTP status client error (403 Forbidden) for url (https://vercel.com/api/v2/user)
╰─▶ HTTP status client error (403 Forbidden) for url (https://vercel.com/api/v2/user)
On local machine, macOS, latest version of turbo (v2.5.8). I don’t know what is causing this, but I had it working fine previously. Understood it broke once I started getting “insufficient permissions” warnings regarding uploading cache while building locally.
➜ git:(noqcks/upgrade-turbo) turbo login --force && turbo link --scope=<myteam>
turbo 2.5.8
>>> Opening browser to https://vercel.com/turborepo/token?redirect_uri=http%3A%2F%2F127.0.0.1%3A9789
>>> Success! Turborepo CLI authorized for benji@<mydomain>.org
To connect to your Remote Cache, run the following in any turborepo:
npx turbo link
turbo 2.5.8
>>> Remote Caching
Remote Caching makes your caching multiplayer,
sharing build outputs and logs between developers and CI/CD systems.
Build and deploy faster.
For more information, visit: https://turborepo.com/docs/core-concepts/remote-caching
? Enable Vercel Remote Cache for ~/data/<ghorg>/<repo> ? yes
× Could not get user information: Error making HTTP request: HTTP status client error (403 Forbidden) for url (https://vercel.com/api/v2/user)
├─▶ Error making HTTP request: HTTP status client error (403 Forbidden) for url (https://vercel.com/api/v2/user)
╰─▶ HTTP status client error (403 Forbidden) for url (https://vercel.com/api/v2/user)
the same issue if I leave out the scope.
And if I add sso-team
turbo login --force --sso-team=<vercelteamslug> && turbo link --scope=<vercelteamslug>
turbo 2.5.8
>>> Opening browser to https://vercel.com/api/auth/sso?teamId=<vercelteamslug>&mode=login&next=http%3A%2F%2F127.0.0.1%3A9789
× failed to get token
I’ve noticed that the remote caching docs are outdated too. I see no Remote Caching section in my teams billing section, that’s now in the Build and Deployment section.