# 문제 해결 가이드

## 키를 설정했는데도 요청이 계속 실패하나요? 이 순서대로 확인하세요

이 페이지의 나머지 부분은 오류 코드별로 정리되어 있어요. **키와 URL을 문서에 적힌 그대로 정확히 입력했는데도 요청이 계속 실패한다면**, 먼저 이 체크리스트를 따라가 보세요(curl 자체 테스트와 HTTP 코드 해석 방법은 [엔드포인트와 API 경로](/docs/getting-started/endpoints-and-api-paths) 5절을 참고하세요):

1. **먼저 curl 자체 테스트를 한 번 실행하세요.** 코드를 해석해 보세요. `401` = 키 문제, `404` = 경로 접두사 오류, `model_not_available_on_endpoint`가 포함된 `400` = 프로토콜 불일치(키 문제가 아니에요 — 4번 항목 참고), 연결이 아예 맺어지지 않음 = 네트워크/프록시 문제(6번 항목 참고), `*_cost_limit_exceeded` 같은 코드가 포함된 `402` = 경로와 키는 정상이고 한도를 다 쓴 것뿐이에요([오류 코드](/docs/reference/errors) 참고).
2. **변수는 맞는데 위치가 틀린 경우.** `ANTHROPIC_AUTH_TOKEN`은 `Authorization: Bearer` 헤더로, `ANTHROPIC_API_KEY`는 `x-api-key`로 전송돼요. 키를 엉뚱한 쪽에 넣으면 게이트웨이는 유효한 자격 증명을 절대 보지 못해요. **환경에 남아 있는 오래된 변수가 현재 설정을 덮어써요.** `env | grep -i anthropic`과 `env | grep -i openai`를 실행해 남은 값을 제거하세요.
3. **Base URL 형태.** Claude Code 계열: `https://api.qcode.cc/api` (**`/v1` 없음**), OpenAI SDK / 호환 클라이언트: `https://api.qcode.cc/openai/v1`, Codex CLI는 설정 파일에 `https://api.qcode.cc/openai`와 `wire_api = "responses"`를 넣어요. 세그먼트가 하나라도 많거나 적으면 404가 나요.
4. **프로토콜 / 모델 불일치.** Claude 모델을 OpenAI 엔드포인트로 보내면 인증 전에 `model_not_available_on_endpoint`가 반환돼요. [엔드포인트와 API 경로](/docs/getting-started/endpoints-and-api-paths) 2절의 매트릭스를 보고 엔드포인트나 모델을 바꾸세요.
5. **클라이언트 버전 회귀(Claude Code):**
   - **2.1.265–2.1.267**: 모든 요청이 400이 나요(Artifact 도구 스키마가 거부돼요). **≥2.1.268**로 업그레이드하거나 `CLAUDE_CODE_DISABLE_ARTIFACT=1`을 설정하세요.
   - **2.1.275**: `ANTHROPIC_BASE_URL`이 게이트웨이를 가리키면 모든 요청이 `400 … Input tag 'advisor_20260301'`로 실패해요. **≥2.1.276**으로 업그레이드하세요.
   - `Unexpected value(s) … anthropic-beta` 오류 — `CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1`을 설정하세요.
