Startup Failure: MDB_CORRUPTED: Located page was wrong type
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 807
- Avg merge
- 10h 12m
- Merged PRs (30d)
- 7
Description
## Problem
When loading the plugin (from first start or with a reload) I get the following error in the `AWS CloudFormation` output logs.
I also get toaster popup error messages to the same effect.
```shell
Error - 9:19:15 PM] AWS CloudFormation client: couldn't create connection to server.
Message: Request initialize failed with message: MDB_CORRUPTED: Located page was wrong type
Code: -32603
```
## Steps to reproduce the issue
1. Enabled AWS Toolkit
2. Open VSCode/Cursor
## Expected behavior
Plugin loads normally
## System details (run `AWS: About` and/or `Amazon Q: About`)
OS: Darwin arm64 25.2.0
Visual Studio Code extension host: 1.99.3
AWS Toolkit: 3.86.0
node: 22.20.0
electron: 37.7.0
Contributor guide
Research direction
Reproduce the startup or reload failure with the listed VS Code, AWS Toolkit, Node, and Electron versions, then start from the AWS CloudFormation output and toaster errors. Done means the plugin loads normally without the MDB_CORRUPTED error or corresponding popup messages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript, vscode
- Domain
- cloud, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100