
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2020 04:53 AM
My user account has admin rights to our ServiceNow instance. I can login to instance with my username and password no problem from the UI and I can access to my application scope and make changes in ServiceNow. No 2 FA activated. It's a domain separated instance but my account is not in global, but couple levels down. I use node 14.2.0 locally. I'm NOT using Oauth, I'm using Basic authentication.
1. Open VS Code
2. Activate ServiceNow extension (latest version)
3. Create now project
4. Add URL and credentials with Basic auth
5. Select your custom application scope
6. It start to download the app but has error about Oauth token expired and asks authenticate again
7. Downloading stops and none of the scripts are downloaded
This errors pop up multiple times:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2020 05:50 AM
Hi,
When you select the same current folder during setup workspace, vscode ignores the command and hence nothing happens. I suggest you open a fresh instance of vscode (no folder opened inside) and do the setup workspace command, or select a completely different folder during setup workspace (folder which is not currently open in vscode)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2020 05:50 AM
Hi,
When you select the same current folder during setup workspace, vscode ignores the command and hence nothing happens. I suggest you open a fresh instance of vscode (no folder opened inside) and do the setup workspace command, or select a completely different folder during setup workspace (folder which is not currently open in vscode)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2020 06:28 AM
This fixed it. So the trick is to have empty VS Code (no folder opened), then enable extension and then setup workspace.