6. **시스템 프록시 vs 접속 도메인.** `HTTP_PROXY` / `HTTPS_PROXY` / `ALL_PROXY`가 트래픽 경로를 바꿔요. `NO_PROXY`에 `*.qcode.cc`를 추가하거나 잠시 해제한 뒤 다시 시도하세요.
7. **그래도 안 되면**: [probe.qcode.cc](https://probe.qcode.cc)에서 키로 요청을 조회해 실제로 무엇이 나갔는지 확인한 뒤, **요청 id와 함께 고객 지원에 문의하세요**(실시간 채팅 또는 hi@qcode.cc).

오류 코드의 의미는 [오류 코드](/docs/reference/errors)에 있고, “내 구독으로 API를 쓸 수 있나요” 같은 질문은 [구독 vs API 키 vs QCode 키](/docs/reference/subscription-vs-api-key)를 참고하세요.

Claude Code를 사용하다 문제가 생겨도 당황하지 마세요. 이 가이드는 “빠른 자체 점검 → 단계별 문제 해결 → 해결 방법” 순서로 정리되어 있어, 문제를 효율적으로 찾아 해결할 수 있어요.

## 빠른 자체 점검

문제가 생기면 먼저 이 세 가지 빠른 점검부터 시작하세요. 80%의 문제는 이 단계에서 확인할 수 있어요.

### 1. Claude Code 버전 확인

```bash
claude --version
```

최신 버전을 사용하고 있는지 확인하세요. Claude Code는 자주 업데이트되고, 많은 문제가 최신 버전에서 이미 수정되었어요.

**최신 버전으로 업그레이드:**

```bash
npm update -g @anthropic-ai/claude-code
```

### 2. 자동 진단 실행

```bash
claude /doctor
```

`/doctor` 명령은 다음을 자동으로 점검해요:
- Node.js 버전이 요구 사항(≥ 22)을 충족하는지
- API 키가 유효한지
- 네트워크 연결이 정상인지
- 설정 파일에 문법 오류가 있는지

### 3. Node.js 버전 확인

Claude Code는 Node.js 22 LTS 이상이 필요해요:

```bash
node --version
# Should output v22.x.x or higher
```

버전이 너무 낮으면 업그레이드하세요:

```bash
# Use nvm to manage Node.js versions (recommended)
nvm install 22
nvm use 22

# Or download and install directly
# Visit https://nodejs.org/ to download the LTS version
```

## 설치 문제

### npm install 권한 오류

**증상:**

```bash
npm ERR! Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules'
```

**해결 방법 1: sudo 사용(빠르지만 장기적으로는 권장하지 않아요)**

```bash
sudo npm install -g @anthropic-ai/claude-code
```

**해결 방법 2: npm 전역 디렉터리 변경(권장)**

```bash
# Create a user-level global package directory
mkdir -p ~/.npm-global
npm config set prefix '~/.npm-global'

# Add to PATH (write to ~/.bashrc or ~/.zshrc)
echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc
source ~/.bashrc

# Reinstall
npm install -g @anthropic-ai/claude-code
```

**해결 방법 3: nvm으로 Node.js 관리**

```bash
# Install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
source ~/.bashrc

# Install and use Node.js
nvm install 22
nvm use 22

# Node.js installed via nvm doesn't require sudo
npm install -g @anthropic-ai/claude-code
```

### 네트워크 문제로 인한 설치 실패

**증상:**

```bash
npm ERR! network request to https://registry.npmjs.org/ failed
npm ERR! code ETIMEDOUT
```

**해결 방법: 국내 미러 사용**

```bash
# Temporarily use the Taobao mirror
npm install -g @anthropic-ai/claude-code --registry=https://registry.npmmirror.com

# Or permanently set the mirror
npm config set registry https://registry.npmmirror.com
npm install -g @anthropic-ai/claude-code
```

프록시를 사용한다면:

```bash
# Set npm proxy
npm config set proxy http://your-proxy-address:port
npm config set https-proxy http://your-proxy-address:port

# After installation, you can remove the proxy settings
npm config delete proxy
npm config delete https-proxy
```

### Windows PowerShell 실행 정책

**증상:**

```bash
claude : File C:\Users\xxx\AppData\Roaming\npm\claude.ps1 cannot be loaded
because running scripts is disabled on this system.
```

**해결 방법:**

```powershell
# Open PowerShell as administrator and run:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

# Then run claude again
claude
```

또는 PowerShell 대신 CMD를 사용하세요:

```cmd
# Run directly in CMD
claude
```

## 연결 문제

연결 문제는 중국 사용자가 가장 자주 겪는 문제 유형이에요.

### API 키 형식 오류

**QCode.cc API 키 형식:**

```text
cr_xxxxxxxxxxxxxxxx
```

접두사가 Anthropic 공식의 `sk-ant-`가 아니라 `cr_`라는 점에 주의하세요.

**API 키 설정 확인:**

```bash
# View current environment variable
echo $ANTHROPIC_AUTH_TOKEN

# Correct setup (QCode.cc key)
export ANTHROPIC_AUTH_TOKEN="cr_your-key"
```

**흔한 실수:**

| 오류 | 설명 |
|------|------|
| 키 앞뒤에 공백 | `cr_ xxx` → `cr_xxx` |
| 공식 키 형식 사용 | `sk-ant-xxx`는 Anthropic 공식 키이며 QCode.cc 키가 아니에요 |
| 키가 잘림 | 키 전체를 복사했는지 확인하세요 |
| 만료된 키 사용 | QCode.cc 대시보드에서 키 상태를 확인하세요 |

### ANTHROPIC_BASE_URL 설정 오류

QCode.cc 서비스를 사용할 때는 Base URL을 올바르게 설정해야 해요:

```bash
# QCode.cc's Base URL
export ANTHROPIC_BASE_URL="https://api.qcode.cc/api"
```

**문제 해결 단계:**

```bash
# 1. Check current configuration
echo $ANTHROPIC_BASE_URL

# 2. Confirm URL format is correct
#    - Must start with https://
#    - No trailing slash /
#    - Should not contain paths (like /v1/messages)

# Correct: the Anthropic protocol needs the /api prefix, but no request-path segment
export ANTHROPIC_BASE_URL="https://api.qcode.cc/api"

# Wrong: missing https / an extra trailing slash / the path segment spelled out
export ANTHROPIC_BASE_URL="http://api.qcode.cc/api"
export ANTHROPIC_BASE_URL="https://api.qcode.cc/api/"
export ANTHROPIC_BASE_URL="https://api.qcode.cc/api/v1/messages"
```

### 프록시/VPN으로 인한 연결 실패

**증상:**

```text
Error: connect ETIMEDOUT
Error: getaddrinfo ENOTFOUND api.example.com
```

**문제 해결 단계:**

```bash
# 1. Check if proxy is correctly set
echo $HTTP_PROXY
echo $HTTPS_PROXY
echo $ALL_PROXY

# 2. Test network connectivity
curl -v https://your-service-address/health

# 3. If using a proxy, ensure Claude Code can use it
export HTTP_PROXY="http://proxy-address:port"
export HTTPS_PROXY="http://proxy-address:port"

# 4. If you don't need a proxy but have one set, unset it
unset HTTP_PROXY
unset HTTPS_PROXY
unset ALL_PROXY
```

**VPN 참고 사항:**

- VPN이 API 요청을 가로채지 않는지 확인하세요
- 일부 VPN 분할 터널링 규칙이 API 연결에 영향을 줄 수 있어요
- VPN 때문에 문제가 생기면 API 도메인을 직접 연결 규칙에 추가해 보세요

### SSL/TLS 인증서 문제

**증상:**

```text
Error: unable to verify the first certificate
Error: self signed certificate in certificate chain
```

**해결 방법:**

```bash
# Solution 1: Update system CA certificates
# Ubuntu/Debian
sudo apt update && sudo apt install ca-certificates

# macOS
brew install ca-certificates

# Solution 2: For corporate network mitm certificates, set Node.js to trust them
export NODE_EXTRA_CA_CERTS="/path/to/corporate-ca.crt"

# Solution 3: Temporarily skip certificate verification (only for testing, not recommended for long-term use)
export NODE_TLS_REJECT_UNAUTHORIZED=0
```

### 연결 테스트

curl로 API 연결을 직접 테스트하세요:

```bash
# Test basic connectivity
curl -s -o /dev/null -w "%{http_code}" \
  https://your-service-address/health

# Test API call (replace cr_your-key with your key)
curl https://api.qcode.cc/api/v1/messages \
  -H "Content-Type: application/json" \
  -H "x-api-key: cr_your-key" \
  -H "anthropic-version: 2023-06-01" \
  -d '{
    "model": "claude-opus-5-5",
    "max_tokens": 100,
    "messages": [{"role": "user", "content": "Hello"}]
  }'
```

**예상 결과:**
- 상태 확인은 `200`을 반환해요
- API 호출은 JSON 응답을 반환해요

**흔한 문제 참고:**

| curl 결과 | 가능한 원인 | 해결 방법 |
|-------------|---------------|----------|
| `connection refused` | 서비스 주소가 틀렸거나 서비스가 실행 중이 아님 | ANTHROPIC_BASE_URL 확인 |
| `connection timeout` | 네트워크에 연결할 수 없거나 방화벽에서 차단됨 | 네트워크/프록시 설정 확인 |
| `401 Unauthorized` | 유효하지 않은 API 키 | 키가 올바른지 확인 |
| `403 Forbidden` | 키에 권한이 없음 | 서비스 제공업체에 문의 |
| SSL 관련 오류 | 인증서 문제 | 위의 SSL 항목 참고 |

## 권한 문제

### 파일 읽기/쓰기 권한 부족

**증상:**

```text
Error: EACCES: permission denied, open '/path/to/file'
```

**해결 방법:**

```bash
# 1. Check file permissions
ls -la /path/to/file

# 2. Ensure current user has read/write permissions
chmod u+rw /path/to/file

# 3. Check directory permissions (Claude needs write permission to create new files)
chmod u+w /path/to/directory

# 4. If file was created by root, change ownership
sudo chown $(whoami) /path/to/file
```

**Claude Code 권한 설정:**

Claude Code에는 수행할 수 있는 작업을 제어하는 권한 시스템이 있어요. Claude가 특정 작업을 수행하지 못하도록 차단되는 경우:

```bash
# View current permission settings
claude /permissions

# Configure allowed directories in settings.json
# ~/.claude/settings.json
{
  "permissions": {
    "allow": [
      "Read files in /home/user/projects/**",
      "Write files in /home/user/projects/**",
      "Execute bash commands"
    ]
  }
}
```

### Git 작업 거부

**증상:**

```text
fatal: unable to access 'https://github.com/xxx/xxx.git/':
The requested URL returned error: 403
```

**해결 방법:**

```bash
# 1. Check Git configuration
git config --list

# 2. Confirm SSH key or Token configuration
ssh -T git@github.com          # Test SSH connection
gh auth status                  # Test GitHub CLI authentication

# 3. If using HTTPS, check credentials
git config credential.helper    # View credential helper

# 4. Ensure Claude Code is in the correct Git repository
git status                      # Confirm you're in the repository directory
```

### Bash 명령 실행 실패

Claude Code는 bash 명령을 실행할 때 확인을 요청할 수 있어요. 명령이 계속 거부되는 경우:

```bash
# View permission configuration
claude /permissions

# If it's a project you trust, you can configure allowed commands in CLAUDE.md
# CLAUDE.md
## Allowed Commands
allowedTools:
  - Bash(npm run *)
  - Bash(pnpm *)
  - Bash(git *)
  - Bash(docker compose *)
```

## 성능 문제

### 응답 속도가 느림

**가능한 원인과 해결 방법:**

| 원인 | 진단 방법 | 해결 방법 |
|------|------------------|----------|
| 네트워크 지연 | `ping api.qcode.cc` | 네트워크/프록시 확인 |
| Opus 모델 사용 | `/model`로 확인 | Sonnet으로 전환 |
| 컨텍스트가 너무 큼 | `/cost`로 토큰 수 확인 | `/compact`로 압축 |
| 서버 부하 높음 | HTTP 응답 시간 확인 | 나중에 다시 시도 |

**네트워크 최적화 제안(중국 사용자 대상):**

```bash
# Test latency to the server
ping api.qcode.cc

# If latency exceeds 500ms, consider:
# 1. Check if proxy configuration is optimal
# 2. Try using at different times (avoid peak hours)
# 3. Contact QCode.cc customer service for optimal nodes
```

### 컨텍스트 초과

**증상:**
- Claude의 응답이 이전 대화 내용을 "잊기" 시작함
- 응답 품질이 현저히 저하됨
- 반복되거나 모순되는 내용이 나타남

**해결 방법:**

```bash
# Solution 1: Compress context (retain key information)
/compact

# Solution 2: Clear completely (if you can start over)
/clear

# Solution 3: Streamline each input
# Don't send large amounts of file content at once
# Use @ to reference files instead of pasting
# Handle one task at a time
```

**예방 조치:**

- 독립적인 작업을 마칠 때마다 `/compact` 사용을 고려하세요
- 다른 주제로 전환할 때는 주저하지 말고 `/clear`를 사용하세요
- `.claudeignore`로 관련 없는 대용량 파일을 제외하세요
- `@`로 필요한 파일을 정확히 참조하고, Claude가 전체를 검색하게 두지 마세요

### 메모리 사용량 높음

**증상:**
- 시스템이 느려짐
- Claude Code 프로세스가 메모리를 많이 사용함

**해결 방법:**

```bash
# 1. Check Node.js memory usage
node -e "console.log(process.memoryUsage())"

# 2. Upgrade Node.js to the latest LTS version
nvm install 22
nvm use 22

# 3. If the problem persists, limit Node.js maximum memory
export NODE_OPTIONS="--max-old-space-size=4096"

# 4. Restart Claude Code
# Exit current session and restart
exit
claude
```

## 자주 발생하는 오류 코드 참고

| 오류 코드 | 의미 | 원인 | 해결 방법 |
|-----------|---------|-------|----------|
| **400** | Bad Request | 요청 형식이 잘못됨 | 입력에 잘못된 문자가 있는지 확인하고 Claude Code를 최신 버전으로 업데이트 |
| **401** | Unauthorized | API 키가 유효하지 않거나 만료됨 | `ANTHROPIC_AUTH_TOKEN` 설정을 확인하고 키가 만료되지 않았는지 확인 |
| **402** | Payment Required | 한도를 모두 사용했거나 서비스가 일시적으로 거부함 | `error.type` = `insufficient_quota`이면 한도를 모두 사용한 것이에요(`code` 확인: 일일 한도는 베이징 시간 00:00에 초기화되고, 부스터 팩을 사용할 수 있어요). 그렇지 않으면 모델이나 엔드포인트 도메인을 전환하세요. [오류 코드](/docs/reference/errors) 참고 |
| **403** | Forbidden | 권한 없음 | 키에 해당 모델의 접근 권한이 있는지 확인 |
| **404** | Not Found | 모델 또는 경로가 존재하지 않음 | `ANTHROPIC_BASE_URL`과 모델 이름이 올바른지 확인 |
| **429** | Too Many Requests | 요청이 너무 빈번함 | 30-60초 기다린 후 다시 시도하고 동시 요청을 줄이세요 |
| **500** | Internal Server Error | 서버 내부 오류 | 나중에 다시 시도하고, 계속되면 고객 지원에 문의 |
| **502** | Bad Gateway | 백엔드 서비스를 사용할 수 없음 | 나중에 다시 시도하고 서비스 공지를 확인 |
| **503** | Service Unavailable | 서비스가 일시적으로 과부하됨 | 몇 분 기다린 후 다시 시도 |
| **529** | API Overloaded | Claude API 과부하 | Anthropic 서버 부하가 높기 때문이에요. 기다린 후 다시 시도하세요 |

### 402 한도 소진: 확인 순서

응답이 402이고 `error.type`이 `insufficient_quota`이면 다음 순서로 확인하세요:

1. **`code`를 읽어** 어떤 한도가 소진되었는지 확인하세요(자세한 내용은 [오류 참고](/docs/reference/errors)).
2. **`daily_cost_limit_exceeded`(개인 플랜 일일 한도)**: 베이징 시간 00:00의 자동 초기화를 기다리거나 대시보드에서 부스터 팩을 구매하세요.
3. **`total_cost_limit_exceeded`(총 한도)**: 대시보드의 **종량제 키** 카드에서 남은 한도와 만료일을 확인하고, 모두 사용하면 **갱신**하세요(갱신은 같은 키에 누적되며, 규칙은 [종량제 팩](/docs/reference/payg-packs) 참고). Ultimate 월간 한도는 [자주 묻는 질문](/docs/reference/faq)을 참고하세요. 메시지의 괄호 안 금액은 누적 한도이며 남은 양이 아니에요.
4. **Claude 모델의 주간 한도**: 키에 설정된 주기에 따라 자동으로 초기화돼요. 그동안 다른 모델로 전환할 수도 있어요.
5. 402 대신 **401**이 나오면 키가 만료된 것이에요. 팩을 갱신하면 같은 키가 복원돼요(해외 노드에서는 최대 약 5분이 걸릴 수 있어요).

402는 다시 보낸다고 해결되지 않으니 재시도 루프를 작성하지 마세요.

### 429 상세: 속도 제한

429는 가장 흔한 오류라 자세히 설명할 가치가 있어요:

**발생 원인:**

1. **요청 빈도가 너무 높음**: 초당 너무 많은 요청을 보냄
2. **토큰 소비가 너무 빠름**: 짧은 시간에 많은 토큰을 소비함
3. **동시 세션이 너무 많음**: 여러 Claude Code 인스턴스를 동시에 실행함

> **한도 소진은 429가 아니에요**: 일일, 총 또는 주간 한도를 모두 사용하면 응답은 **402**(`insufficient_quota`)예요. [오류 코드](/docs/reference/errors) 참고.

**단계별 대응:**

```bash
# Occasional 429
# → Wait 30 seconds for automatic retry, Claude Code has built-in retry logic

# Frequent 429
# → Reduce request frequency
# → Use /compact to reduce context size
# → Avoid running multiple Claude Code instances simultaneously

# Persistent 429
# → Check how many sessions you are running in parallel
# → Log in to QCode.cc Dashboard to view usage
# → A used-up quota returns 402, not 429 — see the error code reference
```

### 529 상세: API 과부하

529는 Anthropic 전용 오류 코드로 Claude API 서버 과부하를 나타내요:

```text
Error: 529 API Overloaded
The API is temporarily overloaded. Please try again later.
```

**대응 방법:**

- 이것은 여러분의 문제가 아니라 Anthropic 서버의 일시적인 상태예요
- 보통 몇 분에서 수십 분 정도 지속돼요
- 1-2분 기다린 후 다시 시도하세요
- 계속되면 일시적으로 다른 모델(예: GPT 시리즈)로 전환할 수 있어요
- [Anthropic Status](https://status.anthropic.com/)를 팔로우해 서비스 상태를 확인하세요

## 기타 자주 발생하는 문제

### Claude Code 시작 후 응답 없음

```bash
# 1. Check if properly installed
which claude
npm list -g @anthropic-ai/claude-code

# 2. View detailed error information
claude --debug

# 3. Try clearing cache and restarting
rm -rf ~/.claude/cache
claude
```

### CLAUDE.md가 적용되지 않음

```bash
# 1. Confirm file location is correct
ls -la CLAUDE.md                # Project root directory
ls -la .claude/CLAUDE.md        # Project private configuration
ls -la ~/.claude/CLAUDE.md      # Global configuration

# 2. Confirm file encoding is UTF-8
file CLAUDE.md
# Should display: CLAUDE.md: UTF-8 Unicode text

# 3. Confirm no syntax errors (although it's Markdown, some special characters may cause parsing issues)
# Avoid using special markers other than ``` in CLAUDE.md

# 4. Restart Claude Code for configuration to take effect
# Exit and re-enter
```

### 한글이 깨져서 표시됨

```bash
# 1. Check terminal encoding settings
echo $LANG
# Should include UTF-8, for example en_US.UTF-8 or zh_CN.UTF-8

# 2. Set correct encoding
export LANG=zh_CN.UTF-8
export LC_ALL=zh_CN.UTF-8

# 3. Confirm terminal supports UTF-8
# macOS Terminal / iTerm2 supports by default
# Windows Terminal supports by default
# Windows CMD requires: chcp 65001
```

### Git 충돌로 Claude 작업 실패

```bash
# 1. First resolve Git conflicts
git status     # View conflicting files
git diff       # View conflict content

# 2. Let Claude help resolve conflicts
> "View the current git conflict files and help me resolve these conflicts. Keep changes from both sides."

# 3. Continue after resolution
git add .
git commit -m "resolve merge conflicts"
```

### Docker 관련 문제(고급 사용자)

Docker 컨테이너에서 Claude Code를 사용하는 경우:

```bash
# Ensure container has Node.js 22+
docker run -it node:22-slim bash

# Install Claude Code
npm install -g @anthropic-ai/claude-code

# Pass necessary environment variables
docker run -it \
  -e ANTHROPIC_AUTH_TOKEN="cr_your-key" \
  -e ANTHROPIC_BASE_URL="https://api.qcode.cc/api" \
  -v $(pwd):/workspace \
  -w /workspace \
  node:22-slim claude
```

## 문제 해결 흐름 요약

문제가 발생하면 다음 흐름에 따라 해결해 보세요:

```text
1. Quick Self-Check
   ├── claude --version (is version latest)
   ├── claude /doctor (automatic diagnostics)
   └── node --version (Node.js ≥ 22)

2. Network Connectivity
   ├── curl test API address
   ├── Check proxy/VPN settings
   └── Check DNS resolution

3. Authentication Configuration
   ├── Is ANTHROPIC_AUTH_TOKEN format correct
   ├── Is ANTHROPIC_BASE_URL correct
   └── Is key expired

4. Permission Check
   ├── File system permissions
   ├── Git permissions
   └── Claude Code permission configuration

5. Performance Optimization
   ├── /compact to compress context
   ├── /model to switch to appropriate model
   └── .claudeignore to exclude large files

6. If none of the above solves it → Get Help
```

## 도움 받기

위 방법으로도 문제가 해결되지 않으면 다음 채널을 통해 도움을 받을 수 있어요:

### QCode.cc 온라인 고객 지원

[QCode.cc](https://qcode.cc) 웹사이트 오른쪽 아래의 온라인 고객 지원 아이콘을 클릭하세요. 근무 시간에는 보통 몇 분 안에 답변을 받을 수 있어요.

**문의할 때 다음 정보를 함께 알려주세요:**
- Claude Code 버전 (`claude --version` 출력)
- 운영체제와 버전
- 전체 오류 메시지
- 이미 시도해 본 해결 방법

### GitHub Issues

Claude Code는 오픈소스 프로젝트이며, GitHub에서 이슈를 제출할 수 있어요:

- **저장소 주소**: [github.com/anthropics/claude-code](https://github.com/anthropics/claude-code)
- 기존 이슈를 검색해 같은 문제를 겪은 사람이 있는지 확인하세요
- 새 이슈를 제출할 때는 영어로 설명하세요 (공식 답변을 받기 쉬워요)

### 커뮤니티 리소스

- **Claude Code 공식 문서**: [docs.anthropic.com](https://docs.anthropic.com)
- **Anthropic 서비스 상태**: [status.anthropic.com](https://status.anthropic.com)
- **QCode.cc 사용자 문서**: [docs.qcode.cc](https://docs.qcode.cc)

> 문제를 두려워하지 마세요—대부분의 문제에는 간단한 해결책이 있어요. 이 가이드의 문제 해결 흐름을 따르면 보통 몇 분 안에 문제를 해결할 수 있어요.