vscode-cosmosdb: Cannot open document
Does this occur consistently? Repro steps:
- Connect to Cosmos Account
- Expand DB in the task pane
- Select document
- Nothing happens and error throws
Action: cosmosDB.openDocument Error type: EntryNotFound Error Message: EntryNotFound (FileSystemError): azureDatabases:/Johnson_dc8c3127-4318-4830-9a18-8d9054c66687-cosmos-document.json?id=/subscriptions/1e555350-e8a6-4258-b56f-3005e3c59e5b/resourceGroups/blev/providers/Microsoft.DocumentDB/databaseAccounts/blevtest/AzureSampleFamilyDatabase/FamilyContainer/$Documents/iWZFAKqnx+4DAAAAAAAAAA==
Version: 0.15.0 OS: win32 OS Release: 10.0.20180 Product: Visual Studio Code - Insiders Product Version: 1.51.0-insider Language: en
Call Stack
file:/workbench.desktop.main.js:6654:715
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (5 by maintainers)
I’m encountering the same issue. All documents inside one of my collections fail to open in VSCode. All my other collections documents open fine.
azureDatabases:/view_d17410a46b884069a194b27dbad54c89-cosmos-document.json?id%3D%2Fsubscriptions%2F22abb5cb-2b1f-4204-a1a5-2f0b611f04f1%2FresourceGroups%2FCloud%2Fproviders%2FMicrosoft.DocumentDB%2FdatabaseAccounts%2Finspace-cloud%2Fapp%2Fviews%2F%24Documents%2Fl59AAPV%2BQe5JAAAAAAAAAA%3D%3D. Detail: Unable to read file 'azureDatabases:/view_d17410a46b884069a194b27dbad54c89-cosmos-document.json?id=/subscriptions/22abb5cb-2b1f-4204-a1a5-2f0b611f04f1/resourceGroups/Cloud/providers/Microsoft.DocumentDB/databaseAccounts/inspace-cloud/app/views/$Documents/l59AAPV+Qe5JAAAAAAAAAA==' (Error: Unable to resolve non-existing file 'azureDatabases:/view_d17410a46b884069a194b27dbad54c89-cosmos-document.json?id=/subscriptions/22abb5cb-2b1f-4204-a1a5-2f0b611f04f1/resourceGroups/Cloud/providers/Microsoft.DocumentDB/databaseAccounts/inspace-cloud/app/views/$Documents/l59AAPV+Qe5JAAAAAAAAAA==')
Version: 0.16.0 OS: win32 OS Build: 19042.867 Product: Visual Studio Code Product Version: 1.55.0 Language: en