Skip to content

API Error: undefined is not an object (evaluating 'A.map') in Claude Code extension in VSCode #3

@hicder

Description

@hicder

This could very well be VSCode Claude Code extension issue. It keeps giving me this error:

API Error: undefined is not an object (evaluating 'A.map')

on any requests I have. (See attached screenshot)

Image

The weird thing is, if I use claude code in terminal mode, it works. Not sure if the vscode extension expects something special. Feel free to close if this is the extension problem.

My current config:

{
  "env": {
    "ANTHROPIC_BASE_URL": "https://api.minimax.io/anthropic",
    "ANTHROPIC_AUTH_TOKEN": "<TOKEN>",
    "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": 1,
    "API_TIMEOUT_MS": "3000000",
    "ANTHROPIC_MODEL": "MiniMax-M2",
    "ANTHROPIC_SMALL_FAST_MODEL": "MiniMax-M2"
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions