I keep getting this error when trying to authenticate my Palantir VSX extension. The authentication flow works as expected, but then after I am redirected from the Foundry website using the redirect URI in Chrome, it goes back to Antigravity IDE and hangs, before timing out and availing no token refresh at all.
Please could someone point me in the right direction to fix or urgently suggest a workaround.
The error you’re getting may be caused by the fact that the TOKEN here doesn’t have the expected format or is simply missing. If so, to fix there are two options:
Delete the repo locally and re-clone from Foundry (make sure everything is pushed beforehand)
edit the git config file locally to fix it. Open your repo in Foundry, select Work Locally, copy the git remote URL to clone the repo, then open your git config file and paste the copied url after url =
Separately, some other questions to help debug this further in case the above doesn’t help: can you share the content of the templateConfig.json file in your repo? Is this a repo that you just cloned from Foundry?