Skip to content

🐛 "Request textDocument/codeAction failed" shows when saving JSON files #8209

@CalmProton

Description

@CalmProton

Environment information

$ npx biome rage
CLI:
  Version:                      2.3.6
  Color support:                true

Platform:
  CPU Architecture:             x86_64
  OS:                           windows

Environment:
  BIOME_LOG_PATH:               unset
  BIOME_LOG_PREFIX_NAME:        unset
  BIOME_CONFIG_PATH:            unset
  BIOME_THREADS:                unset
  NO_COLOR:                     unset
  TERM:                         xterm-256color
  JS_RUNTIME_VERSION:           v24.11.1
  JS_RUNTIME_NAME:              node
  NODE_PACKAGE_MANAGER:         npm/11.6.2

Biome Configuration:
  Status:                       Loaded successfully
  Path:                         biome.json
  Formatter enabled:            true
  Linter enabled:               true
  Assist enabled:               true
  VCS enabled:                  true

Workspace:
  Open Documents:               0

What happened?

Whenever saving .vscode/settings.json, it throws this error. It does it all the time, even when no adjustments are made and the file stays the same. Ctrl + S = Getting this error

2025-11-21 20:23:51.934 [info] [Error - 8:23:51 PM] Request textDocument/rangeFormatting failed.
2025-11-21 20:23:51.934 [info]   Message: Biome doesn't support this feature for the language JSONC
  Code: -32603 
Biome doesn't support this feature for the language JSONC//

It is probably what other people in the comments for #6529 refer to.

My biome.json file content - https://pastebin.com/xXDE1a8C
My settings.json file content - https://pastebin.com/MQWY1jU8

Expected result

It should not throw an error.

Code of Conduct

  • I agree to follow Biome's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-Needs triageStatus: this issue needs to be triaged

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions