# Can't sign in to VS Code

**URL:** <https://community.postman.com/t/cant-sign-in-to-vs-code/76714>\
**Category:** Help Hub\
**Tags:** vscode\
**Created:** [March 11, 2025, 8:18am UTC](https://community.postman.com/t/cant-sign-in-to-vs-code/76714 "2025-03-11T08:18:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sking](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/sking/32/31890_2.png) [@sking](https://community.postman.com/u/sking)\
**Post date:** [March 11, 2025, 8:18am UTC](https://community.postman.com/t/cant-sign-in-to-vs-code/76714/1 "2025-03-11T08:18:13Z")

</div>

Hi all,  
Struggling to sign in via VS Code today, always been fine previously.  
I click on sign in from inside VS Code, it opens the browser as usual but it takes me to identity.eu (I’m in the UK) and when I sign in via Google it gives me an error page

 ![Screenshot 2025-03-11 08.13.47](https://us1.discourse-cdn.com/getpostman/original/3X/e/0/e0cc0fa33a351694cdcc23b56c3b25a212bc9d7b.png)  
If I take out the eu part from the URL I can login fine via Google but it doesn’t give me the token to paste in to VS Code.  
I could obviously create a new account but I have saved collections etc so I don’t want to start a new one.  
Any idea why I get this error?  
Cheers  
Steve

---

<div class="post-metadata">

**Author:** ![sking](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/sking/32/31890_2.png) [@sking](https://community.postman.com/u/sking)\
**Post date:** [March 11, 2025, 8:26am UTC](https://community.postman.com/t/cant-sign-in-to-vs-code/76714/2 "2025-03-11T08:26:24Z")

</div>

Typically I found the solution shortly after posting this.  
In file \> preferences \> extensions \> Postman  
There’s a setting for Region which was set to EU.  
Changed this back to US even though I’m in the EU and it worked fine.  
Assume some recent update has made this change, but changing it back to the US which should be the default fixes my login issue.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [March 19, 2025, 4:10pm UTC](https://community.postman.com/t/cant-sign-in-to-vs-code/76714/3 "2025-03-19T16:10:17Z")

</div>

Hey @sking 👋

Apologies for late response here - Glad to see you got this sorted!! 🙏

Since you’re using the Postman VS Code extension, you might find the new `.env` file import feature particularly useful! 🎉

It allows you to seamlessly transform your local environment variables into Postman environments, saving time and reducing errors.

How do you currently keep your Postman environments in sync with your local `.env` files, and how do you see this new feature fitting into your workflow?

We’d love to hear your thoughts over on the March Postman Drop:

> [@The Postman Drop: March Edition](https://community.postman.com/t/the-postman-drop-march-edition/77183):
>
> As API complexity grows and delivery timelines shrink, many teams find themselves stretched thin. You’re hard at work on more and more sophisticated projects, but there’s no magical increase in time or resources. And who wants to spend hours juggling multiple tools, wrestling with integration challenges, and constantly switching contexts? That’s why in this March edition of the Postman Drop, we’re highlighting automation to extend your capabilities without extending your workday. Let’s jump int…
