Skip to content

How do I prevent AWS Toolkit error notifications for unused AWS Toolkit services? #8557

@yogat3ch

Description

@yogat3ch
  • OS: Tahoe 26.2 on MB Pro M1
  • Visual Studio Code version:
    From the Antigravity About Window:
Antigravity Version: 1.15.8
VSCode OSS Version: 1.104.0
Commit: 7a8657542180fb8440c8dcc20d83285fe11360ed
Date: 2026-01-24T04:14:01.501Z (1 wk ago)
Electron: 37.3.1
Chromium: 138.0.7204.235
Node.js: 22.18.0
V8: 13.8.258.31-electron.0
OS: Darwin arm64 25.2.0
Language Server CL: 860355132
  • AWS Toolkit: 3.95.0
  • Amazon Q version: Unsure

Question

How do I prevent AWS Toolkit error notifications for unused AWS Toolkit services?

Issue:
I recently installed AWS Toolkit for VS Code using the Google Antigravity IDE. I've correctly configured my AWS credentials and I'm able to access my AWS resources using the Explorer in AWS Toolkit. However, everytime Antigravity opens now the following three error notifications are displayed:

  1. AWS CloudFormation client: couldn't create connection to server.
    Source: AWS Toolkit
  2. Server initialization failed.
    Source: AWS Toolkit
Request initialize failed with message: dlopen(/Users/stephenholsenbeck/Library/Caches/aws/toolkits/language-servers/cloudformation-languageserver/1.3.1/cloudformation-languageserver-1.3.1-darwin-arm64-node22/node_modules/@tree-sitter-grammars/tree-sitter-yaml/prebuilds/darwin-arm64/@tree-sitter-grammars+tree-sitter-yaml.node, 0x0001): tried: '/Users/stephenholsenbeck/Library/Caches/aws/toolkits/language-servers/cloudformation-languageserver/1.3.1/cloudformation-languageserver-1.3.1-darwin-arm64-node22/node_modules/@tree-sitter-grammars/tree-sitter-yaml/prebuilds/darwin-arm64/@tree-sitter-grammars+tree-sitter-yaml.node'
...
not valid for use in process: m...

Reproduction Steps:

  1. Open Google Antigravity IDE.
  2. Install AWS Toolkit Extensions.
  3. Configure AWS Credentials in .aws/credentials file and Configure AWS Region in .aws/config file.
  4. Close and reopen Google Antigravity IDE.

Expected Behavior: I should be able to opt-out of the CloudFormation client and Server initialization via the AWS Toolkit user settings. However, I am not able to find documentation on how to do this. I attempted setting
"aws.samcli.enableCodeLenses" : false per the thread here but it did not resolve the issue. I've also unchecked those services using the three dot menu at the top of the AWS Toolkit extension interface, but the notifications persist.

Actual Behavior: The error notifications continue to be displayed everytime Antigravity opens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    guidanceGeneral information and guidance, answers to FAQs, or recommended best practices/resources.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions