16 16
17## 오류 찾기17## 오류 찾기
18 18
19아래에서 보이는 메시지와 일치하는 섹션을 찾으세요.19표시되는 메시지와 일치하는 아래 섹션을 찾으세요.
20 20
21| 메시지 | 섹션 |21| 메시지 | 섹션 |
22| :- | :- |22| :- | :- |
23| `API Error: 500 Internal server error` | [서버 오류](#api-error-500-internal-server-error) |23| `API Error: 500 Internal server error` | [서버 오류](#api-error-500-internal-server-error) |
24| `API Error: Repeated 529 Overloaded errors` | [서버 오류](#api-error-repeated-529-overloaded-errors) |24| `API Error: Repeated 529 Overloaded errors` | [서버 오류](#api-error-repeated-529-overloaded-errors) |
25| `Opus is experiencing high load` / `Fable is experiencing high load` | [서버 오류](#api-error-repeated-529-overloaded-errors) |25| `Opus is experiencing high load` / `Fable is experiencing high load` | [서버 오류](#api-error-repeated-529-overloaded-errors) |
26| `Request timed out` | [서버 오류](#request-timed-out), 또는 메시지에 인터넷 연결이 언급된 경우 [네트워크](#unable-to-connect-to-api) |26| `Request timed out` | [서버 오류](#request-timed-out), 메시지에 인터넷 연결이 언급된 경우 [네트워크](#unable-to-connect-to-api) |
27| `API Error: No response from API` | [서버 오류](#no-response-from-api) |27| `API Error: No response from API` | [서버 오류](#no-response-from-api) |
28| `API Error: Stream idle timeout - no chunks received` | [스트리밍 유휴 감시](https://code.claude.com/docs/ko/network-config.md#streaming-idle-watchdogs), 또는 Claude apps gateway를 사용하는 경우 [긴 사고가 프록시 타임아웃으로 끝남](https://code.claude.com/docs/ko/claude-apps-gateway-deploy.md#long-thinking-ends-in-proxy-timeouts) |28| `API Error: Stream idle timeout - no chunks received` | [스트리밍 유휴 감시 장치](https://code.claude.com/docs/ko/network-config.md#streaming-idle-watchdogs), Claude apps gateway 뒤에서는 [긴 사고가 프록시 타임아웃으로 끝나는 경우](https://code.claude.com/docs/ko/claude-apps-gateway-deploy.md#long-thinking-ends-in-proxy-timeouts) |
29| `Server error mid-response. The response above may be incomplete.` | [서버 오류](#the-response-above-may-be-incomplete) |29| `Server error mid-response. The response above may be incomplete.` | [서버 오류](#the-response-above-may-be-incomplete) |
30| `Connection lost mid-response` / `Your computer went to sleep mid-response` / `The response stopped arriving` | [서버 오류](#the-response-above-may-be-incomplete) |30| `Connection lost mid-response` / `Your computer went to sleep mid-response` / `The response stopped arriving` | [서버 오류](#the-response-above-may-be-incomplete) |
31| `Connection closed mid-response` / `Response stalled mid-stream` | [서버 오류](#the-response-above-may-be-incomplete) |31| `Connection closed mid-response` / `Response stalled mid-stream` | [서버 오류](#the-response-above-may-be-incomplete) |
46| `Agent terminated early due to an API error` | [서버 오류](#agent-terminated-early-due-to-an-api-error) |46| `Agent terminated early due to an API error` | [서버 오류](#agent-terminated-early-due-to-an-api-error) |
47| `You've hit your session limit` / `You've hit your weekly limit` / `You've hit your Opus limit` / `You've hit your Sonnet limit` | [사용 한도](#youve-hit-your-session-limit) |47| `You've hit your session limit` / `You've hit your weekly limit` / `You've hit your Opus limit` / `You've hit your Sonnet limit` | [사용 한도](#youve-hit-your-session-limit) |
48| `Usage credits required for 1M context` | [사용 한도](#usage-credits-required-for-1m-context) |48| `Usage credits required for 1M context` | [사용 한도](#usage-credits-required-for-1m-context) |
49| `the prompt to confirm went unanswered — nothing was sent` | [사용 한도](#the-prompt-to-confirm-went-unanswered) |49| `the prompt to confirm went unanswered · nothing was sent`, v2.1.324부터 | [사용 한도](#the-prompt-to-confirm-went-unanswered) |
50| `Claude stopped here · send a message to be asked again` | [사용 한도](#the-prompt-to-confirm-went-unanswered) |
50| `Server is temporarily limiting requests` | [사용 한도](#server-is-temporarily-limiting-requests) |51| `Server is temporarily limiting requests` | [사용 한도](#server-is-temporarily-limiting-requests) |
51| `Request rejected (429)` | [사용 한도](#request-rejected-429) |52| `Request rejected (429)` | [사용 한도](#request-rejected-429) |
52| `Credit balance is too low` | [사용 한도](#credit-balance-is-too-low) |53| `Credit balance is too low` | [사용 한도](#credit-balance-is-too-low) |
84| `Remote Control stopped — the app running this session is now signed in to a different Claude account` | [인증](#remote-control-stopped-because-the-app-running-the-session-signed-out-or-switched-accounts) |85| `Remote Control stopped — the app running this session is now signed in to a different Claude account` | [인증](#remote-control-stopped-because-the-app-running-the-session-signed-out-or-switched-accounts) |
85| `Remote Control stopped — the app running this session is signed out of Claude` | [인증](#remote-control-stopped-because-the-app-running-the-session-signed-out-or-switched-accounts) |86| `Remote Control stopped — the app running this session is signed out of Claude` | [인증](#remote-control-stopped-because-the-app-running-the-session-signed-out-or-switched-accounts) |
86| `Couldn't verify your organization's policy for remote control` | [Remote Control 문제 해결](https://code.claude.com/docs/ko/remote-control.md#couldnt-verify-your-organizations-policy-for-remote-control) |87| `Couldn't verify your organization's policy for remote control` | [Remote Control 문제 해결](https://code.claude.com/docs/ko/remote-control.md#couldnt-verify-your-organizations-policy-for-remote-control) |
88| `Remote Control didn't finish connecting` | [Remote Control 세션 시작](https://code.claude.com/docs/ko/remote-control.md#start-a-remote-control-session) |
87| `Remote Control is disabled by your organization's policy` | [Remote Control 문제 해결](https://code.claude.com/docs/ko/remote-control.md#remote-control-is-disabled-by-your-organizations-policy) |89| `Remote Control is disabled by your organization's policy` | [Remote Control 문제 해결](https://code.claude.com/docs/ko/remote-control.md#remote-control-is-disabled-by-your-organizations-policy) |
88| `Remote Control was turned off by your organization's policy` | [Remote Control 문제 해결](https://code.claude.com/docs/ko/remote-control.md#remote-control-was-turned-off-by-your-organizations-policy) |90| `Remote Control was turned off by your organization's policy` | [Remote Control 문제 해결](https://code.claude.com/docs/ko/remote-control.md#remote-control-was-turned-off-by-your-organizations-policy) |
89| `Session failed: working folder not found:` | [Remote Control 문제 해결](https://code.claude.com/docs/ko/remote-control.md#working-folder-not-found) |91| `Session failed: working folder not found:` | [Remote Control 문제 해결](https://code.claude.com/docs/ko/remote-control.md#working-folder-not-found) |
90| `The program file this Remote Control started from is gone` | [Remote Control 문제 해결](https://code.claude.com/docs/ko/remote-control.md#program-file-is-gone) |92| `The program file this Remote Control started from is gone` | [Remote Control 문제 해결](https://code.claude.com/docs/ko/remote-control.md#program-file-is-gone) |
91| `Session failed: spawn error:` 뒤에 `ENOENT` 메시지가 이어지는 경우 | [Remote Control 문제 해결](https://code.claude.com/docs/ko/remote-control.md#program-file-is-gone) |93| `ENOENT` 메시지가 뒤따르는 `Session failed: spawn error:` | [Remote Control 문제 해결](https://code.claude.com/docs/ko/remote-control.md#program-file-is-gone) |
94| `share link`를 언급하는 사유가 뒤따르는 `Remote Control disconnected:` | [Remote Control](https://code.claude.com/docs/ko/remote-control.md#what-connected-devices-see) |
92| `OAuth token revoked` / `OAuth token has expired` | [인증](#oauth-token-revoked-or-expired) |95| `OAuth token revoked` / `OAuth token has expired` | [인증](#oauth-token-revoked-or-expired) |
93| `Failed to authenticate: OAuth token revoked` | [인증](#oauth-token-revoked-or-expired) |96| `Failed to authenticate: OAuth token revoked` | [인증](#oauth-token-revoked-or-expired) |
94| `Your account does not have access to Claude. Please login again or contact your administrator.` | [인증](#oauth-token-revoked-or-expired) |97| `Your account does not have access to Claude. Please login again or contact your administrator.` | [인증](#oauth-token-revoked-or-expired) |
137| `AWS default-chain credential resolve timed out` | [인증](#aws-default-chain-credential-resolve-timed-out) |140| `AWS default-chain credential resolve timed out` | [인증](#aws-default-chain-credential-resolve-timed-out) |
138| `Timed out after 60s waiting for AWS` | [인증](#bedrock-setup-verification-timed-out-waiting-for-aws) |141| `Timed out after 60s waiting for AWS` | [인증](#bedrock-setup-verification-timed-out-waiting-for-aws) |
139| `A request to AWS timed out. Check your network and proxy settings, then try again.` | [인증](#bedrock-setup-verification-timed-out-waiting-for-aws) |142| `A request to AWS timed out. Check your network and proxy settings, then try again.` | [인증](#bedrock-setup-verification-timed-out-waiting-for-aws) |
140| `Could not load the default credentials` on Google Cloud's Agent Platform | [인증](#could-not-load-aws-or-google-cloud-credentials) |143| Google Cloud의 Agent Platform에서 발생하는 `Could not load the default credentials` | [인증](#could-not-load-aws-or-google-cloud-credentials) |
141| `Unable to connect to API` | [네트워크](#unable-to-connect-to-api) |144| `Unable to connect to API` | [네트워크](#unable-to-connect-to-api) |
142| `Connection refused —` / `Can't reach the API server —` / `No internet route —` / `Couldn't connect through your proxy` / `Connection dropped`, 각각 괄호 안의 오류 코드로 끝남 | [네트워크](#unable-to-connect-to-api) |145| `Connection refused —` / `Can't reach the API server —` / `No internet route —` / `Couldn't connect through your proxy` / `Connection dropped`, 각각 괄호 안에 오류 코드 포함 | [네트워크](#unable-to-connect-to-api) |
143| `Unable to connect to Anthropic services` during setup | [네트워크](#unable-to-connect-to-anthropic-services) |146| 설정 중 발생하는 `Unable to connect to Anthropic services` | [네트워크](#unable-to-connect-to-anthropic-services) |
147| `Unable to fetch your privacy settings at this time` | [claude.ai의 개인정보 보호 설정](https://claude.ai/settings/data-privacy-controls) |
144| `Socket is closed` | [네트워크](#socket-is-closed) |148| `Socket is closed` | [네트워크](#socket-is-closed) |
145| `Waiting for API response · will retry in` | [자동 재시도](#automatic-retries), 또는 지속되는 경우 [네트워크](#unable-to-connect-to-api) |149| `Waiting for API response · will retry in` | [자동 재시도](#automatic-retries), 계속되는 경우 [네트워크](#unable-to-connect-to-api) |
146| `API returned an empty or malformed response` | [네트워크](#api-returned-an-empty-or-malformed-response) |150| `API returned an empty or malformed response` | [네트워크](#api-returned-an-empty-or-malformed-response) |
147| `Streaming response ended before any complete data was received` | [네트워크](#streaming-response-ended-before-any-complete-data-was-received) |151| `Streaming response ended before any complete data was received` | [네트워크](#streaming-response-ended-before-any-complete-data-was-received) |
148| `Bedrock streaming response has content-type "..."; expected "application/vnd.amazon.eventstream"` | [네트워크](#bedrock-streaming-response-has-an-unexpected-content-type) |152| `Bedrock streaming response has content-type "..."; expected "application/vnd.amazon.eventstream"` | [네트워크](#bedrock-streaming-response-has-an-unexpected-content-type) |
153| `Claude Code used only the certificates that it could read in full from the NODE_EXTRA_CA_CERTS file` / `Claude Code ignored all of the NODE_EXTRA_CA_CERTS file: it holds no certificate that Claude Code can read` | [사용자 지정 CA 인증서](https://code.claude.com/docs/ko/network-config.md#custom-ca-certificates) |
149| `SSL certificate verification failed` | [네트워크](#ssl-certificate-errors) |154| `SSL certificate verification failed` | [네트워크](#ssl-certificate-errors) |
150| `SSL certificate error (...)` during login or startup | [네트워크](#ssl-certificate-errors) |155| 로그인 또는 시작 중 발생하는 `SSL certificate error (...)` | [네트워크](#ssl-certificate-errors) |
151| `unable to get local issuer certificate` | [네트워크](#ssl-certificate-errors) |156| `unable to get local issuer certificate` | [네트워크](#ssl-certificate-errors) |
152| 클라우드 세션 또는 클라우드 예약 작업에서 `x-deny-reason: host_not_allowed`와 함께 표시되는 `403` | [네트워크](#host-not-allowed-in-a-cloud-session) |157| 클라우드 세션 또는 클라우드 예약 작업에서 `x-deny-reason: host_not_allowed`와 함께 발생하는 `403` | [네트워크](#host-not-allowed-in-a-cloud-session) |
153| `proxy refused the connection` | [네트워크](#the-proxy-refused-the-connection) |158| `proxy refused the connection` | [네트워크](#the-proxy-refused-the-connection) |
154| `403` with `GitHub GraphQL is not available from Claude Code sessions` in a cloud session | [GitHub proxy](https://code.claude.com/docs/ko/cloud-environments.md#github-proxy) |159| 클라우드 세션에서 `GitHub GraphQL is not available from Claude Code sessions`와 함께 발생하는 `403` | [GitHub 프록시](https://code.claude.com/docs/ko/cloud-environments.md#github-proxy) |
155| `The cloud environments service returned an empty response` / `The cloud environments service returned a response in an unexpected format` | [네트워크](#the-cloud-environments-service-returned-an-empty-or-unexpected-response) |160| `The cloud environments service returned an empty response` / `The cloud environments service returned a response in an unexpected format` | [네트워크](#the-cloud-environments-service-returned-an-empty-or-unexpected-response) |
156| `Failed to fetch session from Sessions API: Failed to fetch session logs` | [네트워크](#failed-to-fetch-session-from-sessions-api) |161| `Failed to fetch session from Sessions API: Failed to fetch session logs` | [네트워크](#failed-to-fetch-session-from-sessions-api) |
162| `Couldn't load the history of cloud session` | [네트워크](#couldnt-load-the-history-of-cloud-session) |
157| `Couldn't reconnect to your Remote Control session` | [네트워크](#couldnt-reconnect-to-your-remote-control-session) |163| `Couldn't reconnect to your Remote Control session` | [네트워크](#couldnt-reconnect-to-your-remote-control-session) |
158| `N sessions ended while this machine was offline — the environment was cleaned up on the server and can't be resumed.` | [네트워크](#sessions-ended-while-this-machine-was-offline) |164| `N sessions ended while this machine was offline — the environment was cleaned up on the server and can't be resumed.` | [네트워크](#sessions-ended-while-this-machine-was-offline) |
159| `Couldn't share the transcript.` | [네트워크](#couldnt-share-the-transcript) |165| `Couldn't share the transcript.` | [네트워크](#couldnt-share-the-transcript) |
165| `Prompt is too long · this conversation is a single exchange` / `A single-exchange conversation cannot be compacted` | [요청 오류](#prompt-is-too-long) |171| `Prompt is too long · this conversation is a single exchange` / `A single-exchange conversation cannot be compacted` | [요청 오류](#prompt-is-too-long) |
166| `Context limit reached · /compact or /clear to continue` | [요청 오류](#prompt-is-too-long) |172| `Context limit reached · /compact or /clear to continue` | [요청 오류](#prompt-is-too-long) |
167| `Context limit reached · /clear to continue` | [요청 오류](#prompt-is-too-long) |173| `Context limit reached · /clear to continue` | [요청 오류](#prompt-is-too-long) |
168| `capability_rejected: prompt_too_long` on a Claude apps gateway session | [요청 오류](#prompt-is-too-long) |174| Claude apps gateway 세션에서 발생하는 `capability_rejected: prompt_too_long` | [요청 오류](#prompt-is-too-long) |
169| `upstream rejected the request` / `request too large for this upstream` on a Claude apps gateway session | [업스트림 오류 메시지](https://code.claude.com/docs/ko/claude-apps-gateway-config.md#upstream-error-messages) |175| Claude apps gateway 세션에서 발생하는 `upstream rejected the request` / `request too large for this upstream` | [업스트림 오류 메시지](https://code.claude.com/docs/ko/claude-apps-gateway-config.md#upstream-error-messages) |
170| `upstream rate limit exceeded` on a Claude apps gateway session | [업스트림 오류 메시지](https://code.claude.com/docs/ko/claude-apps-gateway-config.md#upstream-error-messages) |176| Claude apps gateway 세션에서 발생하는 `upstream rate limit exceeded` | [업스트림 오류 메시지](https://code.claude.com/docs/ko/claude-apps-gateway-config.md#upstream-error-messages) |
171| `all upstreams failed (N attempted)` on a Claude apps gateway session | [업스트림 오류 메시지](https://code.claude.com/docs/ko/claude-apps-gateway-config.md#upstream-error-messages) |177| Claude apps gateway 세션에서 발생하는 `all upstreams failed (N attempted)` | [업스트림 오류 메시지](https://code.claude.com/docs/ko/claude-apps-gateway-config.md#upstream-error-messages) |
172| `Claude Code may not be enabled for your organization` after a Claude apps gateway sign-in | [Claude apps gateway 문제 해결](https://code.claude.com/docs/ko/claude-apps-gateway-deploy.md#troubleshooting) |178| Claude apps gateway 로그인 후 발생하는 `Claude Code may not be enabled for your organization` | [Claude apps gateway 문제 해결](https://code.claude.com/docs/ko/claude-apps-gateway-deploy.md#troubleshooting) |
173| `Context exceeds the ...-token limit by ... tokens` in `/context` output | [요청 오류](#context-exceeds-the-token-limit) |179| `/context` 출력의 `Context exceeds the ...-token limit by ... tokens` | [요청 오류](#context-exceeds-the-token-limit) |
174| `Request too large` | [요청 오류](#request-too-large) |180| `Request too large` | [요청 오류](#request-too-large) |
175| `Request too large for the API's 32MB request limit` | [요청 오류](#request-too-large) |181| `Request too large for the API's 32MB request limit` | [요청 오류](#request-too-large) |
176| `Image was too large` | [요청 오류](#image-was-too-large) |182| `Image was too large` | [요청 오류](#image-was-too-large) |
181| `PDF too large` / `PDF is password protected` / `pdftoppm is not installed` | [요청 오류](#pdf-errors) |187| `PDF too large` / `PDF is password protected` / `pdftoppm is not installed` | [요청 오류](#pdf-errors) |
182| `Extra inputs are not permitted` | [요청 오류](#extra-inputs-are-not-permitted) |188| `Extra inputs are not permitted` | [요청 오류](#extra-inputs-are-not-permitted) |
183| `API Error: 400 ... tools.N.custom.input_schema: JSON schema is invalid` / `Property keys should match pattern` | [요청 오류](#tool-input-schema-is-invalid) |189| `API Error: 400 ... tools.N.custom.input_schema: JSON schema is invalid` / `Property keys should match pattern` | [요청 오류](#tool-input-schema-is-invalid) |
190| `/mcp`에서 서버 옆에 표시되는 `N tools left out` / `Claude wasn't given N tools because the Anthropic API would reject their input schemas` | [잘못된 입력 스키마가 있는 도구](https://code.claude.com/docs/ko/mcp.md#tools-with-invalid-input-schemas) |
184| `Tool "mcp__<server>__<tool>" is not sent to Claude: its name has <N> characters and the API accepts at most 128` | [요청 오류](#mcp-tool-name-over-128-characters) |191| `Tool "mcp__<server>__<tool>" is not sent to Claude: its name has <N> characters and the API accepts at most 128` | [요청 오류](#mcp-tool-name-over-128-characters) |
185| `tools.N.custom.name: String should have at most 128 characters` | [요청 오류](#mcp-tool-name-over-128-characters) |192| `tools.N.custom.name: String should have at most 128 characters` | [요청 오류](#mcp-tool-name-over-128-characters) |
186| `tool_use.name: String should have at most 200 characters` | [요청 오류](#tool-use-name-over-200-characters) |193| `tool_use.name: String should have at most 200 characters` | [요청 오류](#tool-use-name-over-200-characters) |
211| `role 'system' must precede an 'assistant' message` | [요청 오류](#role-system-must-precede-an-assistant-message) |218| `role 'system' must precede an 'assistant' message` | [요청 오류](#role-system-must-precede-an-assistant-message) |
212| `Invalid encrypted_content in search_result block` / `Invalid encrypted_index in text block` / `Failed to decrypt web search result content` | [요청 오류](#invalid-encrypted-content-in-search-result-block) |219| `Invalid encrypted_content in search_result block` / `Invalid encrypted_index in text block` / `Failed to decrypt web search result content` | [요청 오류](#invalid-encrypted-content-in-search-result-block) |
213| `Invalid encrypted_stdout in encrypted_code_execution_result block` | [요청 오류](#invalid-encrypted-content-in-search-result-block) |220| `Invalid encrypted_stdout in encrypted_code_execution_result block` | [요청 오류](#invalid-encrypted-content-in-search-result-block) |
214| `server_tool_use.name: Input should be` on every turn of a resumed session | [요청 오류](#unsupported-tool-content-removed) |221| 재개된 세션의 모든 턴에서 발생하는 `server_tool_use.name: Input should be` | [요청 오류](#unsupported-tool-content-removed) |
215| `<model> can't help with this. Start a new session to continue` | [요청 오류](#usage-policy-refusal) |222| `<model> can't help with this. Start a new session to continue` | [요청 오류](#usage-policy-refusal) |
216| `Claude Code is unable to respond to this request, which appears to violate our Usage Policy` | [요청 오류](#usage-policy-refusal) |223| `Claude Code is unable to respond to this request, which appears to violate our Usage Policy` | [요청 오류](#usage-policy-refusal) |
217| `<model>'s safeguards flagged this message` | [요청 오류](#safety-measures-flagged-a-cybersecurity-topic) |224| `<model>'s safeguards flagged this message` | [요청 오류](#safety-measures-flagged-a-cybersecurity-topic) |
229| `Error: Cannot use both --append-subagent-system-prompt and --append-subagent-system-prompt-file. Please use only one.` | [명령줄 오류](#conflict-between-a-system-prompt-flag-and-its-file-form) |236| `Error: Cannot use both --append-subagent-system-prompt and --append-subagent-system-prompt-file. Please use only one.` | [명령줄 오류](#conflict-between-a-system-prompt-flag-and-its-file-form) |
230| `Cloud sessions cannot be created from a --restricted session` | [명령줄 오류](#cloud-sessions-cannot-be-created-from-a-restricted-session) |237| `Cloud sessions cannot be created from a --restricted session` | [명령줄 오류](#cloud-sessions-cannot-be-created-from-a-restricted-session) |
231| `Cloud sessions are disabled by your organization's policy` | [명령줄 오류](#cloud-sessions-are-disabled-by-your-organizations-policy) |238| `Cloud sessions are disabled by your organization's policy` | [명령줄 오류](#cloud-sessions-are-disabled-by-your-organizations-policy) |
232| `Cloud sessions use your claude.ai login`, 자격 증명을 명시하는 정책 거부 메시지의 끝에 표시됨 | [명령줄 오류](#cloud-sessions-use-your-claude-ai-login) |239| 자격 증명을 명시하는 정책 거부 메시지 끝에 표시되는 `Cloud sessions use your claude.ai login` | [명령줄 오류](#cloud-sessions-use-your-claude-ai-login) |
233| `Couldn't verify your organization's policy for cloud sessions` | [명령줄 오류](#couldnt-verify-your-organizations-policy-for-cloud-sessions) |240| `Couldn't verify your organization's policy for cloud sessions` | [명령줄 오류](#couldnt-verify-your-organizations-policy-for-cloud-sessions) |
234| `Cloud sessions aren't available:` 뒤에 조직 정책을 불러올 수 없는 이유가 표시됨 | [명령줄 오류](#couldnt-verify-your-organizations-policy-for-cloud-sessions) |241| 조직 정책을 불러올 수 없었던 이유가 뒤따르는 `Cloud sessions aren't available:` | [명령줄 오류](#couldnt-verify-your-organizations-policy-for-cloud-sessions) |
235| `Cloud sessions aren't available with this Console sign-in. They need a claude.ai sign-in.` | [조직 UUID를 가져올 수 없음](https://code.claude.com/docs/ko/claude-code-on-the-web.md#unable-to-get-organization-uuid) |242| `Cloud sessions aren't available with this Console sign-in. They need a claude.ai sign-in.` | [조직 UUID를 가져올 수 없음](https://code.claude.com/docs/ko/claude-code-on-the-web.md#unable-to-get-organization-uuid) |
236| `Cloud sessions need a claude.ai sign-in` | [조직 UUID를 가져올 수 없음](https://code.claude.com/docs/ko/claude-code-on-the-web.md#unable-to-get-organization-uuid) |243| `Cloud sessions need a claude.ai sign-in` | [조직 UUID를 가져올 수 없음](https://code.claude.com/docs/ko/claude-code-on-the-web.md#unable-to-get-organization-uuid) |
237| `Nothing was stashed: "<path>" is now a folder in place of a tracked file or link` / `are now folders in place of tracked files or links` | [명령줄 오류](#nothing-was-stashed-because-a-folder-replaced-a-tracked-file) |244| `Nothing was stashed: "<path>" is now a folder in place of a tracked file or link` / `are now folders in place of tracked files or links` | [명령줄 오류](#nothing-was-stashed-because-a-folder-replaced-a-tracked-file) |
247| `ENOSPC: no space left on device, mkdir '<dir>'` | [명령줄 오류](#temp-directory-refused-or-cannot-be-created) |254| `ENOSPC: no space left on device, mkdir '<dir>'` | [명령줄 오류](#temp-directory-refused-or-cannot-be-created) |
248| `Error: Claude Code could not save ... because the disk is full (ENOSPC)` / `because your disk quota is used up (EDQUOT)` | [명령줄 오류](#could-not-save-because-the-disk-is-full) |255| `Error: Claude Code could not save ... because the disk is full (ENOSPC)` / `because your disk quota is used up (EDQUOT)` | [명령줄 오류](#could-not-save-because-the-disk-is-full) |
249| `couldn't be resolved to a real location, so its skills, commands, and agents weren't loaded` | [명령줄 오류](#directory-couldnt-be-resolved-to-a-real-location) |256| `couldn't be resolved to a real location, so its skills, commands, and agents weren't loaded` | [명령줄 오류](#directory-couldnt-be-resolved-to-a-real-location) |
250| `Error: Workspace not trusted` when starting Remote Control | [명령줄 오류](#workspace-not-trusted-when-starting-remote-control) |257| Remote Control 시작 시 발생하는 `Error: Workspace not trusted` | [명령줄 오류](#workspace-not-trusted-when-starting-remote-control) |
251| `claude ultrareview` 실행 시 표시되는 `Error: Workspace not trusted` | [명령줄 오류](#workspace-not-trusted-when-running-claude-ultrareview) |258| `claude ultrareview` 실행 시 발생하는 `Error: Workspace not trusted` | [명령줄 오류](#workspace-not-trusted-when-running-claude-ultrareview) |
252| `Ultrareview did not start` | [명령줄 오류](#ultrareview-did-not-start) |259| `Ultrareview did not start` | [명령줄 오류](#ultrareview-did-not-start) |
253| `Remote Control did not start: "<question>" got no answer` | [명령줄 오류](#remote-control-did-not-start-got-no-answer) |260| `Remote Control did not start: "<question>" got no answer` | [명령줄 오류](#remote-control-did-not-start-got-no-answer) |
254| `` `<flag>` before `remote-control` is not carried over to the sessions Remote Control starts `` | [명령줄 오류](#not-carried-over-to-the-sessions-remote-control-starts) |261| `` `<flag>` before `remote-control` is not carried over to the sessions Remote Control starts `` | [명령줄 오류](#not-carried-over-to-the-sessions-remote-control-starts) |
269| `Error: MCP tool <name> (passed via --permission-prompt-tool) not found` | [명령줄 오류](#mcp-permission-prompt-tool-not-found) |276| `Error: MCP tool <name> (passed via --permission-prompt-tool) not found` | [명령줄 오류](#mcp-permission-prompt-tool-not-found) |
270| `OAuth callback port <port> is already in use — another process may be holding it` | [명령줄 오류](#oauth-callback-port-is-already-in-use) |277| `OAuth callback port <port> is already in use — another process may be holding it` | [명령줄 오류](#oauth-callback-port-is-already-in-use) |
271| `No available ports for OAuth redirect` | [명령줄 오류](#no-available-ports-for-oauth-redirect) |278| `No available ports for OAuth redirect` | [명령줄 오류](#no-available-ports-for-oauth-redirect) |
272| `Shell command failed for pattern "..."`, from `/security-review` or any skill that injects dynamic context | [명령줄 오류](#security-review-fails-without-origin-head) |279| `/security-review` 또는 동적 컨텍스트를 주입하는 스킬에서 발생하는 `Shell command failed for pattern "..."` | [명령줄 오류](#security-review-fails-without-origin-head) |
273| `Shell command permission check failed for pattern "..."`, from a skill that injects dynamic context | [명령줄 오류](#security-review-fails-without-origin-head) |280| 동적 컨텍스트를 주입하는 스킬에서 발생하는 `Shell command permission check failed for pattern "..."` | [명령줄 오류](#security-review-fails-without-origin-head) |
281| 동적 컨텍스트를 주입하는 스킬에서 발생하는 ``Couldn't run `<command>` for <name>. A file named HEAD or .git in this folder or one above it may not be yours`` | [주입된 명령에 대한 권한 검사](https://code.claude.com/docs/ko/skills.md#permission-checks-on-injected-commands) |
274| ``Skill <name> requires bash (`shell: bash` in frontmatter) but Git Bash was not found`` | [명령줄 오류](#security-review-fails-without-origin-head) |282| ``Skill <name> requires bash (`shell: bash` in frontmatter) but Git Bash was not found`` | [명령줄 오류](#security-review-fails-without-origin-head) |
275| `No shell command in <name> was run, because the <tool> tool does not accept one of them` | [명령줄 오류](#no-shell-command-was-run) |283| `No shell command in <name> was run, because the <tool> tool does not accept one of them` | [명령줄 오류](#no-shell-command-was-run) |
284| `This skill, command or hook and the arguments filled into it add up to more than 4,000,000 characters` | [명령줄 오류](#skill-command-or-hook-over-the-4000000-character-limit) |
276| `Input must be provided either through stdin or as a prompt argument when using --print` | [명령줄 오류](#input-must-be-provided-when-using-print) |285| `Input must be provided either through stdin or as a prompt argument when using --print` | [명령줄 오류](#input-must-be-provided-when-using-print) |
277| `Claude Code can't read the keyboard here: stdin is not a terminal` | [명령줄 오류](#claude-code-cant-read-the-keyboard-here) |286| `Claude Code can't read the keyboard here: stdin is not a terminal` | [명령줄 오류](#claude-code-cant-read-the-keyboard-here) |
278| `Error: Input contained only whitespace` | [명령줄 오류](#input-contained-only-whitespace) |287| `Error: Input contained only whitespace` | [명령줄 오류](#input-contained-only-whitespace) |
279| `Blank prompt — the message was only whitespace, so nothing was sent to the model.` | [명령줄 오류](#input-contained-only-whitespace) |288| `Blank prompt — the message was only whitespace, so nothing was sent to the model.` | [명령줄 오류](#input-contained-only-whitespace) |
280| `Error: stream-json input carried over 256M characters with no newline` | [명령줄 오류](#stream-json-input-carried-over-256m-characters-with-no-newline) |289| `Error: stream-json input carried over 256M characters with no newline` | [명령줄 오류](#stream-json-input-carried-over-256m-characters-with-no-newline) |
281| `Unknown command: /<name>`, with or without a `Did you mean` suggestion | [명령줄 오류](#unknown-command) |290| `Did you mean` 제안 유무와 관계없이 표시되는 `Unknown command: /<name>` | [명령줄 오류](#unknown-command) |
282| `Diff is too large for ultrareview` / `PR #<N> is too large for ultrareview` | [명령줄 오류](#diff-is-too-large-for-ultrareview) |291| `Diff is too large for ultrareview` / `PR #<N> is too large for ultrareview` | [명령줄 오류](#diff-is-too-large-for-ultrareview) |
283| `Could not find merge-base with <branch>` | [명령줄 오류](#could-not-find-merge-base-with-the-base-branch) |292| `Could not find merge-base with <branch>` | [명령줄 오류](#could-not-find-merge-base-with-the-base-branch) |
284| `Your checkout has no branches (detached HEAD only)` | [명령줄 오류](#your-checkout-has-no-branches) |293| `Your checkout has no branches (detached HEAD only)` | [명령줄 오류](#your-checkout-has-no-branches) |
285| `Ultrareview clones <owner>/<repo> in the cloud with the GitHub account connected to your Claude account, and none is connected` | [명령줄 오류](#no-github-account-is-connected-to-your-claude-account) |294| `Ultrareview clones <owner>/<repo> in the cloud with the GitHub account connected to your Claude account, and none is connected` | [명령줄 오류](#no-github-account-is-connected-to-your-claude-account) |
286| `Your connected GitHub account can't see <owner>/<repo>` | [명령줄 오류](#your-connected-github-account-cant-see-the-repository) |295| `Your connected GitHub account can't see <owner>/<repo>` | [명령줄 오류](#your-connected-github-account-cant-see-the-repository) |
287| `The GitHub App preflight failed transiently (network or service hiccup) — retry in a moment to start from GitHub instead` | [명령줄 오류](#the-github-app-preflight-failed-transiently) |296| `The GitHub App preflight failed transiently (network or service hiccup) — retry in a moment to start from GitHub instead` | [명령줄 오류](#the-github-app-preflight-failed-transiently) |
288| `Not uploading this working tree` with `the upload cannot follow that setting` | [명령줄 오류](#the-repository-upload-cant-follow-a-git-setting) |297| `the upload cannot follow that setting`과 함께 표시되는 `Not uploading this working tree` | [명령줄 오류](#the-repository-upload-cant-follow-a-git-setting) |
298| 다른 원인과 함께 표시되는 `Not uploading this working tree` / `Git will not work in this checkout because its folder, or the .git in it, belongs to another user` | [GitHub 없이 로컬 저장소 보내기](https://code.claude.com/docs/ko/claude-code-on-the-web.md#send-local-repositories-without-github) |
289| `GitHub isn't connected to your Claude account, so this repository can't be cloned in the cloud` | [명령줄 오류](#github-isnt-connected-to-your-claude-account) |299| `GitHub isn't connected to your Claude account, so this repository can't be cloned in the cloud` | [명령줄 오류](#github-isnt-connected-to-your-claude-account) |
290| `Your GitHub organization has an IP allowlist that is blocking Claude` | [명령줄 오류](#a-github-organization-policy-is-blocking-claude) |300| `Your GitHub organization has an IP allowlist that is blocking Claude` | [명령줄 오류](#a-github-organization-policy-is-blocking-claude) |
291| `Your GitHub organization requires single sign-on` | [명령줄 오류](#a-github-organization-policy-is-blocking-claude) |301| `Your GitHub organization requires single sign-on` | [명령줄 오류](#a-github-organization-policy-is-blocking-claude) |
309| `/recap only runs when you ask for it yourself in this session` | [명령줄 오류](#recap-only-runs-when-you-ask-for-it-yourself) |319| `/recap only runs when you ask for it yourself in this session` | [명령줄 오류](#recap-only-runs-when-you-ask-for-it-yourself) |
310| `/feedback is disabled by your organization's policy`, 또는 `/bug`나 `/share`에 대한 동일한 메시지 | [명령줄 오류](#feedback-is-disabled-by-your-organizations-policy) |320| `/feedback is disabled by your organization's policy`, 또는 `/bug`나 `/share`에 대한 동일한 메시지 | [명령줄 오류](#feedback-is-disabled-by-your-organizations-policy) |
311| `` `plugin eval` is currently in early access `` / `` `plugin eval` is currently unavailable `` | [플러그인 오류](#plugin-eval-is-currently-in-early-access) |321| `` `plugin eval` is currently in early access `` / `` `plugin eval` is currently unavailable `` | [플러그인 오류](#plugin-eval-is-currently-in-early-access) |
322| `credential store on this machine holds a symbolic link inside it` | [도구 부여](https://code.claude.com/docs/ko/plugin-evals.md#grant-tools) |
312| `cannot be evaluated where sessions load it` | [eval로 플러그인 테스트](https://code.claude.com/docs/ko/plugin-evals.md#cannot-be-evaluated-where-sessions-load-it) |323| `cannot be evaluated where sessions load it` | [eval로 플러그인 테스트](https://code.claude.com/docs/ko/plugin-evals.md#cannot-be-evaluated-where-sessions-load-it) |
313| `Marketplace "<name>" is registered from an untrusted source` | [플러그인 오류](#marketplace-is-registered-from-an-untrusted-source) |324| `Marketplace "<name>" is registered from an untrusted source` | [플러그인 오류](#marketplace-is-registered-from-an-untrusted-source) |
314| `Claude Code refuses the marketplace name "<name>"` | [플러그인 오류](#claude-code-refuses-the-marketplace-name) |325| `Claude Code refuses the marketplace name "<name>"` | [플러그인 오류](#claude-code-refuses-the-marketplace-name) |
340| `Plugin "<plugin>" was not uninstalled: installed_plugins.json` | [플러그인 문제 해결](https://code.claude.com/docs/ko/plugins/troubleshooting.md#installed-plugins-json-holds-a-record-this-version-cannot-read) |351| `Plugin "<plugin>" was not uninstalled: installed_plugins.json` | [플러그인 문제 해결](https://code.claude.com/docs/ko/plugins/troubleshooting.md#installed-plugins-json-holds-a-record-this-version-cannot-read) |
341| `Plugin directory does not exist: <path>` | [플러그인 문제 해결](https://code.claude.com/docs/ko/plugins/troubleshooting.md#plugin-directory-does-not-exist) |352| `Plugin directory does not exist: <path>` | [플러그인 문제 해결](https://code.claude.com/docs/ko/plugins/troubleshooting.md#plugin-directory-does-not-exist) |
342| `Skipping connection (recent failure cached; retries automatically in 15 min, or edit the plugin config to retry now)` | [플러그인 오류](#skipping-connection-recent-failure-cached) |353| `Skipping connection (recent failure cached; retries automatically in 15 min, or edit the plugin config to retry now)` | [플러그인 오류](#skipping-connection-recent-failure-cached) |
354| `is not added on this machine, so your organization's marketplace policy keeps its plugins off` | [마켓플레이스 추가](https://code.claude.com/docs/ko/plugins/install.md#add-a-marketplace) |
355| `A mod's http.fetch hook stopped this request` | [mod 켜기 또는 끄기](https://code.claude.com/docs/ko/plugins/mods/overview.md#turn-mods-on-or-off) |
343| `Error: No such tool available: <tool name>` | [도구 오류](#no-such-tool-available) |356| `Error: No such tool available: <tool name>` | [도구 오류](#no-such-tool-available) |
344| `MCP server "<name>" connection closed before the tool call was answered` | [도구 오류](#connection-closed-before-the-tool-call-was-answered) |357| `MCP server "<name>" connection closed before the tool call was answered` | [도구 오류](#connection-closed-before-the-tool-call-was-answered) |
345| `MCP server "<name>" is disabled — re-enable it via /mcp to use its tools` | [도구 오류](#mcp-server-is-disabled) |358| `MCP server "<name>" is disabled — re-enable it via /mcp to use its tools` | [도구 오류](#mcp-server-is-disabled) |
353| `cannot contain null bytes (\0)` | [도구 오류](#path-cannot-contain-null-bytes) |366| `cannot contain null bytes (\0)` | [도구 오류](#path-cannot-contain-null-bytes) |
354| `Path contains null bytes` | [도구 오류](#path-cannot-contain-null-bytes) |367| `Path contains null bytes` | [도구 오류](#path-cannot-contain-null-bytes) |
355| `command contains the invisible character U+FEFF (byte order mark) or U+180E (Mongolian vowel separator), and was not run` | [도구 오류](#command-contains-an-invisible-character) |368| `command contains the invisible character U+FEFF (byte order mark) or U+180E (Mongolian vowel separator), and was not run` | [도구 오류](#command-contains-an-invisible-character) |
356| `This call was not run. The command was approved before Claude Code restarted` | [도구 오류](#command-approved-before-a-restart-was-not-run) |369| `This call was not run. Claude Code could not confirm that the shell is back in the directory`, v2.1.323부터 | [도구 오류](#command-approved-before-a-restart-was-not-run) |
357| `File is too large to read as an image (the limit is 128MB)` | [도구 오류](#file-is-too-large-to-read-as-an-image) |370| `File is too large to read as an image (the limit is 128MB)` | [도구 오류](#file-is-too-large-to-read-as-an-image) |
358| `Cannot read this as an image: <path> is a pipe or a device` | [도구 오류](#file-is-too-large-to-read-as-an-image) |371| `Cannot read this as an image: <path> is a pipe or a device` | [도구 오류](#file-is-too-large-to-read-as-an-image) |
359| `subagent_type is required: the general-purpose agent is not available in this session` | [도구 오류](#subagent-type-is-required) |372| `subagent_type is required: the general-purpose agent is not available in this session` | [도구 오류](#subagent-type-is-required) |
394| `Reading a local file from outside this session's connected folders, or through a link, needs the approval card` | [도구 오류](#reading-a-local-file-from-outside-the-connected-folders) |407| `Reading a local file from outside this session's connected folders, or through a link, needs the approval card` | [도구 오류](#reading-a-local-file-from-outside-the-connected-folders) |
395| `cannot read file_path (...) — the file could not be examined, and no one can answer the approval card` | [도구 오류](#reading-a-local-file-from-outside-the-connected-folders) |408| `cannot read file_path (...) — the file could not be examined, and no one can answer the approval card` | [도구 오류](#reading-a-local-file-from-outside-the-connected-folders) |
396| `WebFetch cannot fetch localhost or other hostnames without a dot` | [도구 오류](#webfetch-cannot-fetch-localhost) |409| `WebFetch cannot fetch localhost or other hostnames without a dot` | [도구 오류](#webfetch-cannot-fetch-localhost) |
410| `Claude Code is unable to fetch from ...` | [도구 오류](#claude-code-is-unable-to-fetch-from-a-host) |
397| `The safety check for domain ... is rate-limited` | [도구 오류](#webfetch-domain-safety-check-failed) |411| `The safety check for domain ... is rate-limited` | [도구 오류](#webfetch-domain-safety-check-failed) |
398| `The safety check for domain ... is temporarily rate-limited` | [도구 오류](#webfetch-domain-safety-check-failed) |412| `The safety check for domain ... is temporarily rate-limited` | [도구 오류](#webfetch-domain-safety-check-failed) |
399| `Unable to verify if domain ... is safe to fetch` | [도구 오류](#webfetch-domain-safety-check-failed) |413| `Unable to verify if domain ... is safe to fetch` | [도구 오류](#webfetch-domain-safety-check-failed) |
409| `This conversation is already open in another running Claude session` | [백그라운드 세션 오류](#this-session-is-running-in-another-terminal) |423| `This conversation is already open in another running Claude session` | [백그라운드 세션 오류](#this-session-is-running-in-another-terminal) |
410| `This session's saved conversation is no longer on disk` | [백그라운드 세션 오류](#this-sessions-saved-conversation-is-no-longer-on-disk) |424| `This session's saved conversation is no longer on disk` | [백그라운드 세션 오류](#this-sessions-saved-conversation-is-no-longer-on-disk) |
411| `This forked session could not be started. Fork the conversation again to retry.` | [백그라운드 세션 오류](#this-forked-session-could-not-be-started) |425| `This forked session could not be started. Fork the conversation again to retry.` | [백그라운드 세션 오류](#this-forked-session-could-not-be-started) |
412| `Bypass permissions was requested at launch and ignored` | [백그라운드 세션에서 권한 우회가 무시됨](https://code.claude.com/docs/ko/permission-modes.md#bypass-permissions-ignored-in-a-background-session) |426| `Bypass permissions was requested at launch and ignored` | [백그라운드 세션에서 무시된 권한 우회](https://code.claude.com/docs/ko/permission-modes.md#bypass-permissions-ignored-in-a-background-session) |
413| `kept <id> — its worktree is still at <path>` | 메시지의 다음 줄에 푸시되지 않은 커밋이 언급된 경우 [백그라운드 세션 오류](#worktree-has-commits-that-are-not-pushed-anywhere), 그렇지 않으면 [세션 삭제 시 제거되는 항목](https://code.claude.com/docs/ko/agent-view.md#what-deleting-a-session-removes) |427| `kept <id> — its worktree is still at <path>` | 메시지의 다음 줄에 푸시되지 않은 커밋이 언급된 경우 [백그라운드 세션 오류](#worktree-has-commits-that-are-not-pushed-anywhere), 그렇지 않으면 [세션 삭제 시 제거되는 항목](https://code.claude.com/docs/ko/agent-view.md#what-deleting-a-session-removes) |
414| `kept <id> — <n> unpushed commits on <branch>` | [백그라운드 세션 오류](#worktree-has-commits-that-are-not-pushed-anywhere) |428| `kept <id> — <n> unpushed commits on <branch>` | [백그라운드 세션 오류](#worktree-has-commits-that-are-not-pushed-anywhere) |
415| `kept <id> — worktree has commits that are not pushed anywhere` | [백그라운드 세션 오류](#worktree-has-commits-that-are-not-pushed-anywhere) |429| `kept <id> — worktree has commits that are not pushed anywhere` | [백그라운드 세션 오류](#worktree-has-commits-that-are-not-pushed-anywhere) |
425| `EACCES: permission denied, posix_spawn` | [백그라운드 세션 오류](#eacces-when-starting-a-background-session) |439| `EACCES: permission denied, posix_spawn` | [백그라운드 세션 오류](#eacces-when-starting-a-background-session) |
426| `exited before it became reachable` | [백그라운드 세션 오류](#background-service-exited-before-it-became-reachable) |440| `exited before it became reachable` | [백그라운드 세션 오류](#background-service-exited-before-it-became-reachable) |
427| `Couldn't start a background session (working directory no longer exists or is not accessible: ...)` | [백그라운드 세션 오류](#working-directory-no-longer-exists-when-starting-a-background-session) |441| `Couldn't start a background session (working directory no longer exists or is not accessible: ...)` | [백그라운드 세션 오류](#working-directory-no-longer-exists-when-starting-a-background-session) |
428| `Workspace not trusted.` when starting or restarting a background session | [백그라운드 세션 오류](#workspace-not-trusted-when-dispatching-a-background-session) |442| 백그라운드 세션을 시작하거나 다시 시작할 때 표시되는 `Workspace not trusted.` | [백그라운드 세션 오류](#workspace-not-trusted-when-dispatching-a-background-session) |
429| `Claude Code is being updated by npm on this machine (still not runnable after 2 min, ...)` | [백그라운드 세션 오류](#eacces-when-starting-a-background-session) |443| `Claude Code is being updated by npm on this machine (still not runnable after 2 min, ...)` | [백그라운드 세션 오류](#eacces-when-starting-a-background-session) |
430| `Claude Code process exited with code N` | [래퍼 및 IDE 오류](#claude-code-process-exited-with-code-n) |444| `Claude Code process exited with code N` | [래퍼 및 IDE 오류](#claude-code-process-exited-with-code-n) |
445| `Subprocess initialization did not complete within 60000ms` | [래퍼 및 IDE 오류](#subprocess-initialization-did-not-complete-within-60000ms) |
446| `Claude Code did not finish starting` | [래퍼 및 IDE 오류](#subprocess-initialization-did-not-complete-within-60000ms) |
431| `The connection to Claude Code ended before this message completed` | [래퍼 및 IDE 오류](#the-connection-to-claude-code-ended-before-this-message-completed) |447| `The connection to Claude Code ended before this message completed` | [래퍼 및 IDE 오류](#the-connection-to-claude-code-ended-before-this-message-completed) |
432| `Could not locate the Claude CLI on PATH` | [래퍼 및 IDE 오류](#could-not-locate-the-claude-cli-on-path) |448| `Could not locate the Claude CLI on PATH` | [래퍼 및 IDE 오류](#could-not-locate-the-claude-cli-on-path) |
433| `The Claude Code program for this computer, the <build> build, could not be found` | [래퍼 및 IDE 오류](#the-claude-code-program-for-this-computer-could-not-be-found) |449| `The Claude Code program for this computer, the <build> build, could not be found` | [래퍼 및 IDE 오류](#the-claude-code-program-for-this-computer-could-not-be-found) |
434| `Restored the code, but skipped N files` | [되돌리기 경고 및 오류](#restored-the-code-but-skipped-files) |450| `Restored the code, but skipped N files` | [되감기 경고 및 오류](#restored-the-code-but-skipped-files) |
435| `No files were restored: N files failed (backup missing, or the file could not be updated)` | [되돌리기 경고 및 오류](#no-files-were-restored) |451| `No files were restored: N files failed (backup missing, or the file could not be updated)` | [되감기 경고 및 오류](#no-files-were-restored) |
436| `The file backups are still being copied. Nothing was changed. Try again in a moment.` | [`/rewind`](https://code.claude.com/docs/ko/checkpointing)에서 같은 지점을 다시 선택합니다. [`/branch`](https://code.claude.com/docs/ko/sessions#branch-a-session) 직후에 코드를 복원하면 Claude Code가 아직 파일 백업을 새 세션으로 복사하는 중일 수 있습니다. |452| `The file backups are still being copied. Nothing was changed. Try again in a moment.` | [`/rewind`](https://code.claude.com/docs/ko/checkpointing)에서 같은 지점을 다시 선택합니다. [`/branch`](https://code.claude.com/docs/ko/sessions#branch-a-session) 직후에 코드를 복원하면 Claude Code가 아직 파일 백업을 새 세션으로 복사하고 있을 수 있습니다. |
437| `Transcript writes are failing (...)` | [세션 저장 경고](#transcript-writes-are-failing) |453| `Transcript writes are failing (...)` | [세션 저장 경고](#transcript-writes-are-failing) |
438| `Transcript saving is off — CLAUDE_CODE_SKIP_PROMPT_HISTORY is set` | [세션 저장 경고](#transcript-saving-is-off-skip-prompt-history) |454| `Transcript saving is off — CLAUDE_CODE_SKIP_PROMPT_HISTORY is set` | [세션 저장 경고](#transcript-saving-is-off-skip-prompt-history) |
439| `Transcript saving is off — inherited CLAUDE_CODE_CHILD_SESSION marker` | [세션 저장 경고](#transcript-saving-is-off-child-session-marker) |455| `Transcript saving is off — inherited CLAUDE_CODE_CHILD_SESSION marker` | [세션 저장 경고](#transcript-saving-is-off-child-session-marker) |
440| `Claude Code's fullscreen renderer didn't finish starting last time on this machine` / `Claude Code's fullscreen renderer has repeatedly failed to start on this machine` | [전체 화면 렌더링](https://code.claude.com/docs/ko/fullscreen.md#fullscreen-renderer-didnt-finish-starting) |456| `Claude Code's fullscreen renderer didn't finish starting last time on this machine` / `Claude Code's fullscreen renderer has repeatedly failed to start on this machine` | [전체 화면 렌더링](https://code.claude.com/docs/ko/fullscreen.md#fullscreen-renderer-didnt-finish-starting) |
441| `Claude Code exited after an unrecoverable interface error (...)` | [구성 경고](#exited-after-an-unrecoverable-interface-error) |457| `Claude Code exited after an unrecoverable interface error (...)` | [구성 경고](#exited-after-an-unrecoverable-interface-error) |
442| `Agent descriptions are over the 15.0k-token limit` | [구성 경고](#agent-descriptions-are-over-the-15000-token-limit) |458| `Agent descriptions are over the 15.0k-token limit` | [구성 경고](#agent-descriptions-are-over-the-15000-token-limit) |
459| `declares type "claudeai-proxy", which only claude.ai connectors use` | MCP 구성에서 해당 항목을 제거합니다. [claude.ai의 MCP 서버 사용](https://code.claude.com/docs/ko/mcp.md#use-mcp-servers-from-claude-ai)을 참조하세요. |
443| `hook needs quotes around a path with a space` | [구성 경고](#hook-needs-quotes-around-a-path-with-a-space) |460| `hook needs quotes around a path with a space` | [구성 경고](#hook-needs-quotes-around-a-path-with-a-space) |
444| `Instruction file not loaded` | [구성 경고](#instruction-file-not-loaded) |461| `Instruction file not loaded` | [구성 경고](#instruction-file-not-loaded) |
445| `Not loaded: rename <path>, then restart — its name uses "<name>", a name reserved for the skills synced from your claude.ai account` | [구성 경고](#a-skill-command-or-workflow-wasnt-loaded-because-its-name-is-reserved) |462| `Not loaded: rename <path>, then restart — its name uses "<name>", a name reserved for the skills synced from your claude.ai account` | [구성 경고](#a-skill-command-or-workflow-wasnt-loaded-because-its-name-is-reserved) |
449| `Make this change again later: <path> could not be updated, so it applies to this session only` | [구성 경고](#make-this-change-again-later) |466| `Make this change again later: <path> could not be updated, so it applies to this session only` | [구성 경고](#make-this-change-again-later) |
450| `is a network path, which cannot be added as a working directory` | [구성 경고](#working-directory-is-a-network-path) |467| `is a network path, which cannot be added as a working directory` | [구성 경고](#working-directory-is-a-network-path) |
451| `Remote managed settings failed to load (<cause>)` | [구성 경고](#remote-managed-settings-failed-to-load) |468| `Remote managed settings failed to load (<cause>)` | [구성 경고](#remote-managed-settings-failed-to-load) |
452| `Your organization requires remote managed settings to load, but they could not be loaded` | [fail-closed 시작 강제](https://code.claude.com/docs/ko/server-managed-settings.md#enforce-fail-closed-startup) |469| `Your organization requires remote managed settings to load, but they could not be loaded` | [실패 시 차단 방식의 시작 강제](https://code.claude.com/docs/ko/server-managed-settings.md#enforce-fail-closed-startup) |
453| `Remote managed settings are still loading` | [구성 경고](#remote-managed-settings-failed-to-load) |470| `Remote managed settings are still loading` | [구성 경고](#remote-managed-settings-failed-to-load) |
454| `Remote managed settings did not load` | [구성 경고](#remote-managed-settings-failed-to-load) |471| `Remote managed settings did not load` | [구성 경고](#remote-managed-settings-failed-to-load) |
455| `Claude Code couldn't load your organization's settings` / `Claude Code couldn't reach Anthropic to load your organization's settings` / `requires them before a session can start` | [구성 경고](#couldnt-load-your-organizations-settings) |472| `Claude Code couldn't load your organization's settings` / `Claude Code couldn't reach Anthropic to load your organization's settings` / `requires them before a session can start` | [구성 경고](#couldnt-load-your-organizations-settings) |
478| `allows any option at its * · use an exact value` | [구성 경고](#has-a-wildcard-before-the-rest-of-the-command) |495| `allows any option at its * · use an exact value` | [구성 경고](#has-a-wildcard-before-the-rest-of-the-command) |
479| `Denying Bash also turns off the PowerShell tool, so Claude has neither` | [구성 경고](#denying-bash-also-turns-off-the-powershell-tool) |496| `Denying Bash also turns off the PowerShell tool, so Claude has neither` | [구성 경고](#denying-bash-also-turns-off-the-powershell-tool) |
480| `CLAUDE_CODE_DISABLE_1M_CONTEXT is set, but the 200K limit isn't enforced` | [구성 경고](#the-200k-limit-isnt-enforced) |497| `CLAUDE_CODE_DISABLE_1M_CONTEXT is set, but the 200K limit isn't enforced` | [구성 경고](#the-200k-limit-isnt-enforced) |
481| `CLAUDE_CODE_AUTO_COMPACT_WINDOW="<value>" reads as <N> tokens, so Claude Code treats it as the 100k minimum` | [`CLAUDE_CODE_AUTO_COMPACT_WINDOW`의 값 및 경고](https://code.claude.com/docs/ko/model-config#claude_code_auto_compact_window-values) |498| `CLAUDE_CODE_AUTO_COMPACT_WINDOW="<value>" reads as <N> tokens, so Claude Code treats it as the 100k minimum` | [`CLAUDE_CODE_AUTO_COMPACT_WINDOW`의 값과 경고](https://code.claude.com/docs/ko/model-config#claude_code_auto_compact_window-values) |
482| `CLAUDE_CODE_AUTO_COMPACT_WINDOW="<value>" is too large, so Claude Code treats it as the 1M maximum` | [`CLAUDE_CODE_AUTO_COMPACT_WINDOW`의 값 및 경고](https://code.claude.com/docs/ko/model-config#claude_code_auto_compact_window-values) |499| `CLAUDE_CODE_AUTO_COMPACT_WINDOW="<value>" is too large, so Claude Code treats it as the 1M maximum` | [`CLAUDE_CODE_AUTO_COMPACT_WINDOW`의 값과 경고](https://code.claude.com/docs/ko/model-config#claude_code_auto_compact_window-values) |
483| `CLAUDE_CODE_AUTO_COMPACT_WINDOW="<value>" isn't a usable size, so Claude Code ignores it` | [`CLAUDE_CODE_AUTO_COMPACT_WINDOW`의 값 및 경고](https://code.claude.com/docs/ko/model-config#claude_code_auto_compact_window-values) |500| `CLAUDE_CODE_AUTO_COMPACT_WINDOW="<value>" isn't a usable size, so Claude Code ignores it` | [`CLAUDE_CODE_AUTO_COMPACT_WINDOW`의 값과 경고](https://code.claude.com/docs/ko/model-config#claude_code_auto_compact_window-values) |
484| `Model "<model>" isn't recognized · context assumed to be 200k tokens` | [게이트웨이 또는 사용자 지정 모델 ID의 윈도우 수정](https://code.claude.com/docs/ko/model-config.md#correct-the-window-for-a-gateway-or-custom-model-id) |501| `Model "<model>" isn't recognized · context assumed to be <N> tokens` / `Claude Code doesn't recognize the model "<model>", so it assumes a context window of <N> tokens` | [게이트웨이 또는 사용자 지정 모델 ID의 윈도우 수정](https://code.claude.com/docs/ko/model-config.md#correct-the-window-for-a-gateway-or-custom-model-id) |
485| `Claude Code doesn't recognize the model "<model>", so it assumes a context window of 200k tokens` | [게이트웨이 또는 사용자 지정 모델 ID의 윈도우 수정](https://code.claude.com/docs/ko/model-config.md#correct-the-window-for-a-gateway-or-custom-model-id) |
486| `Model "<model>" isn't recognized · did you mean "<suggestion>"?` / `Claude Code doesn't recognize the model "<model>". Did you mean "<suggestion>"?` | [잘못 입력한 모델 이름 수정](https://code.claude.com/docs/ko/model-config.md#fix-a-mistyped-model-name) |502| `Model "<model>" isn't recognized · did you mean "<suggestion>"?` / `Claude Code doesn't recognize the model "<model>". Did you mean "<suggestion>"?` | [잘못 입력한 모델 이름 수정](https://code.claude.com/docs/ko/model-config.md#fix-a-mistyped-model-name) |
487| `[claude-code:unrecognized_model]` | [구성 경고](#unrecognized-model-id-on-a-request) |503| `[claude-code:unrecognized_model]` | [구성 경고](#unrecognized-model-id-on-a-request) |
488| `is ignored — managed settings set allowManagedReadPathsOnly` / `is ignored — managed settings set allowManagedDomainsOnly` | [구성 경고](#sandbox-allow-entries-are-ignored-under-a-managed-lock) |504| `is ignored — managed settings set allowManagedReadPathsOnly` / `is ignored — managed settings set allowManagedDomainsOnly` | [구성 경고](#sandbox-allow-entries-are-ignored-under-a-managed-lock) |
563| `CLAUDE_CODE_RETRY_WATCHDOG_MAX_USAGE_LIMIT_WAIT_MS` | 상한 없음 | `CLAUDE_CODE_RETRY_WATCHDOG`이 설정된 경우, 하나의 요청이 세션 한도나 주간 한도와 같은 플랜의 [사용 한도](#youve-hit-your-session-limit)가 재설정되기를 기다리는 최대 시간(밀리초)입니다. 재설정 시점이 이 상한보다 더 멀리 있으면 요청은 즉시 실패합니다. 단, 사용량 크레딧에 여유가 있거나 API가 이를 확인할 수 없었던 경우는 예외입니다. 이러한 경우 요청은 재시도되며, 성공하기 전에 상한이 지나면 실패합니다. Claude Code v2.1.301 이상이 필요합니다. |579| `CLAUDE_CODE_RETRY_WATCHDOG_MAX_USAGE_LIMIT_WAIT_MS` | 상한 없음 | `CLAUDE_CODE_RETRY_WATCHDOG`이 설정된 경우, 하나의 요청이 세션 한도나 주간 한도와 같은 플랜의 [사용 한도](#youve-hit-your-session-limit)가 재설정되기를 기다리는 최대 시간(밀리초)입니다. 재설정 시점이 이 상한보다 더 멀리 있으면 요청은 즉시 실패합니다. 단, 사용량 크레딧에 여유가 있거나 API가 이를 확인할 수 없었던 경우는 예외입니다. 이러한 경우 요청은 재시도되며, 성공하기 전에 상한이 지나면 실패합니다. Claude Code v2.1.301 이상이 필요합니다. |
564| [`CLAUDE_CODE_RETRY_WATCHDOG_USAGE_LIMIT_RECHECK_MS`](https://code.claude.com/docs/ko/env-vars) | 설정 안 됨 | `CLAUDE_CODE_RETRY_WATCHDOG`이 설정된 상태에서 요청이 [사용 한도](#youve-hit-your-session-limit)가 재설정되기를 기다리는 동안, 해당 한도가 이미 해제되었는지 확인하는 검사 사이의 최소 간격(밀리초)입니다. 검사에서 한도가 해제된 것으로 확인되면 요청이 즉시 전송됩니다. `60000`에서 `10800000` 사이의 숫자만 입력하세요. 설정하지 않거나 해당 범위를 벗어나면 검사를 수행하지 않습니다. Claude Code가 이러한 검사를 건너뛰는 경우는 [환경 변수 참조](https://code.claude.com/docs/ko/env-vars.md)를 참조하세요. Claude Code v2.1.305 이상이 필요합니다. |580| [`CLAUDE_CODE_RETRY_WATCHDOG_USAGE_LIMIT_RECHECK_MS`](https://code.claude.com/docs/ko/env-vars) | 설정 안 됨 | `CLAUDE_CODE_RETRY_WATCHDOG`이 설정된 상태에서 요청이 [사용 한도](#youve-hit-your-session-limit)가 재설정되기를 기다리는 동안, 해당 한도가 이미 해제되었는지 확인하는 검사 사이의 최소 간격(밀리초)입니다. 검사에서 한도가 해제된 것으로 확인되면 요청이 즉시 전송됩니다. `60000`에서 `10800000` 사이의 숫자만 입력하세요. 설정하지 않거나 해당 범위를 벗어나면 검사를 수행하지 않습니다. Claude Code가 이러한 검사를 건너뛰는 경우는 [환경 변수 참조](https://code.claude.com/docs/ko/env-vars.md)를 참조하세요. Claude Code v2.1.305 이상이 필요합니다. |
565| [`CLAUDE_CODE_OVERLOADED_RETRY_BASE_DELAY_MS`](https://code.claude.com/docs/ko/env-vars) | 500 | API가 `529` 과부하 오류로 거부한 요청의 재시도 간 백오프 시작 지연 시간(밀리초)입니다. API가 용량 한계에 도달했을 때 재시도를 더 긴 기간에 걸쳐 분산하려면 최대 32000까지 값을 높이세요. `CLAUDE_CODE_RETRY_WATCHDOG`이 `1`로 설정되어 있거나 거부된 요청이 [빠른 모드](https://code.claude.com/docs/ko/fast-mode.md#handle-rate-limits)로 전송된 경우에는 효과가 없습니다. Claude Code v2.1.292 이상이 필요합니다. |581| [`CLAUDE_CODE_OVERLOADED_RETRY_BASE_DELAY_MS`](https://code.claude.com/docs/ko/env-vars) | 500 | API가 `529` 과부하 오류로 거부한 요청의 재시도 간 백오프 시작 지연 시간(밀리초)입니다. API가 용량 한계에 도달했을 때 재시도를 더 긴 기간에 걸쳐 분산하려면 최대 32000까지 값을 높이세요. `CLAUDE_CODE_RETRY_WATCHDOG`이 `1`로 설정되어 있거나 거부된 요청이 [빠른 모드](https://code.claude.com/docs/ko/fast-mode.md#handle-rate-limits)로 전송된 경우에는 효과가 없습니다. Claude Code v2.1.292 이상이 필요합니다. |
566| [`CLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MS`](https://code.claude.com/docs/ko/env-vars) | 32000 | API가 `529` 과부하 오류로 거부한 요청의 재시도 간 백오프 상한(밀리초)입니다. API가 용량 한계에 도달했을 때 이후 재시도 간격이 계속 벌어지도록 하려면 최대 64000까지 값을 높이세요. `CLAUDE_CODE_RETRY_WATCHDOG`이 `1`로 설정되어 있거나 거부된 요청이 [빠른 모드](https://code.claude.com/docs/ko/fast-mode.md#handle-rate-limits)로 전송된 경우에는 효과가 없습니다. Claude Code v2.1.296 이상이 필요합니다. |582| [`CLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MS`](https://code.claude.com/docs/ko/env-vars) | 32000 | API가 `529` 과부하 오류로 거부한 요청의 재시도 사이 백오프의 상한(밀리초)입니다. API 용량이 가득 찼을 때 이후 재시도의 간격이 계속 벌어지도록 최대 300000까지 높이세요. 64000을 초과하는 값은 v2.1.323 이상이 필요합니다. `CLAUDE_CODE_OVERLOADED_RETRY_BASE_DELAY_MS`와 같은 경우에 효과가 없습니다. Claude Code v2.1.296 이상이 필요합니다. |
567| [`API_TIMEOUT_MS`](https://code.claude.com/docs/ko/env-vars) | 600000 | 각 요청 시도가 응답 헤더를 받기까지 주어지는 시간(밀리초)입니다. 그 이후 스트리밍 응답이 진행되는 시간은 제한하지 않습니다. 느린 네트워크나 프록시의 경우 값을 높이세요. 이 값이 첫 바이트 기한의 상한으로 사용되는 방식은 [No response from API](#no-response-from-api)를 참조하세요. |583| [`API_TIMEOUT_MS`](https://code.claude.com/docs/ko/env-vars) | 600000 | 각 요청 시도가 응답 헤더를 받기까지 주어지는 시간(밀리초)입니다. 그 이후 스트리밍 응답이 진행되는 시간은 제한하지 않습니다. 느린 네트워크나 프록시의 경우 값을 높이세요. 이 값이 첫 바이트 기한의 상한으로 사용되는 방식은 [No response from API](#no-response-from-api)를 참조하세요. |
568| [`CLAUDE_CODE_NONSTREAMING_TIMEOUT_RETRIES`](https://code.claude.com/docs/ko/env-vars) | 설정 안 됨 | 시간 초과된 [비스트리밍 요청](#streaming-response-ended-before-any-complete-data-was-received)을 다시 보내는 횟수의 한도입니다. 한도에 도달하면 요청이 실패합니다. 생성하는 데 타임아웃보다 오래 걸리는 Claude의 응답은 다시 보낼 때마다 다시 시간 초과되므로, 더 빨리 실패하려면 `0`과 같은 낮은 값으로 설정하세요. 각 시도의 타임아웃은 [비스트리밍 시도의 대기 시간](#how-long-a-non-streaming-attempt-waits)을 참조하세요. Claude Code v2.1.285 이상이 필요합니다. |584| [`CLAUDE_CODE_NONSTREAMING_TIMEOUT_RETRIES`](https://code.claude.com/docs/ko/env-vars) | 설정 안 됨 | 시간 초과된 [비스트리밍 요청](#streaming-response-ended-before-any-complete-data-was-received)을 다시 보내는 횟수의 한도입니다. 한도에 도달하면 요청이 실패합니다. 생성하는 데 타임아웃보다 오래 걸리는 Claude의 응답은 다시 보낼 때마다 다시 시간 초과되므로, 더 빨리 실패하려면 `0`과 같은 낮은 값으로 설정하세요. 각 시도의 타임아웃은 [비스트리밍 시도의 대기 시간](#how-long-a-non-streaming-attempt-waits)을 참조하세요. Claude Code v2.1.285 이상이 필요합니다. |
569| [`CLAUDE_STREAM_FIRST_BYTE_TIMEOUT_MS`](https://code.claude.com/docs/ko/env-vars) | 설정 안 됨 | 스트리밍 요청의 첫 번째 응답 바이트에 대한 기한(밀리초)입니다. Claude Code v2.1.242 이상이 필요합니다. 이 값이 설정되지 않았을 때 Claude Code가 기한을 정하는 방법은 [No response from API](#no-response-from-api)를 참조하세요. |585| [`CLAUDE_STREAM_FIRST_BYTE_TIMEOUT_MS`](https://code.claude.com/docs/ko/env-vars) | 설정 안 됨 | 스트리밍 요청의 첫 번째 응답 바이트에 대한 기한(밀리초)입니다. Claude Code v2.1.242 이상이 필요합니다. 이 값이 설정되지 않았을 때 Claude Code가 기한을 정하는 방법은 [No response from API](#no-response-from-api)를 참조하세요. |
871 887
872## 사용 한도888## 사용 한도
873 889
874이 섹션의 오류 대부분은 계정 또는 플랜에 연결된 할당량에 도달했음을 의미합니다. 세 가지는 다르게 동작합니다. [`Server is temporarily limiting requests`](#server-is-temporarily-limiting-requests)는 플랜 할당량과 무관한 서버 측 제한이고, [`Usage credits required for 1M context`](#usage-credits-required-for-1m-context)는 할당량 소진이 아닌 사용 자격 확인이며, [`The prompt to confirm went unanswered`](#the-prompt-to-confirm-went-unanswered)는 할당량 도달 여부와 관계없이 사용량 크레딧 동의 프롬프트가 응답 없이 닫혔음을 의미합니다.890이 섹션의 오류 대부분은 계정이나 플랜에 연결된 할당량에 도달했음을 의미합니다. 세 가지는 다르게 작동합니다. [`Server is temporarily limiting requests`](#server-is-temporarily-limiting-requests)는 플랜 할당량과 관계없는 서버 측 스로틀이고, [`Usage credits required for 1M context`](#usage-credits-required-for-1m-context)는 할당량 소진이 아니라 이용 자격 확인이며, [`The prompt to confirm went unanswered`](#the-prompt-to-confirm-went-unanswered)는 할당량 도달 여부와 관계없이 사용량 크레딧 동의 프롬프트가 응답 없이 닫혔음을 의미합니다.
875 891
876### You've hit your session limit892### You've hit your session limit
877 893
878구독 플랜에는 롤링 방식의 사용 허용량이 포함되어 있습니다. 허용량이 소진되면 다음 메시지 중 하나가 표시됩니다.894구독 플랜에는 일정 기간 단위로 갱신되는 사용 허용량이 포함되어 있습니다. 허용량이 소진되면 다음 메시지 중 하나가 표시됩니다.
879 895
880```text theme={null}896```text theme={null}
881You've hit your session limit · resets 3:45pm897You've hit your session limit · resets 3:45pm
884You've hit your Sonnet limit · resets 3:45pm900You've hit your Sonnet limit · resets 3:45pm
885```901```
886 902
887Claude Code는 메시지에 표시된 재설정 시간까지 추가 요청을 차단합니다. 세션 한도와 주간 한도는 모든 모델에서 공유되므로 모델을 전환해도 접근이 복원되지 않습니다. Opus 한도와 Sonnet 한도는 각각 해당 모델 계열에 대한 요청에만 적용되므로, `/model`로 해당 계열 외의 모델로 전환하면 작업을 계속할 수 있습니다.903Claude Code는 메시지에 표시된 재설정 시간까지 추가 요청을 차단합니다. 세션 한도와 주간 한도는 모든 모델에서 공유되므로 모델을 전환해도 접근이 복원되지 않습니다. Opus 한도와 Sonnet 한도는 각각 해당 모델 제품군에 대한 요청에만 적용되므로, `/model`로 해당 제품군 외의 모델로 전환하면 작업을 계속할 수 있습니다.
888 904
889claude.ai 구독으로 로그인한 대화형 세션에서는 Claude Code가 열려 있는 세션에서 대기하다가 재설정 직후 중단된 작업을 이어서 진행할 수도 있습니다. 표시되는 내용, 대기를 시작하거나 취소하는 방법, 자동 계속을 끄는 방법은 [사용 한도 재설정 대기](https://code.claude.com/docs/ko/interactive-mode.md#wait-for-a-usage-limit-to-reset)를 참조하세요. v2.1.234 이전에는 Claude Code가 이 대기 기능을 제공하지 않았습니다.905claude.ai 구독으로 로그인한 대화형 세션에서는 Claude Code가 열린 세션에서 대기하다가 재설정 직후 중단된 작업을 계속할 수도 있습니다. 표시되는 내용, 대기를 시작하거나 취소하는 방법, 자동 계속을 끄는 방법은 [사용 한도 재설정 대기](https://code.claude.com/docs/ko/interactive-mode.md#wait-for-a-usage-limit-to-reset)를 참조하세요. v2.1.234 이전에는 Claude Code가 이 대기 기능을 제공하지 않았습니다.
890 906
891사용량은 세션 허용량과 주간 허용량에 동시에 집계됩니다. 대규모 워크플로 팬아웃과 같은 한 번의 집중적인 활동만으로도 세션 윈도우가 재설정되기 전에 주간 허용량이 소진될 수 있습니다.907사용량은 세션 허용량과 주간 허용량에 동시에 집계됩니다. 대규모 워크플로 팬아웃과 같은 단일 고강도 활동으로 세션 윈도우가 재설정되기 전에 주간 허용량이 소진될 수 있습니다.
892 908
893**해결 방법:**909**해결 방법:**
894 910
895* 오류에 표시된 재설정 시간까지 기다립니다911* 오류에 표시된 재설정 시간까지 기다립니다
896* [Desktop 앱](https://code.claude.com/docs/ko/desktop.md)의 Code 탭에서는 세션 한도 카드에 **Auto-continue when limits reset** 체크박스가 제공됩니다. 주간 한도 카드에는 제공되지 않습니다. 이 옵션을 선택하면 Desktop 앱이 재설정 후 중단된 턴을 재시도하고 카드에 재시도 시간을 표시합니다. Desktop 체크박스와 CLI의 `/config`에 있는 **Continue automatically at usage limit** 설정은 별개이므로 각각 따로 꺼야 합니다.912* [Desktop 앱](https://code.claude.com/docs/ko/desktop.md)의 Code 탭에서는 세션 한도 카드에 **Auto-continue when limits reset** 체크박스가 제공됩니다. 주간 한도 카드에는 제공되지 않습니다. 이 옵션을 선택하면 Desktop 앱이 재설정 후 중단된 턴을 재시도하며 카드에 재시도 시간을 표시합니다. Desktop 체크박스와 CLI의 `/config`에 있는 **Continue automatically at usage limit** 설정은 별개이므로 각각 따로 꺼야 합니다.
897* Opus 또는 Sonnet 한도의 경우 `/model`을 실행하고 해당 계열 외의 모델로 전환하여 작업을 계속합니다. 각 모델에는 자체 프롬프트 캐시가 있으므로 다음 요청은 캐시 적중 없이 전체 대화를 다시 읽습니다. [모델 전환](https://code.claude.com/docs/ko/prompt-caching.md#switching-models)을 참조하세요913* Opus 또는 Sonnet 한도의 경우 `/model`을 실행하고 해당 제품군 외의 모델로 전환하여 작업을 계속합니다. 각 모델에는 자체 프롬프트 캐시가 있으므로 다음 요청은 캐시 적중 없이 전체 대화를 다시 읽습니다. [모델 전환](https://code.claude.com/docs/ko/prompt-caching.md#switching-models)을 참조하세요
898* `/usage`를 실행하여 플랜 한도와 재설정 시간을 확인합니다914* `/usage`를 실행하여 플랜 한도와 재설정 시간을 확인합니다
899* `/usage-credits`를 실행하여 Pro, Max 및 Ultra에서는 추가 사용량을 구매하거나, Team 및 Enterprise에서는 관리자에게 요청합니다. 청구 방식은 [유료 플랜의 사용량 크레딧](https://support.claude.com/en/articles/12429409-extra-usage-for-paid-claude-plans)을 참조하세요.915* Pro, Max, Ultra에서는 `/usage-credits`를 실행하여 추가 사용량을 구매하거나, Team 및 Enterprise에서는 관리자에게 요청합니다. 청구 방식은 [유료 플랜의 사용량 크레딧](https://support.claude.com/en/articles/12429409-extra-usage-for-paid-claude-plans)을 참조하세요.
900* 더 높은 기본 한도를 위해 플랜을 업그레이드하려면 [claude.com/pricing](https://claude.com/pricing)을 참조하세요916* 더 높은 기본 한도를 위해 플랜을 업그레이드하려면 [claude.com/pricing](https://claude.com/pricing)을 참조하세요
901 917
902윈도우가 소진되기 전에 Claude Code는 `You've used 85% of your session limit · resets 3:45pm`과 같은 메시지로 대부분을 사용했다고 경고할 수 있습니다. 남은 허용량을 지속적으로 확인하려면 [사용자 지정 상태줄](https://code.claude.com/docs/ko/statusline.md#rate-limit-usage)에 `rate_limits` 필드를 추가하거나, Desktop 앱에서 [사용량 링](https://code.claude.com/docs/ko/desktop.md#check-usage)을 클릭하세요.918윈도우가 소진되기 전에 Claude Code는 `You've used 85% of your session limit · resets 3:45pm`과 같은 메시지로 대부분을 사용했다고 경고할 수 있습니다. 남은 허용량을 확인하려면 [사용자 지정 상태줄](https://code.claude.com/docs/ko/statusline.md#rate-limit-usage)에 `rate_limits` 필드를 추가하거나, Desktop 앱에서 [사용량 링](https://code.claude.com/docs/ko/desktop.md#check-usage)을 클릭하세요.
903 919
904### Usage credits required for 1M context920### Usage credits required for 1M context
905 921
906선택한 모델이 100만 토큰 확장 컨텍스트 윈도우를 사용하는데, 사용자의 플랜에서는 사용량 크레딧을 통해서만 이를 제공합니다.922선택한 모델이 100만 토큰 확장 컨텍스트 윈도우를 사용하며, 사용자의 플랜에서는 사용량 크레딧을 통해서만 이를 이용할 수 있습니다.
907 923
908```text theme={null}924```text theme={null}
909API Error: Usage credits required for 1M context · run /usage-credits to turn them on (they take effect after you restart Claude Code), or /model to switch to standard context925API Error: Usage credits required for 1M context · run /usage-credits to turn them on (they take effect after you restart Claude Code), or /model to switch to standard context
910```926```
911 927
912Claude Desktop 앱이 실행하는 세션에서는 안내 문구에 명령이 표시되지 않습니다. 대신 claude.ai 사용량 설정 페이지를 안내하거나, Team 및 Enterprise 플랜에서는 claude.ai/admin-settings/usage에서 사용량 크레딧을 켜거나 관리자에게 요청하라고 안내합니다.928Claude Desktop 앱이 실행하는 세션에서는 안내 문구에 명령이 포함되지 않습니다. 대신 claude.ai 사용량 설정 페이지를 안내하거나, Team 및 Enterprise 플랜에서는 claude.ai/admin-settings/usage에서 사용량 크레딧을 켜거나 관리자에게 요청하라고 안내합니다.
913 929
914이는 할당량 소진이 아닌 사용 자격 확인입니다. 세션 허용량과 주간 허용량이 남아 있어도 발생합니다. 어떤 플랜이 100만 컨텍스트를 직접 포함하고 어떤 플랜이 사용량 크레딧을 필요로 하는지는 [확장 컨텍스트](https://code.claude.com/docs/ko/model-config.md#extended-context)를 참조하세요.930이는 할당량 소진이 아니라 이용 자격 확인입니다. 세션 허용량과 주간 허용량이 남아 있어도 발생합니다. 어떤 플랜에 100만 컨텍스트가 직접 포함되고 어떤 플랜에 사용량 크레딧이 필요한지는 [확장 컨텍스트](https://code.claude.com/docs/ko/model-config.md#extended-context)를 참조하세요.
915 931
916컨텍스트가 20만 토큰을 넘어서 대화 도중 이 오류가 나타나면, Claude Code가 자동으로 대화를 압축하여 표준 컨텍스트 한도 아래로 되돌리고 이후 세션을 해당 한도로 유지하므로 별도의 조치가 필요하지 않습니다. v2.1.172 이전 버전에서는 `/compact`를 포함한 모든 후속 요청에서 오류가 반복되었으므로, 해당 버전에서는 `/clear`를 실행하여 복구합니다. 아래 단계는 `[1m]` 모델을 명시적으로 선택한 경우에 적용됩니다.932컨텍스트가 20만 토큰을 넘어 대화 도중 이 오류가 표시되면, Claude Code가 자동으로 대화를 표준 컨텍스트 한도 이하로 압축하고 이후에도 세션을 해당 한도로 유지하므로 별도 조치가 필요하지 않습니다. v2.1.172 이전 버전에서는 `/compact`를 포함한 모든 후속 요청에서 오류가 반복되었습니다. 해당 버전에서는 `/clear`를 실행하여 복구하세요. 아래 단계는 `[1m]` 모델을 명시적으로 선택한 경우에 적용됩니다.
917 933
918**해결 방법:**934**해결 방법:**
919 935
920* `/model`을 실행하고 `[1m]` 접미사가 없는 변형을 선택하여 표준 컨텍스트 윈도우로 되돌립니다936* `/model`을 실행하고 `[1m]` 접미사가 없는 변형을 선택하여 표준 컨텍스트 윈도우로 되돌립니다
921* 메시지에 `/usage-credits`가 표시된 경우, 이를 실행하여 Pro, Max 및 Ultra에서는 100만 변형에 대한 종량제 청구를 켜거나, Team 및 Enterprise에서는 관리자에게 사용량 크레딧을 요청합니다. 사용량 크레딧이 켜지면 메시지에 안내된 대로 Claude Code를 다시 시작하거나 새 세션을 시작합니다. 그전까지는 세션이 표준 컨텍스트 한도로 유지됩니다.937* 메시지에 `/usage-credits`가 언급된 경우, 이를 실행하여 Pro, Max, Ultra에서는 100만 변형에 대한 종량제 청구를 켜거나, Team 및 Enterprise에서는 관리자에게 사용량 크레딧을 요청합니다. 사용량 크레딧이 켜지면 메시지 안내에 따라 Claude Code를 다시 시작하거나 새 세션을 시작합니다. 그때까지 세션은 표준 컨텍스트 한도로 유지됩니다.
922* `/model` 이후에도 오류가 계속되면 100만 모델 ID가 다른 곳에 설정되어 있을 수 있습니다. 우선순위 순서대로 확인할 구성 위치는 [모델 설정](https://code.claude.com/docs/ko/model-config.md#setting-your-model)을 참조하세요.938* `/model` 이후에도 오류가 계속되면 100만 모델 ID가 다른 곳에 설정되어 있을 수 있습니다. 우선순위에 따라 확인할 구성 위치는 [모델 설정](https://code.claude.com/docs/ko/model-config.md#setting-your-model)을 참조하세요.
923* 모델 선택기에서 100만 변형을 완전히 제거하려면 [`CLAUDE_CODE_DISABLE_1M_CONTEXT=1`](https://code.claude.com/docs/ko/env-vars)을 설정합니다939* 모델 선택기에서 100만 변형을 완전히 제거하려면 [`CLAUDE_CODE_DISABLE_1M_CONTEXT=1`](https://code.claude.com/docs/ko/env-vars)을 설정합니다
924 940
925v2.1.268 이전에는 메시지가 `run /usage-credits to turn them on, or /model to switch to standard context`로 끝났으며 다시 시작에 대한 언급이 없었습니다.941v2.1.268 이전에는 메시지가 `run /usage-credits to turn them on, or /model to switch to standard context`로 끝났으며 다시 시작에 대한 언급이 없었습니다.
926 942
927### The prompt to confirm went unanswered943### The prompt to confirm went unanswered
928 944
929[Fable 사용량 크레딧 동의 프롬프트](https://code.claude.com/docs/ko/model-config.md#fable-and-usage-credits)가 아무도 응답하지 않은 채 닫히면 Claude Code는 다음 메시지 중 하나와 함께 턴을 종료합니다.945[Fable 사용량 크레딧 동의 프롬프트](https://code.claude.com/docs/ko/model-config.md#fable-and-usage-credits)가 아무도 응답하지 않은 채 닫히면, Claude Code는 다음 메시지 중 하나와 함께 턴을 종료합니다.
930 946
931```text theme={null}947```text theme={null}
932Fable limit reached · continuing on Fable 5.1 uses usage credits, and the prompt to confirm went unanswered — nothing was sent · answer it where this session is running, or /model to change948Fable limit reached · continuing on Fable 5.1 uses usage credits, and the prompt to confirm went unanswered · nothing was sent · answer it where this session is running, or /model to change
933Fable 5.1 now uses usage credits · the prompt to confirm went unanswered — nothing was sent · answer it where this session is running, or /model to change949Fable 5.1 now uses usage credits · the prompt to confirm went unanswered · nothing was sent · answer it where this session is running, or /model to change
934```950```
935 951
936메시지에는 세션의 Fable 모델 이름이 표시되므로, Fable 5.2에서는 `continuing on Fable 5.2` 및 `Fable 5.2 now uses usage credits`로 표시됩니다. v2.1.257 이전에는 첫 번째 메시지가 `Fable 5 limit reached`로 시작했습니다.952메시지에는 세션의 Fable 모델 이름이 표시되므로, Fable 5.2에서는 `continuing on Fable 5.2` 및 `Fable 5.2 now uses usage credits`로 표시됩니다. [Remote Control](https://code.claude.com/docs/ko/remote-control.md)이 연결된 경우에는 각 메시지가 대신 `Claude stopped here · send a message to be asked again, or switch models`로 끝날 수 있습니다. v2.1.257 이전에는 첫 번째 메시지가 `Fable 5 limit reached`로 시작했습니다.
937 953
938이는 [Remote Control](https://code.claude.com/docs/ko/remote-control.md) 세션, [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md), [에이전트 팀](https://code.claude.com/docs/ko/agent-teams.md) 팀원 세션, 그리고 다른 애플리케이션이 Agent SDK를 통해 호스팅하는 세션에서 발생합니다. Claude Code가 프롬프트를 닫는 시점은 [Fable 및 사용량 크레딧](https://code.claude.com/docs/ko/model-config.md#fable-and-usage-credits)을 참조하세요.954이는 [Remote Control](https://code.claude.com/docs/ko/remote-control.md) 세션, [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md), [에이전트 팀](https://code.claude.com/docs/ko/agent-teams.md) 팀원 세션, 그리고 다른 애플리케이션이 Agent SDK를 통해 호스팅하는 세션에서 발생합니다. Claude Code가 프롬프트를 닫는 시점은 [Fable 및 사용량 크레딧](https://code.claude.com/docs/ko/model-config.md#fable-and-usage-credits)을 참조하세요.
939 955
940**해결 방법:**956**해결 방법:**
941 957
942* 세션이 실행되는 곳, 즉 터미널이나 세션을 호스팅하는 애플리케이션에서 다른 프롬프트를 보내고 동의 프롬프트가 다시 나타나면 응답합니다. 백그라운드 세션의 경우 먼저 [에이전트 보기](https://code.claude.com/docs/ko/agent-view.md)에서 세션에 연결합니다. Remote Control 클라이언트에서 다시 보내면 클라이언트가 프롬프트를 표시할 수 없으므로 이 메시지가 다시 표시됩니다.958* 세션이 실행되는 곳, 즉 터미널이나 세션을 호스팅하는 애플리케이션에서 다른 프롬프트를 보내고 동의 프롬프트가 다시 표시되면 응답합니다. 백그라운드 세션의 경우 먼저 [에이전트 뷰](https://code.claude.com/docs/ko/agent-view.md)에서 해당 세션에 연결합니다. 메시지에 `Claude stopped here`가 표시되면 연결된 기기에서 답장하고 그곳에서 동의 프롬프트에 응답할 수도 있습니다.
943* `/model`을 실행하여 사용량 크레딧으로 청구되지 않는 모델로 전환합니다959* `/model`을 실행하여 사용량 크레딧이 청구되지 않는 모델로 전환합니다
944* 응답할 시간을 더 확보하려면 [`dialogExpiry`](https://code.claude.com/docs/ko/settings-reference#dialogexpiry)를 더 긴 값이나 `"never"`로 설정합니다960* 더 많은 시간을 확보하려면 [`dialogExpiry`](https://code.claude.com/docs/ko/settings-reference#dialogexpiry)를 더 긴 값이나 `"never"`로 설정합니다
945 961
946v2.1.236 이전에는 이 메시지가 나타나지 않았습니다. Remote Control 클라이언트가 연결되어 있는 동안 Claude Code는 응답을 60초간 기다린 후 기본 모델로 턴을 계속 진행했습니다.962v2.1.236 이전에는 이 메시지가 표시되지 않았습니다. Remote Control 클라이언트가 연결되어 있는 동안 Claude Code는 응답을 60초 동안 기다린 후 기본 모델로 턴을 계속했습니다.
947 963
948### Server is temporarily limiting requests964### Server is temporarily limiting requests
949 965
950API가 플랜 할당량과 무관한 단기 제한을 적용했습니다.966API가 플랜 할당량과 관계없는 단기 스로틀을 적용했습니다.
951 967
952```text theme={null}968```text theme={null}
953API Error: Server is temporarily limiting requests (not your usage limit)969API Error: Server is temporarily limiting requests (not your usage limit)
954```970```
955 971
956Claude Code는 실제 한도 응답에 포함되는 통합 할당량 헤더가 없는지를 기준으로 이를 플랜 한도와 구분합니다. v2.1.199부터는 인증 방식과 관계없이 표시되기 전에 백오프와 함께 [자동으로 재시도](#automatic-retries)됩니다. 이전 버전에서는 claude.ai 구독으로 로그인한 세션이 첫 발생 시 턴을 실패 처리했으며, API 키 및 Enterprise 로그인만 재시도했습니다.972Claude Code는 실제 한도 응답에 포함되는 통합 할당량 헤더가 없는 것으로 이를 플랜 한도와 구분합니다. v2.1.199부터는 인증 방식과 관계없이 표시되기 전에 백오프와 함께 [자동으로 재시도](#automatic-retries)됩니다. 이전 버전에서는 claude.ai 구독으로 로그인한 세션이 첫 발생 시 턴을 실패시켰으며, API 키와 Enterprise 로그인만 재시도했습니다.
957 973
958**해결 방법:**974**해결 방법:**
959 975
968API Error: Request rejected (429) · this may be a temporary capacity issue. If it persists, check https://status.claude.com.984API Error: Request rejected (429) · this may be a temporary capacity issue. If it persists, check https://status.claude.com.
969```985```
970 986
971마지막 문장은 서비스 상태를 확인할 위치를 안내하며 제공업체에 따라 다릅니다. Amazon Bedrock, Google Cloud의 Agent Platform, Microsoft Foundry 구성에서는 Anthropic 상태 페이지 대신 해당 제공업체의 서비스 상태를 안내합니다. 사용자 지정 `ANTHROPIC_BASE_URL`을 사용하면 게이트웨이 호스트를 안내합니다.987마지막 문장은 서비스 상태를 확인할 위치를 안내하며 제공업체에 따라 다릅니다. Amazon Bedrock, Google Cloud의 Agent Platform, Microsoft Foundry 구성에서는 Anthropic 상태 페이지 대신 해당 제공업체의 서비스 상태를 안내합니다. 사용자 지정 `ANTHROPIC_BASE_URL`을 사용하는 경우 게이트웨이 호스트를 안내합니다.
972 988
973Claude Code와 API 사이의 프록시, 로드 밸런서 또는 게이트웨이가 자체 HTML 429 페이지로 응답하면, `·` 뒤의 텍스트는 해당 페이지에 제목이 있는 경우 `Too Many Requests`와 같은 페이지 제목이 됩니다. v2.1.281 이전에는 페이지 전체 마크업이 `·` 뒤에 출력되었습니다.989Claude Code와 API 사이의 프록시, 로드 밸런서 또는 게이트웨이가 자체 HTML 429 페이지로 응답하면, `·` 뒤의 텍스트는 해당 페이지에 제목이 있는 경우 `Too Many Requests`와 같은 페이지 제목이 됩니다. v2.1.281 이전에는 `·` 뒤에 페이지 전체 마크업이 출력되었습니다.
974 990
975**해결 방법:**991**해결 방법:**
976 992
977* `/status`를 실행하여 활성 자격 증명이 예상한 것인지 확인합니다. 환경에 남아 있는 `ANTHROPIC_API_KEY`로 인해 요청이 구독 대신 낮은 티어의 키를 통해 라우팅될 수 있습니다.993* `/status`를 실행하여 활성 자격 증명이 예상한 것인지 확인합니다. 환경에 남아 있는 `ANTHROPIC_API_KEY`로 인해 요청이 구독 대신 낮은 등급의 키를 통해 라우팅될 수 있습니다.
978* 제공업체 콘솔에서 활성 한도를 확인하고 필요한 경우 더 높은 티어를 요청합니다994* 제공업체 콘솔에서 활성 한도를 확인하고 필요하면 더 높은 등급을 요청합니다
979* Anthropic API 키의 경우 티어의 작동 방식과 워크스페이스별 상한을 설정하는 방법은 [속도 제한 참조](https://platform.claude.com/docs/en/api/rate-limits)를 확인하세요995* Anthropic API 키의 경우 등급 작동 방식과 워크스페이스별 상한 설정 방법은 [속도 제한 참조](https://platform.claude.com/docs/en/api/rate-limits)를 확인하세요
980* 동시성을 줄입니다. 여러 서브에이전트를 병렬로 실행하지 않거나, 대량 스크립트 실행 시 `/model`로 더 작은 모델로 전환합니다996* 동시성을 줄입니다. 많은 서브에이전트를 병렬로 실행하지 않거나, 대량 스크립트 실행 시 `/model`로 더 작은 모델로 전환합니다
981 997
982### You've hit your monthly spend limit998### You've hit your monthly spend limit
983 999
984플랜에 포함된 사용량으로는 이 요청을 처리할 수 없으며, 그 대신 비용을 지불할 [사용량 크레딧](https://support.claude.com/en/articles/12429409-extra-usage-for-paid-claude-plans)도 지출 한도에 도달했습니다. 이는 플랜의 사용량 윈도우 중 하나가 소진되었거나, [사용량 크레딧으로 청구되는](https://code.claude.com/docs/ko/model-config.md#fable-and-usage-credits) 모델에 대한 요청처럼 사용량 크레딧으로만 지불되는 요청인 경우에 발생합니다. 메시지에는 누구의 한도로 인해 차단되었는지가 표시됩니다. `·` 뒤의 텍스트는 해당 한도를 늘리는 방법을 안내하며, 플랜과 청구 관리 여부에 따라 다릅니다.1000플랜에 포함된 사용량으로 이 요청을 처리할 수 없으며, 그 대신 비용을 지불할 [사용량 크레딧](https://support.claude.com/en/articles/12429409-extra-usage-for-paid-claude-plans)이 지출 한도에 도달했습니다. 플랜의 사용 윈도우 중 하나가 소진되었거나, 요청 비용을 사용량 크레딧으로만 지불하는 경우 플랜으로 요청을 처리할 수 없습니다. 예를 들어 [사용량 크레딧으로 청구되는](https://code.claude.com/docs/ko/model-config.md#fable-and-usage-credits) 모델에 대한 요청이 이에 해당합니다.
1001
1002`·` 앞의 문구는 조직의 월간 지출 한도처럼 사용자를 차단한 한도를 나타내고, 뒤의 텍스트는 해당 한도를 늘리는 방법을 안내합니다. 클라우드 세션이나 [Remote Control](https://code.claude.com/docs/ko/remote-control.md)에서는 이 텍스트에 URL이 포함되지 않으며, 사용자 본인의 `monthly spend limit`에 대한 메시지는 한도를 늘리는 방법을 안내하지 않습니다. 다른 세션에서는 다음과 같은 형태로 표시됩니다.
985 1003
986```text theme={null}1004```text theme={null}
987You've hit your monthly spend limit · raise it at https://claude.ai/settings/usage?from=cc_cli_limit_message1005You've hit your monthly spend limit · raise it at https://claude.ai/settings/usage?from=cc_cli_limit_message
991You've hit your channel's monthly spend limit · an org owner or channel manager can raise it in the channel's Claude settings1009You've hit your channel's monthly spend limit · an org owner or channel manager can raise it in the channel's Claude settings
992```1010```
993 1011
994`team's shared budget`는 관리자가 사용자가 속한 그룹에 할당한 공유 예산이며, 메시지에는 그룹 이름이 표시되지 않습니다. `channel's monthly spend limit`는 세션이 실행되는 단일 Slack 채널의 예산이므로, 조직에는 그 외의 예산이 남아 있을 수 있습니다.1012`team's shared budget`은 관리자가 사용자가 속한 그룹에 할당한 공동 예산이며, 메시지에는 그룹 이름이 표시되지 않습니다. `channel's monthly spend limit`은 세션이 실행되는 특정 Slack 채널 하나의 예산이므로, 조직에는 그 외의 예산이 남아 있을 수 있습니다.
995 1013
996플랜의 윈도우 중 하나가 소진된 경우, 메시지에는 `· your session limit resets 3:45pm`과 같이 해당 윈도우의 재설정 시간도 표시되며, 누군가 한도를 늘리지 않아도 그때 접근이 복원됩니다. 사용량 기반 청구를 사용하는 조직에서는 메시지에 `spend limit` 대신 `usage limit`가 표시되며, `You've hit your individual usage limit`와 같이 나타납니다.1014플랜의 윈도우 중 하나가 소진된 경우에는 메시지에 `· your session limit resets 3:45pm`처럼 해당 윈도우의 재설정 시간도 표시되며, 누군가 한도를 늘리지 않아도 그 시점에 접근이 복원됩니다. 사용량 기반 청구를 사용하는 조직에서는 `You've hit your individual usage limit`처럼 메시지에 `spend limit` 대신 `usage limit`이 표시됩니다.
997 1015
998Claude 앱 게이트웨이를 통해 연결하고 있으며 소문자 `spend limit reached`가 표시된다면, 이는 게이트웨이 운영자가 설정한 상한입니다. [Spend limit reached](#spend-limit-reached)를 참조하세요.1016Claude apps 게이트웨이를 통해 연결하고 소문자로 된 `spend limit reached`가 표시된다면, 이는 게이트웨이 운영자가 설정한 상한입니다. [Spend limit reached](#spend-limit-reached)를 참조하세요.
999 1017
1000**해결 방법:**1018**해결 방법:**
1001 1019
1002* Pro, Max 및 Ultra에서는 claude.ai의 [**Settings > Usage**](https://claude.ai/settings/usage)에서 월간 지출 한도를 늘리거나 `/usage-credits`를 실행합니다1020* Pro, Max, Ultra에서는 claude.ai의 [**Settings > Usage**](https://claude.ai/settings/usage)에서 월간 지출 한도를 늘리거나 `/usage-credits`를 실행합니다
1003* Team 및 Enterprise에서는 청구를 관리하는 경우 [**Organization settings > Usage**](https://claude.ai/admin-settings/usage)에서 한도를 늘리거나 관리자에게 요청합니다. `/usage-credits`를 실행하면 해당 요청이 관리자에게 전송됩니다1021* Team 및 Enterprise에서는 청구를 관리하는 경우 [**Organization settings > Usage**](https://claude.ai/admin-settings/usage)에서 한도를 늘리거나 관리자에게 요청합니다. `/usage-credits`는 해당 요청을 관리자에게 대신 보냅니다
1004* 채널 한도의 경우 조직 소유자나 채널 관리자에게 claude.ai에서 한도를 늘려 달라고 요청합니다. Claude Tag 문서의 [채널별 한도](https://claude.com/docs/claude-tag/admins/set-spend-limit#per-channel-limits)를 참조하세요1022* 채널 한도의 경우 조직 소유자나 채널 관리자에게 claude.ai에서 한도를 늘려 달라고 요청합니다. Claude Tag 문서의 [채널별 한도](https://claude.com/docs/claude-tag/admins/set-spend-limit#per-channel-limits)를 참조하세요
1005* 메시지에 플랜 윈도우의 재설정 시간이 표시된 경우 그때까지 기다릴 수도 있습니다1023* 메시지에 플랜 윈도우의 재설정 시간이 표시되어 있다면 그때까지 기다릴 수도 있습니다
1006* `/usage`를 실행하여 플랜의 윈도우와 각 윈도우의 재설정 시간을 확인합니다1024* `/usage`를 실행하여 플랜의 윈도우와 각 윈도우의 재설정 시간을 확인합니다
1007 1025
1008### Spend limit reached1026### Spend limit reached
1009 1027
1010[Claude 앱 게이트웨이](https://code.claude.com/docs/ko/claude-apps-gateway)를 통해 연결하고 있으며 게이트웨이 운영자가 설정한 [지출 상한](https://code.claude.com/docs/ko/claude-apps-gateway-spend-limits.md)에 도달했습니다. 게이트웨이는 운영자가 상한을 올리거나, 상한이 \$0보다 큰 경우 상한이 재설정될 때까지 요청을 차단합니다. 차단된 각 `429` 응답에는 `x-should-retry: false`가 표시되므로, 터미널에서 Claude Code는 재시도하지 않고 이 메시지를 표시합니다.1028[Claude apps 게이트웨이](https://code.claude.com/docs/ko/claude-apps-gateway)를 통해 연결하고 있으며 게이트웨이 운영자가 설정한 [지출 상한](https://code.claude.com/docs/ko/claude-apps-gateway-spend-limits.md)에 도달했습니다. 게이트웨이는 운영자가 상한을 늘릴 때까지, 또는 상한이 \$0보다 큰 경우 상한이 재설정될 때까지 요청을 차단합니다. 차단된 각 `429` 응답에 `x-should-retry: false`를 표시하므로, 터미널에서 Claude Code는 재시도 없이 이 메시지를 표시합니다.
1011 1029
1012```text theme={null}1030```text theme={null}
1013spend limit reached · resets Dec 11031spend limit reached · resets Dec 1
1015 1033
1016메시지에 날짜가 있는지 확인합니다.1034메시지에 날짜가 있는지 확인합니다.
1017 1035
1018* **날짜가 있는 경우**: 해당 날짜의 00:00 UTC에 상한이 재설정됩니다1036* **날짜가 있는 경우**: 상한이 해당 날짜 00:00 UTC에 재설정됩니다
1019* **날짜가 없는 경우**: 상한이 \$0이거나, 게이트웨이가 v2.1.225 이전 버전을 실행하고 있습니다1037* **날짜가 없는 경우**: 상한이 \$0이거나, 게이트웨이가 v2.1.225 이전 버전을 실행 중입니다
1020 1038
1021메시지의 그 밖의 텍스트는 게이트웨이 운영자의 안내입니다.1039메시지의 그 밖의 텍스트는 게이트웨이 운영자가 남긴 안내입니다.
1022 1040
1023게이트웨이 서버의 v2.1.225부터 v2.1.319 이전까지는 `spend limit reached (daily; resets 2026-08-09 00:00 UTC)`와 같이 메시지에 상한의 기간과 재설정 시간이 표시되었습니다.1041게이트웨이 서버 v2.1.225부터 v2.1.319 이전까지는 `spend limit reached (daily; resets 2026-08-09 00:00 UTC)`처럼 메시지에 상한의 기간과 재설정 시간이 표시되었습니다.
1024 1042
1025**해결 방법:**1043**해결 방법:**
1026 1044
1027* 메시지에 날짜가 있으면 재설정될 때까지 기다리거나, 메시지에 운영자의 안내가 포함되어 있으면 그 안내를 따릅니다1045* 메시지에 날짜가 있으면 재설정을 기다리거나, 메시지에 운영자 안내가 있는 경우 그 안내를 따릅니다
1028* 메시지에 날짜가 없거나, 해당 날짜 이후에도 여전히 차단되거나, 상한에 자주 도달한다면 게이트웨이 운영자에게 상한을 올려 달라고 요청합니다1046* 메시지에 날짜가 없거나, 해당 날짜 이후에도 계속 차단되거나, 상한에 자주 도달하는 경우 게이트웨이 운영자에게 상한을 늘려 달라고 요청합니다
1029 1047
1030또 다른 게이트웨이 메시지인 `This request exceeds your group's budget`은 그룹의 [공유 예산](https://code.claude.com/docs/ko/claude-apps-gateway-config.md#pooled-budget-order)이 소진되었음을 의미합니다. 메시지에 안내된 단계를 따르세요.1048두 번째 게이트웨이 메시지인 `This request exceeds your group's budget`은 그룹의 [공동 예산](https://code.claude.com/docs/ko/claude-apps-gateway-config.md#pooled-budget-order)이 소진되었음을 의미합니다. 메시지에 안내된 단계를 따르세요.
1031 1049
1032```text theme={null}1050```text theme={null}
1033This request exceeds your group's budget. Ask your organization's admins to raise it, or try again after it resets on November 1 at 00:00 UTC.1051This request exceeds your group's budget. Ask your organization's admins to raise it, or try again after it resets on November 1 at 00:00 UTC.
1034```1052```
1035 1053
1036관련 메시지인 `spend limit unavailable`은 게이트웨이가 지출 기록을 읽을 수 없어 상한 초과가 아닌 예방 차원에서 요청을 차단했음을 의미합니다. 보통 저절로 해소되며, 지속되면 게이트웨이 운영자에게 알리세요.1054관련 메시지인 `spend limit unavailable`은 게이트웨이가 지출 기록을 읽을 수 없어 상한 초과 때문이 아니라 예방 차원에서 요청을 차단했음을 의미합니다. 보통 저절로 해결되며, 문제가 지속되면 게이트웨이 운영자에게 알리세요.
1037 1055
1038### Credit balance is too low1056### Credit balance is too low
1039 1057
1045 1063
1046**해결 방법:**1064**해결 방법:**
1047 1065
1048* Pro, Max, Ultra, Team 또는 Enterprise 플랜을 사용 중인데 이 메시지가 표시되면 `/status`를 실행하고 `API key` 행을 확인합니다. 환경에 승인된 `ANTHROPIC_API_KEY`가 있으면 요청이 구독 대신 해당 키를 통해 라우팅됩니다. 현재 셸에서 이를 해제하고 셸 프로필에서 제거한 다음 `claude`를 다시 실행합니다. 아직 구독으로 로그인하지 않았다면 `/login`을 실행합니다.1066* Pro, Max, Ultra, Team 또는 Enterprise 플랜을 사용 중인데 이 메시지가 표시된다면 `/status`를 실행하고 `API key` 행을 확인합니다. 환경에 승인된 `ANTHROPIC_API_KEY`가 있으면 요청이 구독 대신 해당 키를 통해 라우팅됩니다. 현재 셸에서 설정을 해제하고 셸 프로필에서 제거한 다음 `claude`를 다시 실행합니다. 아직 구독으로 로그인하지 않았다면 `/login`을 실행합니다.
1049* [platform.claude.com/settings/billing](https://platform.claude.com/settings/billing)에서 크레딧을 추가하고, 잔액이 0이 되기 전에 충전되도록 해당 페이지에서 자동 충전을 활성화하는 것을 고려합니다1067* [platform.claude.com/settings/billing](https://platform.claude.com/settings/billing)에서 크레딧을 추가하고, 잔액이 0이 되기 전에 충전되도록 자동 충전을 활성화하는 것을 고려합니다
1050* 단일 프로젝트가 조직 잔액을 모두 소진하지 않도록 Console에서 워크스페이스별 지출 상한을 설정합니다. [효과적인 비용 관리](https://code.claude.com/docs/ko/costs.md)를 참조하세요.1068* 단일 프로젝트가 조직 잔액을 소진하지 않도록 Console에서 워크스페이스별 지출 상한을 설정합니다. [효과적인 비용 관리](https://code.claude.com/docs/ko/costs.md)를 참조하세요.
1051 1069
1052### Could not update your spend limit1070### Could not update your spend limit
1053 1071
1054지출 한도에 도달했을 때 나타나는 프롬프트에서 변경한 지출 한도를 서버가 거부했습니다.1072지출 한도에 도달했을 때 표시되는 프롬프트에서 변경한 지출 한도를 서버가 거부했습니다.
1055 1073
1056```text theme={null}1074```text theme={null}
1057Could not update your spend limit: <reason from the server>1075Could not update your spend limit: <reason from the server>
1058```1076```
1059 1077
1060서버가 거부 사유를 설명하면 메시지가 해당 사유로 끝나며, 같은 값으로 재시도하면 다시 실패합니다. 연결 끊김처럼 서버가 제공한 사유가 없는 실패의 경우 메시지는 `Could not update your spend limit. Press Enter to retry.`로 표시되며, 재시도하면 성공할 수 있습니다. v2.1.216 이전에는 Claude Code가 모든 실패에 대해 일반 형식을 표시했습니다.1078서버가 거부 이유를 제공하면 메시지가 그 이유로 끝나며, 같은 값으로 재시도하면 다시 실패합니다. 연결 끊김처럼 서버가 제공한 이유가 없는 실패의 경우 메시지는 `Could not update your spend limit. Press Enter to retry.`로 표시되며 재시도하면 성공할 수 있습니다. v2.1.216 이전에는 Claude Code가 모든 실패에 일반 형태를 표시했습니다.
1061 1079
1062**해결 방법:**1080**해결 방법:**
1063 1081
1064* 메시지에 사유가 포함되어 있으면 더 낮은 금액처럼 사유를 충족하는 한도를 선택합니다1082* 메시지에 이유가 포함되어 있으면 더 낮은 금액처럼 그 조건을 충족하는 한도를 선택합니다
1065* 메시지가 일반 형식만 표시하면 재시도합니다. 일시적인 실패일 수 있습니다1083* 메시지가 일반 형태만 표시하면 재시도합니다. 일시적인 실패일 수 있습니다
1066* 변경이 계속 실패하면 대신 브라우저에서 [claude.ai 청구 설정](https://support.claude.com/en/articles/12429409-extra-usage-for-paid-claude-plans)을 통해 변경합니다1084* 변경이 계속 실패하면 대신 브라우저의 [claude.ai 청구 설정](https://support.claude.com/en/articles/12429409-extra-usage-for-paid-claude-plans)에서 변경합니다
1067 1085
1068## 인증 오류1086## 인증 오류
1069 1087
1070이 오류는 Claude Code가 API에 사용자의 신원을 증명할 수 없다는 뜻입니다. 언제든지 `/status`를 실행하면 현재 활성화된 자격 증명을 확인할 수 있습니다.1088이 오류는 Claude Code가 API에 사용자의 신원을 증명할 수 없다는 뜻입니다. 언제든 `/status`를 실행하면 현재 활성화된 자격 증명을 확인할 수 있습니다.
1071 1089
1072### 로그인되지 않음1090### Not logged in
1073 1091
1074이 세션에 사용할 수 있는 유효한 자격 증명이 없습니다.1092이 세션에서 사용할 수 있는 유효한 자격 증명이 없습니다.
1075 1093
1076```text theme={null}1094```text theme={null}
1077Not logged in · Please run /login1095Not logged in · Please run /login
1079 1097
1080Code 탭이나 Cowork처럼 Claude Desktop 앱이 실행하는 세션에서는 메시지가 `Authentication required · Sign in again to continue`로 표시되며, 앱에서 다시 로그인합니다.1098Code 탭이나 Cowork처럼 Claude Desktop 앱이 실행하는 세션에서는 메시지가 `Authentication required · Sign in again to continue`로 표시되며, 앱에서 다시 로그인합니다.
1081 1099
1082같은 [구성 디렉터리](https://code.claude.com/docs/ko/claude-directory.md)를 사용하는 다른 Claude Code 창에서 claude.ai 계정으로 로그인하면, 이 메시지를 표시하던 대화형 세션이 자동으로 해당 로그인을 사용하기 시작합니다. 세션을 다시 시작할 필요가 없습니다.1100같은 [구성 디렉터리](https://code.claude.com/docs/ko/claude-directory.md)를 사용하는 다른 Claude Code 창에서 claude.ai 계정으로 로그인하면, 이 메시지를 표시하는 대화형 세션이 자동으로 해당 로그인을 사용하기 시작합니다. 세션을 다시 시작할 필요가 없습니다.
1083 1101
1084macOS에서 v2.1.286 이전에는 다른 창에서 로그인한 후에도 세션이 계속 이 메시지를 표시할 수 있었습니다. 해당 버전에서는 메시지를 표시하는 세션을 다시 시작하십시오.1102macOS의 v2.1.286 이전 버전에서는 다른 창에서 로그인한 후에도 세션에 이 메시지가 계속 표시될 수 있었습니다. 해당 버전에서는 메시지를 표시하는 세션을 다시 시작하세요.
1085 1103
1086**해결 방법:**1104**해결 방법:**
1087 1105
1088* `/login`을 실행하여 Claude 구독 또는 Console 계정으로 인증합니다1106* `/login`을 실행하여 Claude 구독 또는 Console 계정으로 인증합니다
1089* 환경 변수로 인증될 것으로 예상했다면, `claude`를 실행한 셸에서 `ANTHROPIC_API_KEY`가 설정되고 export되었는지 확인합니다1107* 환경 변수로 인증될 것으로 예상했다면 `claude`를 실행한 셸에서 `ANTHROPIC_API_KEY`가 설정되고 export되었는지 확인합니다
1090* 대화형 로그인이 불가능한 CI 또는 자동화 환경에서는 시작 시 키를 가져오는 [`apiKeyHelper`](https://code.claude.com/docs/ko/settings-reference#apikeyhelper) 스크립트를 구성합니다1108* 대화형 로그인이 불가능한 CI 또는 자동화 환경에서는 시작 시 키를 가져오는 [`apiKeyHelper`](https://code.claude.com/docs/ko/settings-reference#apikeyhelper) 스크립트를 구성합니다
1091* 누군가 동일한 claude.ai 계정과 조직으로 다시 로그인할 때 `claude -p` 작업이 이 메시지와 함께 종료된다면, 해당 로그인이 실행되는 곳의 Claude Code를 업데이트합니다. v2.1.318 이전에는 Claude Code가 해당 로그인 중에 새 로그인을 저장하기 전에 저장된 로그인을 제거했습니다.1109* 누군가 같은 claude.ai 계정과 조직에 다시 로그인할 때 `claude -p` 작업이 이 메시지와 함께 종료된다면, 해당 로그인이 실행되는 곳의 Claude Code를 업데이트합니다. v2.1.318 이전에는 Claude Code가 해당 로그인 중에 새 로그인을 저장하기 전에 저장된 로그인을 제거했습니다.
1092* 여러 자격 증명이 있을 때 Claude Code가 어떤 자격 증명을 사용하는지 알아보려면 [인증 우선순위](https://code.claude.com/docs/ko/authentication.md#authentication-precedence)를 참조하십시오1110* 여러 자격 증명이 있을 때 Claude Code가 어떤 자격 증명을 사용하는지 알아보려면 [인증 우선순위](https://code.claude.com/docs/ko/authentication.md#authentication-precedence)를 참조합니다
1093 1111
1094로그인을 반복적으로 요청받는 경우, 시스템 시계 확인 방법과 macOS 자격 증명 저장소 복구 단계는 [로그인되지 않음 또는 토큰 만료](https://code.claude.com/docs/ko/troubleshoot-install.md#not-logged-in-or-token-expired)를 참조하십시오.1112반복적으로 로그인하라는 메시지가 표시되면 시스템 시계 확인 및 macOS 자격 증명 저장소 복구 단계는 [Not logged in or token expired](https://code.claude.com/docs/ko/troubleshoot-install.md#not-logged-in-or-token-expired)를 참조합니다.
1095 1113
1096### 인증 방법을 확인할 수 없음1114### Could not resolve authentication method
1097 1115
1098세션이 자격 증명 없이 API 클라이언트에 도달했습니다. [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)과 클라우드 세션은 워커가 자격 증명 없이 시작될 때 이 메시지를 표시합니다. 대화형, `-p`, Agent SDK 실행에서는 같은 상황을 [로그인되지 않음](#not-logged-in)으로 보고하고 이 문자열은 디버그 로그에만 기록하므로, 디버그 로그에서 이 문자열을 발견했다면 해당 항목을 따르십시오.1116세션이 자격 증명 없이 API 클라이언트에 도달했습니다. [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)과 클라우드 세션은 워커가 자격 증명 없이 시작될 때 이 메시지를 표시합니다. 대화형, `-p`, Agent SDK 실행은 같은 상태를 [Not logged in](#not-logged-in)으로 보고하고 이 문자열은 디버그 로그에만 기록하므로, 로그에서 이 문자열을 발견했다면 해당 항목을 따릅니다.
1099 1117
1100```text theme={null}1118```text theme={null}
1101Could not resolve authentication method. Expected one of apiKey, authToken, credentials, config, or profile to be set. Or for one of the "X-Api-Key" or "Authorization" headers to be explicitly omitted1119Could not resolve authentication method. Expected one of apiKey, authToken, credentials, config, or profile to be set. Or for one of the "X-Api-Key" or "Authorization" headers to be explicitly omitted
1102```1120```
1103 1121
1104현재 버전에서 이 오류는 워커 프로세스에 사용할 수 있는 자격 증명이 없었다는 뜻입니다. v2.1.174 이전에는 유휴 상태의 사전 초기화된 워커에 할당된 백그라운드 세션이 유효한 자격 증명이 구성되어 있어도 이렇게 실패할 수 있었습니다. v2.1.176 이전에는 할당되기 전에 유휴 상태로 있던 클라우드 세션도 마찬가지였습니다. 업그레이드하면 복구됩니다.1122현재 버전에서 이 오류는 워커 프로세스에서 사용할 수 있는 자격 증명이 없었다는 뜻입니다. v2.1.174 이전에는 유휴 상태의 사전 초기화된 워커에 할당된 백그라운드 세션이 유효한 자격 증명이 구성되어 있어도 이런 방식으로 실패할 수 있었습니다. v2.1.176 이전에는 할당되기 전에 유휴 상태로 있던 클라우드 세션도 그럴 수 있었습니다. 업그레이드하면 복구됩니다.
1105 1123
1106**해결 방법:**1124**해결 방법:**
1107 1125
1108* 백그라운드 또는 클라우드 세션에서 이 오류가 나타나고 자격 증명이 이미 구성되어 있다면 v2.1.176 이상으로 업그레이드합니다1126* 백그라운드 또는 클라우드 세션에서 이 메시지가 나타나고 자격 증명이 이미 구성되어 있다면 v2.1.176 이상으로 업그레이드합니다
1109* `ANTHROPIC_API_KEY`, `CLAUDE_CODE_OAUTH_TOKEN` 또는 클라우드 공급자 자격 증명이 대화형 셸뿐 아니라 워커를 실행하는 환경에도 설정되어 있는지 확인합니다1127* `ANTHROPIC_API_KEY`, `CLAUDE_CODE_OAUTH_TOKEN` 또는 클라우드 공급자 자격 증명이 대화형 셸뿐 아니라 워커를 실행하는 환경에도 설정되어 있는지 확인합니다
1110* Agent SDK의 경우 [빠른 시작의 인증 설정](https://code.claude.com/docs/ko/agent-sdk/quickstart.md#setup)을 참조하십시오1128* Agent SDK의 경우 [빠른 시작의 인증 설정](https://code.claude.com/docs/ko/agent-sdk/quickstart.md#setup)을 참조합니다
1111* 같은 환경의 대화형 세션에서 `/status`를 실행하여 어떤 자격 증명 소스가 확인되는지 확인합니다1129* 같은 환경의 대화형 세션에서 `/status`를 실행하여 어떤 자격 증명 소스가 확인되는지 확인합니다
1112 1130
1113### 유효하지 않은 API 키1131### Invalid API key
1114 1132
1115`ANTHROPIC_API_KEY` 환경 변수 또는 `apiKeyHelper` 스크립트가 API에서 거부한 키를 반환했거나, Claude Code가 `ANTHROPIC_API_KEY`의 키를 전송하기 전에 차단했습니다.1133`ANTHROPIC_API_KEY` 환경 변수 또는 `apiKeyHelper` 스크립트가 API에서 거부한 키를 반환했거나, Claude Code가 `ANTHROPIC_API_KEY`의 키를 전송하기 전에 차단했습니다.
1116 1134
1118Invalid API key · Fix external API key1136Invalid API key · Fix external API key
1119```1137```
1120 1138
1121메시지가 `Fix external API key` 뒤에 `Invalid X-Api-Key header value from ANTHROPIC_API_KEY: it contains a line break at character 41 (120 characters on 2 lines).`와 같은 설명으로 이어진다면, API는 키를 받지 못한 것입니다. Claude Code가 HTTP 헤더에 담을 수 없는 문자를 발견하고 요청을 전송하기 전에 중단했습니다. 설명을 읽는 방법과 값을 수정하는 방법은 [유효하지 않은 요청 헤더 값](#invalid-request-header-value)을 참조하십시오.1139메시지가 `Fix external API key` 뒤에 `Invalid X-Api-Key header value from ANTHROPIC_API_KEY: it contains a line break at character 41 (120 characters on 2 lines).` 같은 설명으로 이어지면 API는 키를 전혀 받지 않은 것입니다. Claude Code가 HTTP 헤더에 담을 수 없는 문자를 발견하고 전송 전에 요청을 중단했습니다. 설명을 읽고 값을 수정하는 방법은 [Invalid request header value](#invalid-request-header-value)를 참조합니다.
1122 1140
1123**해결 방법:**1141**해결 방법:**
1124 1142
1125* 오타가 있는지 확인하고, [Console](https://platform.claude.com/settings/keys)에서 키가 폐기되지 않았는지 확인합니다1143* 오타가 있는지 확인하고 [Console](https://platform.claude.com/settings/keys)에서 키가 취소되지 않았는지 확인합니다
1126* 같은 셸에서 `env | grep ANTHROPIC`을 실행하거나, PowerShell에서는 `Get-ChildItem Env:ANTHROPIC*`를 실행합니다. direnv, dotenv 셸 플러그인, IDE 터미널 같은 도구는 사용자가 명시적으로 설정하지 않아도 프로젝트의 `.env` 파일에서 오래된 키를 불러올 수 있습니다.1144* 같은 셸에서 `env | grep ANTHROPIC`을 실행하거나 PowerShell에서는 `Get-ChildItem Env:ANTHROPIC*`를 실행합니다. direnv, dotenv 셸 플러그인, IDE 터미널 같은 도구는 사용자가 명시적으로 설정하지 않아도 프로젝트의 `.env` 파일에서 오래된 키를 불러올 수 있습니다.
1127* `ANTHROPIC_API_KEY`를 해제하고 `/login`을 실행하여 대신 구독 인증을 사용합니다1145* `ANTHROPIC_API_KEY` 설정을 해제하고 `/login`을 실행하여 대신 구독 인증을 사용합니다
1128* 키가 [`apiKeyHelper`](https://code.claude.com/docs/ko/settings-reference#apikeyhelper) 스크립트에서 오는 경우, 스크립트를 직접 실행하여 stdout에 유효한 키를 출력하는지 확인합니다1146* 키가 [`apiKeyHelper`](https://code.claude.com/docs/ko/settings-reference#apikeyhelper) 스크립트에서 오는 경우 스크립트를 직접 실행하여 stdout에 유효한 키를 출력하는지 확인합니다
1129* `/status`를 실행하여 Claude Code가 실제로 사용하는 자격 증명 소스를 확인합니다1147* `/status`를 실행하여 Claude Code가 실제로 사용 중인 자격 증명 소스를 확인합니다
1130 1148
1131### apiKeyHelper 스크립트가 실패함1149### Your apiKeyHelper script is failing
1132 1150
1133Claude Code가 [`apiKeyHelper`](https://code.claude.com/docs/ko/settings-reference#apikeyhelper) 설정의 명령을 실행했지만 키를 받지 못했습니다. 키가 없으면 요청이 자리표시자 자격 증명으로 API에 도달하고, API는 `401`로 이를 거부합니다. 터미널의 `Authentication` 패널에 다음 중 어떤 경우가 발생했는지 표시됩니다.1151Claude Code가 [`apiKeyHelper`](https://code.claude.com/docs/ko/settings-reference#apikeyhelper) 설정의 명령을 실행했지만 키를 돌려받지 못했습니다. 키가 없으면 요청이 자리 표시자 자격 증명과 함께 API에 도달하고, API는 `401`로 이를 거부합니다. 터미널의 `Authentication` 패널에 다음 중 어떤 일이 발생했는지 표시됩니다:
1134 1152
1135* 명령이 오류와 함께 종료되었거나 시간 초과되었습니다1153* 명령이 오류와 함께 종료되었거나 시간 초과되었습니다
1136* 명령이 stdout에 아무것도 출력하지 않았습니다1154* 명령이 stdout에 아무것도 출력하지 않았습니다
1137* 명령이 로그인 배너나 로그 줄처럼 키 이외의 내용을 출력했습니다. 패널에는 `returned output that cannot be used as an API key`가 표시되고, 출력 내용을 반복하지 않고 무엇이 잘못되었는지 알려줍니다. v2.1.227 이전에는 Claude Code가 앞뒤 공백을 제거한 후 명령이 출력한 내용을 그대로 전송했습니다.1155* 명령이 로그인 배너나 로그 줄처럼 키 이외의 내용을 출력했습니다. 패널은 출력을 반복하지 않고 `returned output that cannot be used as an API key`를 표시하며 무엇이 잘못되었는지 알려줍니다. v2.1.227 이전에는 Claude Code가 명령이 출력한 내용을 앞뒤 공백만 제거한 후 그대로 전송했습니다.
1138 1156
1139```text theme={null}1157```text theme={null}
1140Your apiKeyHelper script is failing · This usually means you need to re-authenticate with your provider · Run /status to see the script's error output1158Your apiKeyHelper script is failing · This usually means you need to re-authenticate with your provider · Run /status to see the script's error output
1142 1160
1143[비대화형 모드](https://code.claude.com/docs/ko/headless.md)에서는 stderr에도 `apiKeyHelper failed:` 접두사와 함께 구체적인 이유가 출력됩니다.1161[비대화형 모드](https://code.claude.com/docs/ko/headless.md)에서는 stderr에도 `apiKeyHelper failed:` 접두사와 함께 구체적인 이유가 출력됩니다.
1144 1162
1145Claude Code는 이 메시지를 표시하기 전에 스크립트를 다시 실행하고 요청을 최대 두 번 더 재시도하므로, 실패는 세 번의 시도 안에 드러납니다. v2.1.208 이전에는 Claude Code가 [재시도 한도](#automatic-retries) 전체를 자리표시자 자격 증명으로 요청을 다시 보내는 데 소모한 후, 스크립트 실패 대신 일반적인 `401` 인증 오류를 보고했습니다.1163Claude Code는 이 메시지를 표시하기 전에 스크립트를 다시 실행하고 요청을 최대 두 번 더 재시도하므로, 실패는 세 번의 시도 안에 드러납니다. v2.1.208 이전에는 Claude Code가 전체 [재시도 한도](#automatic-retries)를 소진하며 자리 표시자 자격 증명으로 요청을 다시 보낸 후, 스크립트 실패 대신 일반적인 `401` 인증 오류를 보고했습니다.
1146 1164
1147이 경우 `/login`을 실행해도 도움이 되지 않습니다. 설정이 있는 한 헬퍼의 출력이 저장된 로그인보다 [우선합니다](https://code.claude.com/docs/ko/authentication.md#authentication-precedence).1165여기서는 `/login`을 실행해도 도움이 되지 않습니다. 설정이 존재하는 한 헬퍼의 출력이 저장된 로그인보다 [우선 적용](https://code.claude.com/docs/ko/authentication.md#authentication-precedence)되기 때문입니다.
1148 1166
1149**해결 방법:**1167**해결 방법:**
1150 1168
1151* `apiKeyHelper`에 구성된 명령을 셸에서 직접 실행하여 실패를 재현합니다1169* `apiKeyHelper`에 구성된 명령을 셸에서 직접 실행하여 실패를 재현합니다
1152* 명령이 만료된 세션을 보고하면, 예를 들어 SSO나 시크릿 볼트에 다시 로그인하는 방식으로 자격 증명 공급자에서 다시 인증합니다1170* 명령이 세션 만료를 보고하면 자격 증명 공급자에서 다시 인증합니다. 예를 들어 SSO 또는 시크릿 볼트에 다시 로그인합니다
1153* 명령이 최대 16,384자의 출력 가능한 ASCII로 이루어진 단일 토큰 형태로 키만 stdout에 출력하고 종료 코드 0으로 종료되도록 수정합니다. 동작하는 설정 예시는 [apiKeyHelper로 자격 증명 교체](https://code.claude.com/docs/ko/llm-gateway-connect.md#rotate-credentials-with-apikeyhelper)를 참조하십시오.1171* 명령이 키만 stdout에 출력하고 종료 코드 0으로 종료되도록 수정합니다. 키는 최대 16,384자의 출력 가능한 ASCII로 된 단일 토큰이어야 합니다. 작동하는 설정은 [apiKeyHelper로 자격 증명 교체](https://code.claude.com/docs/ko/llm-gateway-connect.md#rotate-credentials-with-apikeyhelper)를 참조합니다.
1154* `/status`를 실행하여 실패 내용을 확인하고 `apiKeyHelper`가 활성 자격 증명 소스인지 확인합니다. `apiKeyHelper` 행에는 `Failing`과 함께 종료 코드 및 명령의 오류 출력 같은 마지막 실패의 세부 정보가 표시되며, 다음 실행이 성공하면 사라집니다. v2.1.274 이전에는 `/status`가 실패 내용 없이 자격 증명 소스만 표시했습니다.1172* `/status`를 실행하여 실패를 확인하고 `apiKeyHelper`가 활성 자격 증명 소스인지 확인합니다. `apiKeyHelper` 행에는 종료 코드와 명령의 오류 출력 같은 마지막 실패의 세부 정보와 함께 `Failing`이 표시되며, 다음에 성공적으로 실행되면 사라집니다. v2.1.274 이전에는 `/status`에 실패가 아닌 자격 증명 소스만 표시되었습니다.
1155* 명령이 실패할 때마다 종료 코드와 오류 출력이 터미널의 `Authentication` 패널에도 표시됩니다. v2.1.212 이전에는 패널 제목이 `Cloud authentication`이었습니다.1173* 명령이 실패할 때마다 종료 코드와 오류 출력이 터미널의 `Authentication` 패널에도 표시됩니다. v2.1.212 이전에는 패널 제목이 `Cloud authentication`이었습니다.
1156 1174
1157### Claude Code didn't send your claude.ai login1175### Claude Code didn't send your claude.ai login
1158 1176
1159다음 메시지는 Claude Code가 요청을 거부하고 claude.ai 로그인을 전송하지 않았다는 의미입니다.1177다음 메시지는 Claude Code가 요청을 거부하고 claude.ai 로그인을 전송하지 않았다는 뜻입니다:
1160 1178
1161```text theme={null}1179```text theme={null}
1162Your organization's settings need an update. Ask your administrator to fix the API key helper configuration.1180Your organization's settings need an update. Ask your administrator to fix the API key helper configuration.
1166 1184
1167**해결 방법:**1185**해결 방법:**
1168 1186
1169* `Your organization's settings need an update`: 관리자에게 API 키 헬퍼 구성을 수정하도록 요청하세요1187* `Your organization's settings need an update`: 관리자에게 API 키 헬퍼 구성을 수정해 달라고 요청합니다
1170 * 머신에 어떤 관리형 소스가 있는지 관리자에게 알리려면 Claude Code 프롬프트에서 `/status`를 실행하고 [`Setting sources` 줄](https://code.claude.com/docs/ko/managed-settings#read-the-source-in-/status)을 복사하세요. `Skipped sources` 줄이 표시되면 그것도 복사하세요1188 * 머신에 어떤 관리형 소스가 있는지 관리자에게 알려주려면 Claude Code 프롬프트에서 `/status`를 실행하고 [`Setting sources` 줄](https://code.claude.com/docs/ko/managed-settings#read-the-source-in-/status)을 복사합니다. `Skipped sources` 줄이 나타나면 그것도 복사합니다
1171 * 사용자가 설정을 관리하고 헬퍼가 머신의 관리형 설정 파일 또는 MDM 정책에 있다면 [When a machine's `apiKeyHelper` isn't in effect](https://code.claude.com/docs/ko/server-managed-settings#machine-apikeyhelper-not-in-effect)를 참조하세요1189 * 사용자가 설정을 관리하고 헬퍼가 머신의 관리형 설정 파일 또는 MDM 정책에 있다면 [머신의 `apiKeyHelper`가 적용되지 않는 경우](https://code.claude.com/docs/ko/server-managed-settings#machine-apikeyhelper-not-in-effect)를 참조합니다
1172* `Couldn't load your organization's settings`: 연결을 확인한 다음 Claude Code를 다시 시작하세요. 다시 시작한 후에도 메시지가 다시 나타나면 관리자에게 알리세요1190* `Couldn't load your organization's settings`: 연결을 확인한 후 Claude Code를 다시 시작합니다. 다시 시작한 후에도 메시지가 다시 나타나면 관리자에게 알립니다
1173* `Restart Claude Code to finish signing in`: Claude Code를 다시 시작하세요1191* `Restart Claude Code to finish signing in`: Claude Code를 다시 시작합니다
1174 1192
1175v2.1.315 이전에는 거부된 프롬프트나 파일 업로드에 대해 `Claude Code didn't send your claude.ai login`으로 시작하는 하나의 메시지가 출력되었습니다.1193v2.1.315 이전에는 거부된 프롬프트 또는 파일 업로드 시 `Claude Code didn't send your claude.ai login`으로 시작하는 하나의 메시지가 출력되었습니다.
1176 1194
1177### 유효하지 않은 요청 헤더 값1195### Invalid request header value
1178 1196
1179Claude Code가 요청 헤더로 보내려던 값에 HTTP 헤더에 담을 수 없는 문자, 즉 줄바꿈, NUL 바이트, 또는 둥근 따옴표나 폭 없는 공백처럼 `U+00FF`보다 큰 문자가 포함되어 있습니다. Claude Code는 아무것도 전송하기 전에 요청을 중단하고 수정해야 할 변수나 설정의 이름을 알려줍니다. 보통 문서나 채팅에서 붙여 넣은 자격 증명에 보이지 않는 문자나 불필요한 줄바꿈이 들어간 것이 원인입니다.1197Claude Code가 요청 헤더로 보내려던 값에 HTTP 헤더가 담을 수 없는 문자가 포함되어 있습니다. 이는 줄바꿈, NUL 바이트, 또는 둥근 따옴표나 폭 없는 공백(zero-width space)처럼 `U+00FF`보다 큰 문자입니다. Claude Code는 아무것도 전송하기 전에 요청을 중단하고 수정할 변수나 설정의 이름을 알려줍니다. 일반적인 원인은 보이지 않는 문자나 불필요한 줄바꿈이 포함된 문서나 채팅에서 붙여넣은 자격 증명입니다.
1180 1198
1181Claude Code는 Claude API에 직접 또는 [LLM 게이트웨이](https://code.claude.com/docs/ko/llm-gateway)를 통해 요청을 보낼 때 이 검사를 실행합니다. [Amazon Bedrock](https://code.claude.com/docs/ko/amazon-bedrock.md) 같은 타사 클라우드 공급자에서는 전송 전에 이 검사를 실행하지 않습니다.1199Claude Code는 Claude API에 직접 또는 [LLM 게이트웨이](https://code.claude.com/docs/ko/llm-gateway)를 통해 요청을 보낼 때 이 검사를 실행합니다. [Amazon Bedrock](https://code.claude.com/docs/ko/amazon-bedrock.md) 같은 서드파티 클라우드 공급자에서는 Claude Code가 전송 전에 이 검사를 실행하지 않습니다.
1182 1200
1183```text theme={null}1201```text theme={null}
1184Invalid auth token · Fix external auth token1202Invalid auth token · Fix external auth token
1186Invalid request header from the environment · Fix the environment variable1204Invalid request header from the environment · Fix the environment variable
1187```1205```
1188 1206
1189메시지의 첫 부분은 잘못된 값이 어디에서 왔는지에 따라 달라집니다.1207메시지의 첫 부분은 잘못된 값이 어디에서 왔는지에 따라 달라집니다:
1190 1208
1191* `Invalid auth token`: [`ANTHROPIC_AUTH_TOKEN`](https://code.claude.com/docs/ko/env-vars) 또는 [`CLAUDE_CODE_OAUTH_TOKEN`](https://code.claude.com/docs/ko/env-vars)의 bearer 토큰1209* `Invalid auth token`: [`ANTHROPIC_AUTH_TOKEN`](https://code.claude.com/docs/ko/env-vars) 또는 [`CLAUDE_CODE_OAUTH_TOKEN`](https://code.claude.com/docs/ko/env-vars)의 bearer 토큰
1192* `Invalid ANTHROPIC_CUSTOM_HEADERS`: [`ANTHROPIC_CUSTOM_HEADERS`](https://code.claude.com/docs/ko/env-vars)에 설정한 헤더 이름 또는 값. 설명에는 `distinct header 2 of 3 parsed from ANTHROPIC_CUSTOM_HEADERS`처럼 몇 번째 `Name: Value` 쌍이 문제인지 표시되며, 이름과 값은 사용자가 직접 정한 것이므로 반복하지 않습니다.1210* `Invalid ANTHROPIC_CUSTOM_HEADERS`: [`ANTHROPIC_CUSTOM_HEADERS`](https://code.claude.com/docs/ko/env-vars)에 설정한 헤더 이름 또는 값. 설명은 이름이나 값을 반복하지 않고 `distinct header 2 of 3 parsed from ANTHROPIC_CUSTOM_HEADERS`처럼 몇 번째 `Name: Value` 쌍에 문제가 있는지 알려줍니다. 이름과 값은 모두 사용자가 직접 정한 것이기 때문입니다.
1193* `Invalid request header from the environment`: Claude Code가 `CLAUDE_AGENT_SDK_CLIENT_APP` 같은 다른 환경 변수에서 요청 헤더로 복사하는 값. 설명에 수정해야 할 변수 이름이 표시됩니다.1211* `Invalid request header from the environment`: Claude Code가 `CLAUDE_AGENT_SDK_CLIENT_APP` 같은 다른 환경 변수에서 요청 헤더로 복사하는 값. 설명에 수정할 변수의 이름이 표시됩니다.
1194 1212
1195이 검사에서 발견된 잘못된 `ANTHROPIC_API_KEY`는 같은 후행 설명과 함께 [유효하지 않은 API 키](#invalid-api-key)로 보고됩니다. 잘못된 저장된 `/login` 자격 증명은 대신 [로그인되지 않음](#not-logged-in)으로 보고되며, `/login`을 실행하여 새 자격 증명을 저장하면 됩니다. [`apiKeyHelper`](https://code.claude.com/docs/ko/settings-reference#apikeyhelper) 스크립트의 출력은 이 검사에 도달하지 않습니다. Claude Code는 스크립트가 실행될 때 출력을 검증하며, HTTP 헤더에 담을 수 없는 출력은 [apiKeyHelper 스크립트가 실패함](#your-apikeyhelper-script-is-failing)으로 실패합니다.1213Claude Code는 이 검사에서 발견된 잘못된 `ANTHROPIC_API_KEY`를 같은 뒷부분 설명과 함께 [Invalid API key](#invalid-api-key)로 보고합니다. 저장된 `/login` 자격 증명이 잘못된 경우에는 대신 [Not logged in](#not-logged-in)으로 보고하므로, `/login`을 실행하여 새 자격 증명을 저장합니다. [`apiKeyHelper`](https://code.claude.com/docs/ko/settings-reference#apikeyhelper) 스크립트의 출력은 이 검사에 도달하지 않습니다. Claude Code는 스크립트가 실행될 때 출력을 검증하며, HTTP 헤더가 담을 수 없는 출력은 [Your apiKeyHelper script is failing](#your-apikeyhelper-script-is-failing)으로 실패합니다.
1196 1214
1197두 번째 `·` 뒤에서 메시지는 다음 전체 예시처럼 문제를 설명합니다.1215두 번째 `·` 뒤에서 메시지는 문제를 설명합니다. 다음은 전체 예시입니다:
1198 1216
1199```text theme={null}1217```text theme={null}
1200Invalid auth token · Fix external auth token · Invalid Authorization header value from ANTHROPIC_AUTH_TOKEN: it contains a line break at character 41 (120 characters on 2 lines).1218Invalid auth token · Fix external auth token · Invalid Authorization header value from ANTHROPIC_AUTH_TOKEN: it contains a line break at character 41 (120 characters on 2 lines).
1201```1219```
1202 1220
1203위치는 1부터 시작하여 문자 단위로 셉니다. 설명은 고정된 문구와 문자 수로 구성되므로 값 자체는 절대 포함되지 않습니다. 문제가 되는 문자가 바이트 순서 표시, 폭 없는 공백, 둥근 따옴표처럼 잘 알려진 보이지 않는 문자나 인쇄용 문자일 때만 해당 문자의 이름을 표시하고, 그 밖의 문자는 `a non-ASCII character`로 보고합니다.1221위치는 1부터 시작하여 문자 수를 셉니다. 설명은 고정된 문구와 문자 수로 구성되므로 값 자체는 절대 포함되지 않습니다. 문제가 되는 문자가 바이트 순서 표시(BOM), 폭 없는 공백, 둥근 따옴표처럼 잘 알려진 보이지 않는 문자나 타이포그래피 문자인 경우에만 해당 문자의 이름을 표시하고, 그 외에는 `a non-ASCII character`로 보고합니다.
1204 1222
1205**해결 방법:**1223**해결 방법:**
1206 1224
1207* 메시지에 표시된 변수나 설정을 다시 설정하되, 같은 소스에서 다시 붙여 넣지 말고 보고된 위치 주변의 문자를 직접 다시 입력합니다1225* 메시지에 표시된 변수나 설정을 다시 설정하되, 같은 소스에서 다시 붙여넣지 말고 보고된 위치 주변의 문자를 직접 다시 입력합니다
1208* `ANTHROPIC_CUSTOM_HEADERS`의 경우 한 줄에 `Name: Value` 쌍 하나씩 유지하고, 메시지가 가리키는 쌍을 다시 작성합니다1226* `ANTHROPIC_CUSTOM_HEADERS`의 경우 한 줄에 `Name: Value` 쌍을 하나씩 두고 메시지가 지목한 쌍을 다시 작성합니다
1209* `/status`를 실행하여 활성 자격 증명 소스를 확인합니다1227* `/status`를 실행하여 활성 자격 증명 소스를 확인합니다
1210 1228
1211### 이 조직이 비활성화됨1229### This organization has been disabled
1212 1230
1213Claude Code가 비활성화된 Console 조직의 오래된 `ANTHROPIC_API_KEY`를 사용하고 있습니다. 저장된 구독 로그인이 있어도 키가 이를 재정의합니다.1231Claude Code가 비활성화된 Console 조직의 오래된 `ANTHROPIC_API_KEY`를 사용하고 있습니다. 저장된 구독 로그인이 있으면 이 키가 로그인보다 우선합니다.
1214 1232
1215```text theme={null}1233```text theme={null}
1216Your ANTHROPIC_API_KEY belongs to a disabled organization · Unset the environment variable to use your subscription instead1234Your ANTHROPIC_API_KEY belongs to a disabled organization · Unset the environment variable to use your subscription instead
1218API Error: 400 ... This organization has been disabled.1236API Error: 400 ... This organization has been disabled.
1219```1237```
1220 1238
1221`·` 뒤의 안내는 저장된 자격 증명에 따라 달라집니다. 첫 번째 형태는 키를 해제한 후 저장된 `/login`이 대신 사용될 수 있을 때 표시되고, 두 번째 형태는 키가 유일한 자격 증명일 때 표시됩니다.1239`·` 뒤의 힌트는 저장된 자격 증명에 따라 달라집니다. 첫 번째 형태는 키 설정을 해제한 후 저장된 `/login`이 대신 사용될 수 있을 때 나타나고, 두 번째 형태는 키가 유일한 자격 증명일 때 나타납니다.
1222 1240
1223셸 프로필에서 키를 export하거나 `.env`에서 키를 불러오면, Pro, Max 또는 Ultra 구독이 정상적으로 작동하더라도 Claude Code는 `/login` 대신 그 키를 사용합니다. 비대화형 모드(`-p`)에서는 키가 있으면 항상 키를 사용합니다.1241셸 프로필에서 키를 export하거나 `.env`에서 불러오면, 정상적으로 작동하는 Pro, Max 또는 Ultra 구독이 있더라도 Claude Code는 `/login` 대신 해당 키를 사용합니다. 비대화형 모드(`-p`)에서는 키가 있으면 항상 키가 사용됩니다.
1224 1242
1225**해결 방법:**1243**해결 방법:**
1226 1244
1227* 현재 셸에서 `ANTHROPIC_API_KEY`를 해제하고 셸 프로필에서 제거한 다음 `claude`를 다시 실행합니다1245* 현재 셸에서 `ANTHROPIC_API_KEY` 설정을 해제하고 셸 프로필에서 제거한 후 `claude`를 다시 실행합니다
1228* 메시지에 `Update or unset`이 표시되면 대신 사용할 저장된 로그인이 없는 것입니다. 키를 해제하고 `/login`을 실행하거나, 활성 Console 조직의 키로 교체합니다.1246* 메시지에 `Update or unset`이 표시되면 대신 사용할 저장된 로그인이 없는 것입니다. 키 설정을 해제하고 `/login`을 실행하거나, 활성 Console 조직의 키로 교체합니다.
1229* 이후 `/status`를 실행하여 활성 자격 증명이 구독인지 확인합니다1247* 이후 `/status`를 실행하여 활성 자격 증명이 구독인지 확인합니다
1230* 환경 변수가 설정되어 있지 않은데도 오류가 계속되면 지원팀에 문의하거나 다른 계정으로 로그인합니다.1248* 환경 변수가 설정되어 있지 않은데도 오류가 계속되면 지원팀에 문의하거나 다른 계정으로 로그인합니다.
1231 1249
1232### 조직에서 API 키 인증을 비활성화함1250### Your organization has disabled API key authentication
1233 1251
1234이 메시지는 Claude Code v2.1.169 이상이 필요합니다. Console 조직의 관리자가 API 키 인증을 꺼 두었기 때문에 API가 Claude Code가 보내는 키를 거부합니다. `·` 뒤의 복구 안내는 키를 가져온 위치에 따라 달라집니다.1252이 메시지는 Claude Code v2.1.169 이상이 필요합니다. Console 조직의 관리자가 API 키 인증을 꺼 두었으므로 API가 Claude Code가 보내는 키를 거부합니다. `·` 뒤의 복구 힌트는 키의 출처에 따라 다릅니다:
1235 1253
1236```text theme={null}1254```text theme={null}
1237Your organization has disabled API key authentication · Run /login to sign in with your claude.ai account1255Your organization has disabled API key authentication · Run /login to sign in with your claude.ai account
1241Your organization has disabled API key authentication · Sign in again with your claude.ai account1259Your organization has disabled API key authentication · Sign in again with your claude.ai account
1242```1260```
1243 1261
1244마지막 형태는 Code 탭이나 Cowork처럼 Claude Desktop 앱이 실행하는 세션에서 표시되며, 이 경우 앱에서 다시 로그인합니다.1262마지막 형태는 Code 탭이나 Cowork처럼 Claude Desktop 앱이 실행하는 세션에서 나타나며, 이 경우 앱에서 다시 로그인합니다.
1245 1263
1246환경 변수와 `apiKeyHelper`는 `/login`보다 우선하므로, 둘 중 하나가 계속 키를 제공하는 동안에는 `/login`만 실행해서는 해결되지 않습니다. [인증 우선순위](https://code.claude.com/docs/ko/authentication.md#authentication-precedence)를 참조하십시오.1264환경 변수와 `apiKeyHelper`는 `/login`보다 우선하므로, 둘 중 하나가 여전히 키를 제공하는 동안에는 `/login`만 실행해서는 도움이 되지 않습니다. [인증 우선순위](https://code.claude.com/docs/ko/authentication.md#authentication-precedence)를 참조합니다.
1247 1265
1248**해결 방법:**1266**해결 방법:**
1249 1267
1250* 메시지에 `ANTHROPIC_API_KEY`가 표시되면 현재 셸에서 해제하고 셸 프로필이나 `.env` 파일에서 제거한 다음 `claude`를 다시 실행합니다1268* 메시지에 `ANTHROPIC_API_KEY`가 표시되면 현재 셸에서 설정을 해제하고 셸 프로필이나 `.env` 파일에서 제거한 후 `claude`를 다시 실행합니다
1251* 메시지에 `apiKeyHelper`가 표시되면 `settings.json`에서 [`apiKeyHelper`](https://code.claude.com/docs/ko/settings-reference#apikeyhelper) 설정을 제거합니다1269* 메시지에 `apiKeyHelper`가 표시되면 `settings.json`에서 [`apiKeyHelper`](https://code.claude.com/docs/ko/settings-reference#apikeyhelper) 설정을 제거합니다
1252* `/login`을 실행하여 claude.ai 계정으로 로그인합니다1270* `/login`을 실행하여 claude.ai 계정으로 로그인합니다
1253* 이후 `/status`를 실행하여 활성 자격 증명이 API 키가 아닌 구독인지 확인합니다1271* 이후 `/status`를 실행하여 활성 자격 증명이 API 키가 아닌 구독인지 확인합니다
1254* 자동화에 API 키 인증이 필요하다면 조직 관리자에게 Console에서 다시 활성화해 달라고 요청합니다1272* 자동화를 위해 API 키 인증이 필요하면 조직 관리자에게 Console에서 다시 활성화해 달라고 요청합니다
1255 1273
1256### 조직에서 Claude 구독 액세스를 비활성화함1274### Your organization has disabled Claude subscription access
1257 1275
1258Claude 조직에서 구독 로그인으로 Claude Code에 로그인하는 것을 허용하지 않습니다. 같은 계정으로 `/login`을 다시 실행해도 같은 오류가 반환됩니다.1276Claude 조직에서 구독 로그인으로 Claude Code에 로그인하는 것을 허용하지 않습니다. 같은 계정으로 `/login`을 다시 실행해도 같은 오류가 반환됩니다.
1259 1277
1268**해결 방법:**1286**해결 방법:**
1269 1287
1270* 관리자에게 조직의 Claude Code 액세스를 활성화해 달라고 요청합니다1288* 관리자에게 조직의 Claude Code 액세스를 활성화해 달라고 요청합니다
1271* 구독 대신 Console API 키로 인증합니다. 설정 방법은 [Claude Console 인증](https://code.claude.com/docs/ko/authentication.md#claude-console-authentication)을 참조하십시오.1289* 구독 대신 Console API 키로 인증합니다. 설정 방법은 [Claude Console 인증](https://code.claude.com/docs/ko/authentication.md#claude-console-authentication)을 참조합니다.
1272* 관리자인데 액세스를 활성화하는 옵션이 보이지 않으면 [Anthropic 지원팀](https://support.claude.com)에 문의합니다1290* 사용자가 관리자인데 액세스를 활성화하는 옵션이 보이지 않으면 [Anthropic 지원팀](https://support.claude.com)에 문의합니다
1273 1291
1274### Scheduled tasks are off for your organization1292### Scheduled tasks are off for your organization
1275 1293
1276조직에서 [클라우드 예약 작업](https://code.claude.com/docs/ko/routines.md)이 꺼져 있으므로 예약 작업을 만들거나 실행할 수 없습니다. claude.ai에서 보내는 메시지는 이를 예약 작업(scheduled tasks) 또는 루틴(routines)이라고 부르며, 뒤에 관리자에 관한 문장이 이어집니다.1294조직에서 [클라우드 예약 작업](https://code.claude.com/docs/ko/routines.md)이 꺼져 있으므로 예약 작업을 만들거나 실행할 수 없습니다. claude.ai의 메시지는 이를 예약 작업(scheduled tasks) 또는 루틴(routines)이라고 부르며, 뒤에 관리자에 관한 문장이 이어집니다:
1277 1295
1278```text theme={null}1296```text theme={null}
1279Scheduled tasks are off for your organization. …1297Scheduled tasks are off for your organization. …
1280Routines are off for your organization. …1298Routines are off for your organization. …
1281```1299```
1282 1300
1283로컬 설정, 환경 변수 또는 CLI 플래그로는 이 기능을 켤 수 없습니다.1301로컬 설정, 환경 변수, CLI 플래그로는 이를 켤 수 없습니다.
1284 1302
1285**해결 방법:**1303**해결 방법:**
1286 1304
1287* Team 또는 Enterprise Owner에게 [**Organization settings > Capabilities > Remote sessions**](https://claude.ai/admin-settings/capabilities)에서 **Scheduled tasks (Was Routines)** 또는 **Routines**라는 토글을 켤 수 있는지 문의합니다1305* Team 또는 Enterprise Owner에게 [**Organization settings > Capabilities > Remote sessions**](https://claude.ai/admin-settings/capabilities)에서 **Scheduled tasks (Was Routines)** 또는 **Routines** 토글을 켤 수 있는지 문의합니다
1288 1306
1289### Remote Control에는 Anthropic API가 필요함1307### Remote Control에는 Anthropic API가 필요합니다
1290 1308
1291세션이 Anthropic API와 직접 통신하고 있지 않지만, [Remote Control](https://code.claude.com/docs/ko/remote-control.md)은 직접 통신을 필요로 합니다.1309세션이 [Remote Control](https://code.claude.com/docs/ko/remote-control.md)에 필요한 Anthropic API와 직접 통신하지 않고 있습니다.
1292 1310
1293```text theme={null}1311```text theme={null}
1294Remote Control is only available when using Claude via api.anthropic.com. CLAUDE_CODE_USE_BEDROCK is set, so this session is using Amazon Bedrock — unset it (or run in a shell without it) to use Remote Control.1312Remote Control is only available when using Claude via api.anthropic.com. CLAUDE_CODE_USE_BEDROCK is set, so this session is using Amazon Bedrock — unset it (or run in a shell without it) to use Remote Control.
1295```1313```
1296 1314
1297두 번째 문장은 세션이 Anthropic API가 아닌 다른 곳으로 라우팅된 원인을 설명합니다. v2.1.219 이전에는 메시지가 첫 번째 문장만으로 구성되었습니다. 원인에 따라 메시지에는 다음이 표시됩니다.1315두 번째 문장은 무엇이 세션을 Anthropic API가 아닌 곳으로 라우팅했는지 설명합니다. v2.1.219 이전에는 메시지가 첫 번째 문장만으로 구성되었습니다. 원인에 따라 메시지에는 다음이 표시됩니다:
1298 1316
1299* [Amazon Bedrock](https://code.claude.com/docs/ko/amazon-bedrock.md)의 `CLAUDE_CODE_USE_BEDROCK` 또는 [Google Cloud의 Agent Platform](https://code.claude.com/docs/ko/google-vertex-ai.md)의 `CLAUDE_CODE_USE_VERTEX` 같은 `CLAUDE_CODE_USE_*` 공급자 변수1317* [Amazon Bedrock](https://code.claude.com/docs/ko/amazon-bedrock.md)의 경우 `CLAUDE_CODE_USE_BEDROCK`, [Google Cloud의 Agent Platform](https://code.claude.com/docs/ko/google-vertex-ai.md)의 경우 `CLAUDE_CODE_USE_VERTEX` 같은 `CLAUDE_CODE_USE_*` 공급자 변수
1300* claude.ai로 로그인한 경우에도 [LLM 게이트웨이](https://code.claude.com/docs/ko/llm-gateway)나 프록시처럼 `api.anthropic.com`이 아닌 호스트를 가리키는 [`ANTHROPIC_BASE_URL`](https://code.claude.com/docs/ko/env-vars). v2.1.196 이전에는 사용자 지정 기본 URL이 Remote Control을 차단하지 않았습니다1318* [LLM 게이트웨이](https://code.claude.com/docs/ko/llm-gateway)나 프록시처럼 `api.anthropic.com` 이외의 호스트를 가리키는 [`ANTHROPIC_BASE_URL`](https://code.claude.com/docs/ko/env-vars). claude.ai로 로그인한 경우에도 해당합니다. v2.1.196 이전에는 사용자 지정 기본 URL이 Remote Control을 차단하지 않았습니다
1301* 설정된 `ANTHROPIC_UNIX_SOCKET`. 이 경우 세션이 `api.anthropic.com`이 아닌 로컬 소켓을 통해 요청을 보냅니다1319* 설정된 `ANTHROPIC_UNIX_SOCKET`. 이 경우 세션은 `api.anthropic.com` 대신 로컬 소켓을 통해 요청을 보냅니다
1302* `/login`을 통해 이루어진 엔터프라이즈 [클라우드 게이트웨이](https://code.claude.com/docs/ko/claude-apps-gateway) 로그인. 이 방식은 Remote Control을 지원하지 않으며 해제할 변수가 없습니다1320* `/login`을 통해 이루어진 엔터프라이즈 [클라우드 게이트웨이](https://code.claude.com/docs/ko/claude-apps-gateway) 로그인. 이 로그인은 Remote Control을 지원하지 않으며 해제할 변수가 없습니다
1303 1321
1304**해결 방법:**1322**해결 방법:**
1305 1323
1306* `CLAUDE_CODE_USE_BEDROCK`이나 `ANTHROPIC_BASE_URL`처럼 메시지에 표시된 변수를 해제하고 세션을 다시 시작하거나, Anthropic API와 직접 통신하는 세션에서 Remote Control을 시작합니다1324* `CLAUDE_CODE_USE_BEDROCK`이나 `ANTHROPIC_BASE_URL`처럼 메시지에 표시된 변수의 설정을 해제하고 세션을 다시 시작하거나, Anthropic API와 직접 통신하는 세션에서 Remote Control을 시작합니다
1307* 셸에 변수가 설정되어 있지 않다면, 모든 세션에 환경 변수를 적용하는 [설정 파일](https://code.claude.com/docs/ko/settings.md#where-settings-live)의 `env` 키를 확인합니다1325* 셸에 변수가 설정되어 있지 않다면 모든 세션에 환경 변수를 적용하는 [설정 파일](https://code.claude.com/docs/ko/settings.md#where-settings-live)의 `env` 키를 확인합니다
1308* 이 메시지와 다른 Remote Control 시작 메시지는 [Remote Control 문제 해결](https://code.claude.com/docs/ko/remote-control.md#troubleshooting)을 참조하십시오1326* 이 메시지와 기타 Remote Control 시작 메시지는 [Remote Control 문제 해결](https://code.claude.com/docs/ko/remote-control.md#troubleshooting)을 참조합니다
1309 1327
1310### Remote Control이 로그인을 갱신하지 못함1328### Remote Control이 로그인을 갱신하지 못함
1311 1329
1312Claude Code는 저장된 claude.ai 로그인을 사용하여 얻고 갱신하는 단기 자격 증명으로 실시간 [Remote Control](https://code.claude.com/docs/ko/remote-control.md) 연결을 유지합니다. claude.ai가 해당 로그인을 더 이상 받아들이지 않거나 Claude Code에 저장된 로그인이 남아 있지 않으면, Claude Code는 Remote Control을 중지하며 다시 로그인해야 합니다. 두 가지 실패 모두 Claude Code가 아직 연결 중일 때 또는 나중에 자격 증명을 갱신할 때 발생할 수 있습니다.1330Claude Code는 저장된 claude.ai 로그인을 사용해 얻고 갱신하는 단기 자격 증명으로 실시간 [Remote Control](https://code.claude.com/docs/ko/remote-control.md) 연결을 실행합니다. claude.ai가 해당 로그인을 더 이상 허용하지 않거나 Claude Code에 저장된 로그인이 남아 있지 않으면, Claude Code는 Remote Control을 중지하며 사용자가 다시 로그인해야 합니다. 두 실패 모두 Claude Code가 아직 연결 중일 때 또는 나중에 자격 증명을 갱신할 때 발생할 수 있습니다.
1313 1331
1314Claude Code가 로그인 서비스에 저장된 로그인 갱신을 요청했는데 응답을 받지 못하면, Remote Control을 계속 실행하면서 연결의 현재 자격 증명이 아직 유효한 동안 갱신을 다시 시도합니다. Claude Code가 로그인 서비스에 연결할 수 없거나, 요청이 시간 초과되거나, 서비스가 로그인을 거부하지 않은 채 실패하면 갱신에 대한 응답이 없는 것입니다. 해당 자격 증명이 만료될 때까지 로그인 서비스가 여전히 응답하지 않으면, Claude Code는 Remote Control을 중지하고 `OAuth token refresh failed`를 보고합니다.1332Claude Code가 로그인 서비스에 저장된 로그인 갱신을 요청했는데 응답을 받지 못하면, Remote Control을 계속 실행하면서 연결의 현재 자격 증명이 아직 유효한 동안 갱신을 다시 시도합니다. Claude Code가 로그인 서비스에 연결할 수 없거나, 요청이 시간 초과되거나, 서비스가 로그인을 거부하지 않은 채 실패하면 갱신에 대한 응답이 없는 것입니다. 해당 자격 증명이 만료될 때까지 로그인 서비스가 여전히 응답하지 않으면 Claude Code는 Remote Control을 중지하고 `OAuth token refresh failed`를 보고합니다.
1315 1333
1316Claude Code가 Remote Control을 중지하면 경고와 `Remote Control disconnected`로 시작하는 트랜스크립트 줄에 이유를 표시합니다. 로컬 세션은 Remote Control 없이 계속 실행됩니다. 이 섹션에서는 다음 줄을 다룹니다.1334Claude Code가 Remote Control을 중지하면 경고와 `Remote Control disconnected`로 시작하는 트랜스크립트 줄에 이유를 표시합니다. 로컬 세션은 Remote Control 없이 계속 실행됩니다. 이 섹션에서는 다음 줄을 다룹니다:
1317 1335
1318```text theme={null}1336```text theme={null}
1319Remote Control disconnected — Claude.ai login expired — run /login to restore Remote Control1337Remote Control disconnected — Claude.ai login expired — run /login to restore Remote Control
1325Remote Control disconnected — Signed out of Claude — run /login, then /remote-control1343Remote Control disconnected — Signed out of Claude — run /login, then /remote-control
1326```1344```
1327 1345
1328Claude Code는 메시지 중간에 원인을 표시합니다.1346Claude Code는 메시지 중간에 원인을 표시합니다:
1329 1347
1330* `Claude.ai login expired` 및 `Claude.ai login was rejected`: 저장된 로그인 토큰이 만료되었거나 폐기되어 claude.ai가 더 이상 받아들이지 않습니다1348* `Claude.ai login expired` 및 `Claude.ai login was rejected`: 저장된 로그인 토큰이 만료되었거나 취소되어 claude.ai가 더 이상 허용하지 않습니다
1331* `OAuth token unavailable`: 연결의 자격 증명을 갱신해야 할 때 Claude Code에 저장된 로그인 토큰이 없었습니다1349* `OAuth token unavailable`: 연결의 자격 증명을 갱신할 시점에 Claude Code에 저장된 로그인 토큰이 없었습니다
1332* `OAuth token refresh failed`: Claude Code가 다시 연결하는 동안 claude.ai가 저장된 로그인 토큰을 거부했고, 토큰을 갱신해도 새 토큰이 생성되지 않았습니다1350* `OAuth token refresh failed`: Claude Code가 다시 연결하는 동안 claude.ai가 저장된 로그인 토큰을 거부했고, 토큰을 갱신해도 새 토큰이 생성되지 않았습니다
1333* `JWT refresh failed: no OAuth token`: Claude Code가 갱신에 사용할 저장된 로그인 토큰을 찾지 못했습니다1351* `JWT refresh failed: no OAuth token`: Claude Code가 갱신에 사용할 저장된 로그인 토큰을 찾지 못했습니다
1334* `Signed out of Claude`: 예를 들어 다른 터미널에서 `/logout`을 실행하여 이 머신에서 로그아웃했기 때문에, Claude Code에 연결을 갱신할 저장된 로그인이 남아 있지 않습니다1352* `Signed out of Claude`: 예를 들어 다른 터미널에서 `/logout`을 실행하는 등 이 머신에서 로그아웃했으므로, Claude Code에 연결을 갱신할 저장된 로그인이 남아 있지 않습니다
1335 1353
1336**해결 방법:**1354**해결 방법:**
1337 1355
1340 1358
1341v2.1.224 이전에는 `OAuth token refresh failed — run /login to re-authenticate`가 `OAuth token refresh failed — re-authenticate, then re-enable Remote Control`로, `JWT refresh failed: no OAuth token — run /login`이 `no OAuth token available for recovery (code <N>)`로 표시되었습니다. `Claude.ai login expired`, `Claude.ai login was rejected`, `OAuth token unavailable` 메시지는 v2.1.225에서 추가되었습니다.1359v2.1.224 이전에는 `OAuth token refresh failed — run /login to re-authenticate`가 `OAuth token refresh failed — re-authenticate, then re-enable Remote Control`로, `JWT refresh failed: no OAuth token — run /login`이 `no OAuth token available for recovery (code <N>)`로 표시되었습니다. `Claude.ai login expired`, `Claude.ai login was rejected`, `OAuth token unavailable` 메시지는 v2.1.225에서 추가되었습니다.
1342 1360
1343v2.1.238 이전에는 현재 `Signed out of Claude`로 표시되는 경우를 Claude Code가 `JWT refresh failed: no OAuth token — run /login`으로 보고했으며, 로그인 갱신 요청 하나에 응답이 없으면 즉시 `Claude.ai login expired — run /login to restore Remote Control`과 함께 Remote Control을 중지했습니다.1361v2.1.238 이전에는 Claude Code가 현재 `Signed out of Claude`로 표시되는 경우를 `JWT refresh failed: no OAuth token — run /login`으로 보고했으며, 로그인 갱신에 한 번이라도 응답이 없으면 즉시 `Claude.ai login expired — run /login to restore Remote Control`과 함께 Remote Control을 중지했습니다.
1344 1362
1345### Remote Control could not renew this computer's connection1363### Remote Control could not renew this computer's connection
1346 1364
1347이 경고는 서버가 claude.ai 로그인을 사용하여 연결의 자격 증명이 만료되기 전에 갱신할 수 없을 때 [`claude remote-control`](https://code.claude.com/docs/ko/remote-control#start-a-remote-control-session)을 실행 중인 터미널에 나타납니다. 경고의 마지막 문장은 현재 자격 증명이 얼마나 더 유효한지, 또는 이미 만료되었는지를 알려 줍니다.1365서버가 claude.ai 로그인을 사용해 연결의 자격 증명이 만료되기 전에 갱신할 수 없을 때 [`claude remote-control`](https://code.claude.com/docs/ko/remote-control#start-a-remote-control-session)을 실행 중인 터미널에 이 경고가 표시됩니다. 경고의 마지막 문장은 현재 자격 증명이 얼마나 더 유효한지, 또는 이미 만료되었는지를 알려줍니다:
1348 1366
1349```text theme={null}1367```text theme={null}
1350Remote Control could not renew this computer's connection: claude.ai did not accept the sign-in it uses. Run `claude /login` to sign in again. The connection keeps working for about 26 hours; if it still cannot sign in then, it stops.1368Remote Control could not renew this computer's connection: claude.ai did not accept the sign-in it uses. Run `claude /login` to sign in again. The connection keeps working for about 26 hours; if it still cannot sign in then, it stops.
1352 1370
1353**해결 방법:**1371**해결 방법:**
1354 1372
1355* 경고에서 `claude /login`을 실행하라고 안내하면, 서버를 실행 중인 컴퓨터에서 다른 터미널을 열고 `claude /login`을 실행한 후 claude.ai 계정으로 로그인합니다1373* 경고가 `claude /login`을 실행하라고 안내하면 서버를 실행 중인 머신에서 다른 터미널을 열고 그곳에서 `claude /login`을 실행한 후 claude.ai 계정으로 로그인합니다
1356* 연결의 자격 증명이 만료된 후에도 서버가 로그인하지 못하면, `Poll: Authentication failed (401)`이 포함된 오류를 출력하고 중지됩니다. 경고의 두 번째 문장에 안내된 대로 다시 로그인한 후, 서버가 중지된 터미널에서 `claude remote-control`을 다시 실행합니다.1374* 연결의 자격 증명이 만료된 후에도 서버가 여전히 로그인할 수 없으면 `Poll: Authentication failed (401)`이 포함된 오류를 출력하고 중지됩니다. 경고의 두 번째 문장에 안내된 대로 다시 로그인한 후, 서버가 중지된 터미널에서 `claude remote-control`을 다시 실행합니다.
1357 1375
1358### 로그인된 계정이 변경되어 Remote Control이 중지됨1376### 로그인한 계정이 변경되어 Remote Control이 중지됨
1359 1377
1360[Remote Control](https://code.claude.com/docs/ko/remote-control.md) 세션 중에 이 머신에서 다른 claude.ai 계정이나 조직으로 로그인하면 Claude Code가 이 줄을 표시합니다. 예를 들어 다른 터미널에서 `/login`을 실행하는 등 Claude Code 세션 외부에서 전환한 경우입니다.1378이 머신에서 다른 claude.ai 계정이나 조직으로 로그인하면 [Remote Control](https://code.claude.com/docs/ko/remote-control.md) 세션 중에 Claude Code가 이 줄을 표시합니다. 예를 들어 다른 터미널에서 `/login`을 실행하는 등 Claude Code 세션 외부에서 전환한 경우입니다.
1361 1379
1362`/login`으로 로그인한 상태에서 시작한 Remote Control 세션은 당시 로그인되어 있던 claude.ai 계정과 조직에 속합니다.1380`/login`으로 로그인한 상태에서 시작한 Remote Control 세션은 시작 당시 로그인되어 있던 claude.ai 계정과 조직에 속합니다.
1363 1381
1364```text theme={null}1382```text theme={null}
1365Remote Control disconnected — signed-in claude.ai account or organization changed on this machine — run /remote-control to start a session for the current account, or /login to switch back, then /remote-control1383Remote Control disconnected — signed-in claude.ai account or organization changed on this machine — run /remote-control to start a session for the current account, or /login to switch back, then /remote-control
1366```1384```
1367 1385
1368Claude Code는 claude.ai가 계정이나 조직이 변경되었음을 확인하는 즉시 Remote Control 세션을 중지합니다. 로컬 세션은 Remote Control 없이 계속 실행됩니다.1386Claude Code는 claude.ai가 계정 또는 조직이 변경되었음을 확인하는 즉시 Remote Control 세션을 중지합니다. 로컬 세션은 Remote Control 없이 계속 실행됩니다.
1369 1387
1370**해결 방법:**1388**해결 방법:**
1371 1389
1372* `/remote-control`을 실행하여 현재 계정이나 조직으로 새 Remote Control 세션을 시작합니다1390* `/remote-control`을 실행하여 현재 계정 또는 조직으로 새 Remote Control 세션을 시작합니다
1373* 이전으로 되돌리려면 `/login`을 실행하고 이전 계정이나 조직으로 다시 로그인한 다음 `/remote-control`을 실행합니다.1391* 이전 상태로 되돌리려면 `/login`을 실행하고 이전 계정 또는 조직으로 다시 로그인합니다. 그런 다음 `/remote-control`을 실행합니다.
1374 1392
1375v2.1.234 이전에는 Claude Code 세션 외부에서 다른 계정이나 조직으로 전환해도 Claude Code가 이를 감지하지 못했습니다. Claude Code는 이후 Remote Control 서버에 대한 요청이 `Remote Control server rejected the request (HTTP 404)`로 실패할 때까지 Remote Control 세션을 연결된 상태로 유지했습니다. 이 실패는 전환 후 몇 시간 뒤에 발생할 수도 있었습니다.1393v2.1.234 이전에는 Claude Code 세션 외부에서 다른 계정이나 조직으로 전환해도 Claude Code가 이를 감지하지 못했습니다. Claude Code는 이후 Remote Control 서버에 대한 요청이 `Remote Control server rejected the request (HTTP 404)`로 실패할 때까지 Remote Control 세션을 연결된 상태로 유지했습니다. 이 실패는 전환 후 몇 시간이 지나서 발생할 수도 있었습니다.
1376 1394
1377### 세션을 실행하는 앱이 로그아웃하거나 계정을 전환하여 Remote Control이 중지됨1395### 세션을 실행하는 앱이 로그아웃하거나 계정을 전환하여 Remote Control이 중지됨
1378 1396
1379Claude 데스크톱 앱이나 IDE가 세션을 호스팅하는 경우, Claude Code는 `/login`이 아닌 해당 앱에서 로그인 토큰을 받습니다. claude.ai가 그 토큰을 거부하면 Claude Code는 앱에 새 토큰을 요청합니다. 앱이 로그아웃되어 있거나 이제 다른 Claude 계정으로 로그인되어 있다고 응답하면, Claude Code는 [Remote Control](https://code.claude.com/docs/ko/remote-control.md) 세션을 종료하고 앱에 다음 줄 중 하나를 보냅니다.1397Claude 데스크톱 앱이나 IDE가 세션을 호스팅하는 경우 Claude Code는 `/login`이 아닌 해당 앱에서 로그인 토큰을 받습니다. claude.ai가 해당 토큰을 거부하면 Claude Code는 앱에 새 토큰을 요청합니다. 앱이 로그아웃되었다고 응답하거나 이제 다른 Claude 계정으로 로그인되어 있다고 응답하면, Claude Code는 [Remote Control](https://code.claude.com/docs/ko/remote-control.md) 세션을 종료하고 앱에 다음 줄 중 하나를 보냅니다:
1380 1398
1381```text theme={null}1399```text theme={null}
1382Remote Control stopped — the app running this session is now signed in to a different Claude account1400Remote Control stopped — the app running this session is now signed in to a different Claude account
1387 1405
1388**해결 방법:**1406**해결 방법:**
1389 1407
1390* 앱이 로그아웃된 경우 앱에 다시 로그인한 다음, 앱에서 Remote Control을 다시 켭니다1408* 앱이 로그아웃된 경우 앱에 다시 로그인한 후 앱에서 Remote Control을 다시 켭니다
1391* 앱이 계정을 전환한 경우 Claude Code는 종료된 세션을 새 계정으로 이어갈 수 없습니다. 해당 계정으로 새 Remote Control 세션을 시작합니다.1409* 앱이 계정을 전환한 경우 Claude Code는 종료된 세션을 새 계정으로 이어갈 수 없습니다. 해당 계정으로 새 Remote Control 세션을 시작합니다.
1392 1410
1393v2.1.238 이전에는 두 경우 모두 Claude Code가 [Remote Control이 로그인을 갱신하지 못함](#remote-control-couldnt-refresh-your-login)에 나열된 `run /login` 메시지를 앱에 보냈습니다.1411v2.1.238 이전에는 두 경우 모두 Claude Code가 [Remote Control이 로그인을 갱신하지 못함](#remote-control-couldnt-refresh-your-login)에 나열된 `run /login` 메시지를 앱에 보냈습니다.
1394 1412
1395### OAuth 토큰이 폐기되었거나 만료됨1413### OAuth token revoked or expired
1396 1414
1397저장된 로그인이 더 이상 유효하지 않습니다. 토큰이 폐기되었다는 것은 모든 곳에서 로그아웃했거나 관리자가 액세스를 제거했다는 뜻이고, 토큰이 만료되었다는 것은 세션 도중 자동 갱신이 실패했다는 뜻입니다.1415저장된 로그인이 더 이상 유효하지 않습니다. 토큰이 취소되었다는 것은 모든 곳에서 로그아웃했거나 관리자가 액세스 권한을 제거했다는 뜻이고, 토큰이 만료되었다는 것은 세션 도중 자동 갱신이 실패했다는 뜻입니다.
1398 1416
1399두 메시지 모두 Claude Code가 보낸 요청에 대해 API가 반환한 거부를 보고합니다. 갱신 실패 후 저장된 로그인이 이미 삭제된 경우에는 대신 [로그인 만료](#login-expired)가 표시됩니다. [`CLAUDE_CODE_OAUTH_TOKEN`](https://code.claude.com/docs/ko/env-vars)의 장기 토큰으로 인증하는 경우에도 해당 토큰이 만료되거나 폐기되면 같은 메시지가 표시됩니다.1417두 메시지 모두 Claude Code가 보낸 요청에 대해 API가 반환한 거부를 보고합니다. 갱신 실패 후 저장된 로그인이 이미 삭제된 경우에는 대신 [Login expired](#login-expired)가 표시됩니다. [`CLAUDE_CODE_OAUTH_TOKEN`](https://code.claude.com/docs/ko/env-vars)의 장기 토큰으로 인증하는 경우, 해당 토큰이 만료되거나 취소되면 같은 메시지가 표시됩니다.
1400 1418
1401```text theme={null}1419```text theme={null}
1402OAuth token revoked · Please run /login1420OAuth token revoked · Please run /login
1403Please run /login · API Error: 401 OAuth token has expired ...1421Please run /login · API Error: 401 OAuth token has expired ...
1404```1422```
1405 1423
1406[비대화형 모드](https://code.claude.com/docs/ko/headless.md)(`-p`)와 [Agent SDK](https://code.claude.com/docs/ko/agent-sdk/overview.md)에서는 메시지가 다음과 같이 표시되며, 구조화된 오류 코드는 `authentication_failed`입니다.1424[비대화형 모드](https://code.claude.com/docs/ko/headless.md)(`-p`)와 [Agent SDK](https://code.claude.com/docs/ko/agent-sdk/overview.md)에서는 메시지가 다음과 같이 표시되며, 구조화된 오류 코드는 `authentication_failed`입니다:
1407 1425
1408```text theme={null}1426```text theme={null}
1409Failed to authenticate: OAuth token revoked. Please log in again or contact your administrator.1427Failed to authenticate: OAuth token revoked. Please log in again or contact your administrator.
1410Failed to authenticate. API Error: 401 OAuth token has expired ...1428Failed to authenticate. API Error: 401 OAuth token has expired ...
1411```1429```
1412 1430
1413v2.1.287 이전에는 비대화형 모드와 Agent SDK에서 폐기 메시지가 `Your account does not have access to Claude. Please login again or contact your administrator.`로 표시되었습니다.1431v2.1.287 이전에는 비대화형 모드와 Agent SDK에서 취소 메시지가 `Your account does not have access to Claude. Please login again or contact your administrator.`로 표시되었습니다.
1414 1432
1415**해결 방법:**1433**해결 방법:**
1416 1434
1417* Claude Code 프롬프트에서 `/login`을 실행하여 다시 로그인합니다1435* Claude Code 프롬프트에서 `/login`을 실행하여 다시 로그인합니다
1418* `-p` 명령이나 Agent SDK 프로그램이 저장된 로그인을 사용하는 경우, 같은 환경에서 `claude`를 실행하고 `/login`을 완료한 다음 명령이나 프로그램을 다시 실행합니다. 대화형으로 로그인할 수 없는 자동화의 경우 [`ANTHROPIC_API_KEY`](https://code.claude.com/docs/ko/env-vars)로 인증하거나 [`claude setup-token`으로 장기 토큰을 생성](https://code.claude.com/docs/ko/authentication#generate-a-long-lived-token)합니다.1436* `-p` 명령이나 Agent SDK 프로그램이 저장된 로그인을 사용한다면, 같은 환경에서 `claude`를 실행하고 `/login`을 완료한 후 명령이나 프로그램을 다시 실행합니다. 대화형으로 로그인할 수 없는 자동화의 경우 [`ANTHROPIC_API_KEY`](https://code.claude.com/docs/ko/env-vars)로 인증하거나 [`claude setup-token`으로 장기 토큰을 생성](https://code.claude.com/docs/ko/authentication#generate-a-long-lived-token)합니다.
1419* `CLAUDE_CODE_OAUTH_TOKEN` 환경 변수로 인증하는 경우, 요청이 401로 실패한 후에도 Claude Code는 저장된 로그인의 토큰으로 전환하지 않고 사용자가 설정한 값을 계속 보냅니다. [`/status`](https://code.claude.com/docs/ko/commands)는 이 자격 증명을 `CLAUDE_CODE_OAUTH_TOKEN`이라고 표시된 `Auth token` 행으로 보여줍니다. [`claude setup-token`](https://code.claude.com/docs/ko/authentication#generate-a-long-lived-token)으로 새 토큰을 생성하고 이를 사용해 다시 시작하거나, 변수를 해제하고 `/login`을 실행합니다. v2.1.225 이전에는 Claude Code가 세션 도중 변수의 값을 저장된 로그인의 단기 액세스 토큰으로 바꿀 수 있었고, 해당 토큰이 만료되면 세션이 다시 401 오류로 실패했습니다.1437* `CLAUDE_CODE_OAUTH_TOKEN` 환경 변수로 인증하는 경우, 요청이 401로 실패한 후에도 Claude Code는 저장된 로그인의 토큰으로 전환하지 않고 사용자가 설정한 값을 계속 보냅니다. [`/status`](https://code.claude.com/docs/ko/commands)는 이 자격 증명을 `CLAUDE_CODE_OAUTH_TOKEN`이라고 표시된 `Auth token` 행으로 보여줍니다. [`claude setup-token`](https://code.claude.com/docs/ko/authentication#generate-a-long-lived-token)으로 새 토큰을 생성하고 해당 토큰으로 다시 시작하거나, 변수 설정을 해제하고 `/login`을 실행합니다. v2.1.225 이전에는 Claude Code가 세션 도중 변수 값을 저장된 로그인의 단기 액세스 토큰으로 교체할 수 있었으며, 해당 토큰이 만료되면 세션이 다시 401 오류로 실패했습니다.
1420* 실행할 때마다 로그인을 반복적으로 요청받는 경우, [문제 해결](https://code.claude.com/docs/ko/troubleshoot-install.md#not-logged-in-or-token-expired)의 시스템 시계 확인 방법과 macOS 자격 증명 저장소 복구 단계를 참조하십시오1438* 실행할 때마다 반복적으로 로그인을 요청받는 경우 [문제 해결](https://code.claude.com/docs/ko/troubleshoot-install.md#not-logged-in-or-token-expired)의 시스템 시계 확인 및 macOS 자격 증명 저장소 복구 단계를 참조합니다
1421* `403 Forbidden` 및 OAuth 브라우저 문제를 포함한 기타 실패는 [로그인 및 인증](https://code.claude.com/docs/ko/troubleshoot-install.md#login-and-authentication)을 참조하십시오1439* `403 Forbidden` 및 OAuth 브라우저 문제를 포함한 기타 실패는 [로그인 및 인증](https://code.claude.com/docs/ko/troubleshoot-install.md#login-and-authentication)을 참조합니다
1422 1440
1423### API Error: 401 Invalid authentication credentials1441### API Error: 401 Invalid authentication credentials
1424 1442
1425API가 자격 증명의 형식은 인식했지만 그 뒤에 있는 계정이나 조직을 거부했습니다. Anthropic은 자격 증명이 최근에 폐기되었거나, 조직이 비활성화되었거나 사용자의 액세스를 제거했거나, 계정 자체가 비활성화되었을 때 이 메시지를 반환하므로, 만료된 토큰은 원인이 아닙니다. 자격 증명은 저장된 로그인이거나 승인된 `ANTHROPIC_API_KEY`일 수 있으며 해결 방법이 다르므로, 먼저 `/status`를 실행하여 어떤 자격 증명이 활성 상태인지 확인하십시오.1443API가 자격 증명의 형식은 인식했지만 그 뒤에 있는 계정이나 조직을 거부했습니다. Anthropic은 자격 증명이 최근에 취소되었거나, 조직이 비활성화되었거나 사용자의 액세스 권한을 제거했거나, 계정 자체가 비활성화된 경우 이 메시지를 반환하므로 토큰 만료가 원인은 아닙니다. 자격 증명은 저장된 로그인일 수도 있고 승인된 `ANTHROPIC_API_KEY`일 수도 있으며 해결 방법이 다르므로, 먼저 `/status`를 실행하여 어느 것이 활성 상태인지 확인합니다.
1426 1444
1427```text theme={null}1445```text theme={null}
1428Please run /login · API Error: 401 Invalid authentication credentials1446Please run /login · API Error: 401 Invalid authentication credentials
1430 1448
1431**해결 방법:**1449**해결 방법:**
1432 1450
1433* `/status`에 사용되지 않음으로 표시되지 않은 `API key` 행이 있다면, 승인된 [`ANTHROPIC_API_KEY`](https://code.claude.com/docs/ko/authentication#authentication-precedence)가 활성 자격 증명이며 로그인보다 우선하므로 `/login`으로 대체되지 않습니다. Claude Console에서 키를 교체하거나, `unset ANTHROPIC_API_KEY`(PowerShell에서는 `Remove-Item Env:ANTHROPIC_API_KEY`)를 실행하여 구독으로 전환합니다.1451* `/status`에 사용 중이 아님으로 표시되지 않은 `API key` 행이 있으면, 승인된 [`ANTHROPIC_API_KEY`](https://code.claude.com/docs/ko/authentication#authentication-precedence)가 활성 자격 증명이며 로그인보다 우선하므로 `/login`으로 대체되지 않습니다. Claude Console에서 키를 교체하거나, `unset ANTHROPIC_API_KEY`(PowerShell에서는 `Remove-Item Env:ANTHROPIC_API_KEY`)를 실행하여 구독으로 돌아갑니다.
1434* `/status`에 로그인만 표시된다면 `/login`을 한 번 실행합니다. 자격 증명이 폐기된 경우 새 로그인이 이를 대체합니다.1452* `/status`에 로그인만 표시되면 `/login`을 한 번 실행합니다. 자격 증명이 취소된 경우 새 로그인이 이를 대체합니다.
1435* 같은 로그인 계정에 대해 같은 메시지가 다시 나타나면 계정이나 조직이 더 이상 활성 상태가 아닙니다. `/status`가 보고하는 계정과 조직을 확인하고, 조직 관리자에게 액세스 복원을 요청합니다.1453* 같은 로그인 계정에 대해 같은 메시지가 다시 나타나면 계정이나 조직이 더 이상 활성 상태가 아닙니다. `/status`에 표시된 계정과 조직을 확인하고 조직 관리자에게 액세스 권한 복원을 요청합니다.
1436* [`ANTHROPIC_BASE_URL`](https://code.claude.com/docs/ko/env-vars)이 [LLM 게이트웨이](https://code.claude.com/docs/ko/llm-gateway)를 가리키는 경우, `401` 뒤의 텍스트는 Anthropic이 아닌 게이트웨이의 메시지이며 `/login`으로 바뀌지 않습니다. 대신 게이트웨이가 요구하는 자격 증명을 수정합니다.1454* [`ANTHROPIC_BASE_URL`](https://code.claude.com/docs/ko/env-vars)이 [LLM 게이트웨이](https://code.claude.com/docs/ko/llm-gateway)를 가리키는 경우, `401` 뒤의 텍스트는 Anthropic이 아닌 게이트웨이의 메시지이며 `/login`으로 바뀌지 않습니다. 대신 게이트웨이가 기대하는 자격 증명을 수정합니다.
1437* 게이트웨이에 기대하는 자격 증명이 있는데도 모든 요청이 `401`로 실패한다면, 게이트웨이와 그 업스트림이 [도구 검색](https://code.claude.com/docs/ko/mcp.md#tool-search-through-a-gateway) 필드를 허용하는지 확인합니다. 기본적으로 Claude Code는 `defer_loading` 도구 필드와 `tool_reference` 블록을 이를 활성화하는 `anthropic-beta` 헤더와 함께 보냅니다. v2.1.304 이전에는 `ENABLE_TOOL_SEARCH`로 켜지 않는 한 게이트웨이 뒤에서 도구 검색이 꺼져 있었습니다.1455* 게이트웨이가 기대하는 자격 증명을 받은 후에도 모든 요청이 `401`로 실패한다면, 게이트웨이와 그 업스트림이 [도구 검색](https://code.claude.com/docs/ko/mcp.md#tool-search-through-a-gateway) 필드를 허용하는지 확인합니다. 기본적으로 Claude Code는 `defer_loading` 도구 필드와 `tool_reference` 블록을 이를 활성화하는 `anthropic-beta` 헤더와 함께 보냅니다. v2.1.304 이전에는 `ENABLE_TOOL_SEARCH`로 켠 경우를 제외하고 게이트웨이 뒤에서는 도구 검색이 꺼져 있었습니다.
1438 1456
1439### 로그인 만료1457### Login expired
1440 1458
1441Claude Code가 저장된 claude.ai 로그인을 갱신하려고 했지만 OAuth 서비스가 저장된 갱신 토큰을 거부했기 때문에, Claude Code가 저장된 자격 증명을 삭제했습니다. 그 이후 각 모델 요청은 API에 도달하기 전에 로컬에서 이 메시지와 함께 중단됩니다. 새 자격 증명은 `/login`으로만 만들 수 있기 때문입니다.1459Claude Code가 저장된 claude.ai 로그인을 갱신하려 했지만 OAuth 서비스가 저장된 갱신 토큰을 거부하여, Claude Code가 저장된 자격 증명을 삭제했습니다. 그 이후로는 `/login`만 새 자격 증명을 만들 수 있으므로, 각 모델 요청이 API에 도달하기 전에 로컬에서 이 메시지와 함께 중단됩니다.
1442 1460
1443v2.1.206 이전에는 Claude Code가 환경에 남아 있는 자격 증명으로 모델 요청을 그대로 보냈으며, 모든 모델이 로그인 안내 대신 [선택한 모델에 문제가 있음](#theres-an-issue-with-the-selected-model) 또는 401로 실패했습니다.1461v2.1.206 이전에는 Claude Code가 환경에 남아 있는 자격 증명으로 모델 요청을 그대로 보냈고, 그 결과 로그인 안내 대신 모든 모델이 [There's an issue with the selected model](#theres-an-issue-with-the-selected-model) 또는 401로 실패했습니다.
1444 1462
1445```text theme={null}1463```text theme={null}
1446Login expired · Please run /login1464Login expired · Please run /login
1447```1465```
1448 1466
1449[비대화형 모드](https://code.claude.com/docs/ko/headless.md)(`-p`)와 [Agent SDK](https://code.claude.com/docs/ko/agent-sdk/overview.md)에서는 메시지가 다음과 같이 표시되며, 구조화된 오류 코드는 `authentication_failed`입니다.1467[비대화형 모드](https://code.claude.com/docs/ko/headless.md)(`-p`)와 [Agent SDK](https://code.claude.com/docs/ko/agent-sdk/overview.md)에서는 메시지가 다음과 같이 표시되며, 구조화된 오류 코드는 `authentication_failed`입니다:
1450 1468
1451```text theme={null}1469```text theme={null}
1452Failed to authenticate: OAuth session expired and could not be refreshed1470Failed to authenticate: OAuth session expired and could not be refreshed
1454 1472
1455`or re-authenticate your Anthropic profile`로 끝나는 `Login expired` 메시지는 [Anthropic profile login expired](#anthropic-profile-login-expired)를 참조합니다.1473`or re-authenticate your Anthropic profile`로 끝나는 `Login expired` 메시지는 [Anthropic profile login expired](#anthropic-profile-login-expired)를 참조합니다.
1456 1474
1457이는 [OAuth 토큰이 폐기되었거나 만료됨](#oauth-token-revoked-or-expired)과 같은 상태가 아닙니다. 해당 메시지는 API가 반환한 거부를 보고합니다. `Login expired`는 이미 갱신에 실패한 로그인에 대해 Claude Code 자체가 생성하는 메시지이므로 요청을 보내지 않습니다. 로그인이 오래되어서가 아니라 계정 자체가 정지되어 갱신이 실패한 경우, Claude Code는 대신 [계정이 보류 상태임](#your-account-is-on-hold)을 표시합니다.1475이는 [OAuth token revoked or expired](#oauth-token-revoked-or-expired)와 같은 상태가 아닙니다. 해당 메시지는 API가 반환한 거부를 보고합니다. `Login expired`는 이미 갱신에 실패한 로그인에 대해 Claude Code 자체가 생성하므로 요청을 보내지 않습니다. 로그인이 오래되어서가 아니라 계정 자체가 정지되어 갱신이 실패한 경우에는 Claude Code가 대신 [Your account is on hold](#your-account-is-on-hold)를 표시합니다.
1458 1476
1459요청이 실패하기 전에 이 상태를 확인할 수 있습니다. [`/status`](https://code.claude.com/docs/ko/commands)에 `Expired — log in again`이라고 표시된 `Login` 행과 함께, 만료된 로그인에 대해 저장된 조직과 이메일이 표시됩니다. 이 행은 저장된 로그인이 활성 자격 증명이고 더 이상 갱신할 수 없을 때만 나타납니다. 다른 방식으로 인증된 세션에서는 만료된 로그인이 저장되어 있더라도 이 행이 표시되지 않습니다. v2.1.210 이전에는 자격 증명이 삭제되어 보고할 내용이 없었기 때문에, 이 상태에서 `/status`가 로그인이 존재했었다는 어떤 표시도 하지 않았습니다.1477요청이 실패하기 전에 이 상태를 확인할 수 있습니다. [`/status`](https://code.claude.com/docs/ko/commands)에 `Expired — log in again`이라고 표시된 `Login` 행과 함께, 만료된 로그인에 대해 저장된 조직과 이메일이 표시됩니다. 이 행은 저장된 로그인이 활성 자격 증명이고 더 이상 갱신할 수 없는 경우에만 나타납니다. 다른 방식으로 인증된 세션에서는 만료된 로그인이 저장되어 남아 있더라도 이 행이 표시되지 않습니다. v2.1.210 이전에는 자격 증명이 삭제되어 보고할 내용이 없었으므로, 이 상태에서 `/status`에 로그인이 존재했었다는 표시가 전혀 없었습니다.
1460 1478
1461**해결 방법:**1479**해결 방법:**
1462 1480
1463* `/login`을 실행하여 다시 로그인합니다. 로그인하지 않고 재시도하면 모든 요청에서 같은 메시지가 표시됩니다.1481* `/login`을 실행하여 다시 로그인합니다. 로그인하지 않고 재시도하면 모든 요청에서 같은 메시지가 표시됩니다.
1464* 다른 Claude Code 창에서 claude.ai 계정으로 로그인하는 경우, 이 세션이 언제 자동으로 해당 로그인을 사용하기 시작하는지는 [로그인되지 않음](#not-logged-in)을 참조하십시오.1482* 다른 Claude Code 창에서 claude.ai 계정으로 로그인하는 경우, 이 세션이 언제 자동으로 해당 로그인을 사용하기 시작하는지는 [Not logged in](#not-logged-in)을 참조합니다.
1465* 비대화형 모드에서는 같은 환경에서 `claude`를 실행하고 `/login`을 완료한 다음 명령을 다시 실행합니다. 대화형으로 로그인할 수 없는 자동화의 경우 `ANTHROPIC_API_KEY`로 인증하거나 [`claude setup-token`으로 장기 토큰을 생성](https://code.claude.com/docs/ko/authentication#generate-a-long-lived-token)합니다.1483* 비대화형 모드에서는 같은 환경에서 `claude`를 실행하고 `/login`을 완료한 후 명령을 다시 실행합니다. 대화형으로 로그인할 수 없는 자동화의 경우 `ANTHROPIC_API_KEY`로 인증하거나 [`claude setup-token`으로 장기 토큰을 생성](https://code.claude.com/docs/ko/authentication#generate-a-long-lived-token)합니다.
1466* 로그인이 계속 실패하면 [로그인 및 인증](https://code.claude.com/docs/ko/troubleshoot-install.md#login-and-authentication)을 참조하십시오1484* 로그인이 계속 실패하면 [로그인 및 인증](https://code.claude.com/docs/ko/troubleshoot-install.md#login-and-authentication)을 참조합니다
1467 1485
1468### 다른 Claude Code 프로세스가 갱신 중이어서 로그인을 갱신할 수 없음1486### Could not refresh your login because another Claude Code process is refreshing it
1469 1487
1470이 메시지는 로그인이 거부되었다는 뜻이 아닙니다. 저장된 claude.ai 로그인이 만료되어 갱신이 필요했습니다. 같은 머신의 다른 Claude Code 프로세스가 공유 갱신 잠금을 보유하고 있었거나 잠금을 남긴 채 종료되었고, 이 세션이 기다리는 동안 갱신이 진행되지 않았습니다. Claude Code는 요청을 보내기 전에 중단합니다.1488이 메시지는 로그인이 거부되었다는 뜻이 아닙니다. 저장된 claude.ai 로그인이 만료되어 갱신이 필요했습니다. 같은 머신의 다른 Claude Code 프로세스가 공유 갱신 잠금을 보유하고 있었거나 잠금을 남겨둔 채 종료되었고, 이 세션이 기다리는 동안 갱신이 진행되지 않았습니다. Claude Code는 요청을 보내기 전에 중단합니다:
1471 1489
1472```text theme={null}1490```text theme={null}
1473Could not refresh your login because another Claude Code process is refreshing it (or exited mid-refresh) · Try again in a minute; if it keeps happening, close other Claude Code windows or sign in again with /login1491Could not refresh your login because another Claude Code process is refreshing it (or exited mid-refresh) · Try again in a minute; if it keeps happening, close other Claude Code windows or sign in again with /login
1474```1492```
1475 1493
1476[비대화형 모드](https://code.claude.com/docs/ko/headless.md)(`-p`)와 [Agent SDK](https://code.claude.com/docs/ko/agent-sdk/overview.md)에서는 메시지가 다음과 같이 표시되며, 구조화된 오류 코드는 `server_error`입니다.1494[비대화형 모드](https://code.claude.com/docs/ko/headless.md)(`-p`)와 [Agent SDK](https://code.claude.com/docs/ko/agent-sdk/overview.md)에서는 메시지가 다음과 같이 표시되며, 구조화된 오류 코드는 `server_error`입니다:
1477 1495
1478```text theme={null}1496```text theme={null}
1479Failed to refresh OAuth token: another Claude Code process is refreshing it or exited mid-refresh. This is usually transient; retry in a minute, and if it persists close other Claude Code processes or sign in again1497Failed to refresh OAuth token: another Claude Code process is refreshing it or exited mid-refresh. This is usually transient; retry in a minute, and if it persists close other Claude Code processes or sign in again
1482**해결 방법:**1500**해결 방법:**
1483 1501
1484* 1분 후에 다시 시도합니다. 다른 프로세스가 먼저 갱신을 완료하면 이 세션은 갱신된 로그인을 사용합니다.1502* 1분 후에 다시 시도합니다. 다른 프로세스가 먼저 갱신을 완료하면 이 세션은 갱신된 로그인을 사용합니다.
1485* 메시지가 계속 나타나면 다른 Claude Code 창과 프로세스를 닫은 다음 재시도합니다.1503* 메시지가 계속 나타나면 다른 Claude Code 창과 프로세스를 닫은 후 다시 시도합니다.
1486* 다른 Claude Code 프로세스가 실행되고 있지 않은데도 메시지가 나타나면 `/login`을 실행합니다. 다시 로그인하는 것은 갱신 잠금을 기다리지 않습니다.1504* 실행 중인 다른 Claude Code 프로세스가 없는데도 메시지가 나타나면 `/login`을 실행합니다. 다시 로그인하는 작업은 갱신 잠금을 기다리지 않습니다.
1487 1505
1488### Could not refresh your login: the disk that holds the Claude Code config directory is full1506### Could not refresh your login: the disk that holds the Claude Code config directory is full
1489 1507
1490Claude Code 구성 디렉터리가 있는 디스크의 공간을 확보한 다음 메시지를 다시 보냅니다. 디스크가 가득 찬 동안에는 새 로그인을 저장할 수 없으므로 다시 로그인해도 도움이 되지 않습니다. [`CLAUDE_CONFIG_DIR`](https://code.claude.com/docs/ko/env-vars)을 설정하지 않았다면 구성 디렉터리는 홈 디렉터리의 `~/.claude`입니다.1508Claude Code 구성 디렉터리가 있는 디스크의 공간을 확보한 후 메시지를 다시 보냅니다. 디스크가 가득 찬 동안에는 새 로그인을 저장할 수 없으므로 다시 로그인해도 도움이 되지 않습니다. [`CLAUDE_CONFIG_DIR`](https://code.claude.com/docs/ko/env-vars)을 설정한 경우를 제외하고 구성 디렉터리는 홈 디렉터리의 `~/.claude`입니다.
1491 1509
1492```text wrap theme={null}1510```text wrap theme={null}
1493Could not refresh your login: the disk that holds the Claude Code config directory (~/.claude by default), or your disk quota on it, is full · Delete files you no longer need on that disk, then try again · Signing in again won't help1511Could not refresh your login: the disk that holds the Claude Code config directory (~/.claude by default), or your disk quota on it, is full · Delete files you no longer need on that disk, then try again · Signing in again won't help
1501 1519
1502**해결 방법:**1520**해결 방법:**
1503 1521
1504* 스크립트의 경우 해당 `claude -p` 명령을 다시 실행합니다1522* 스크립트의 경우 해당 스크립트의 `claude -p` 명령을 다시 실행합니다
1505* 디스크에 이미 여유 공간이 있다면, 디스크 할당량이나 inode가 부족한 경우에도 같은 메시지가 표시됩니다. 해당 디스크에서 본인의 파일을 삭제합니다. 메시지가 다시 나타나면, 각 파일은 크기와 관계없이 inode를 하나씩 사용하므로 큰 파일 몇 개보다 작은 파일 여러 개를 삭제합니다.1523* 디스크에 이미 여유 공간이 있다면, 디스크 할당량이나 inode가 부족해도 같은 메시지가 나타납니다. 해당 디스크에서 자신의 파일을 삭제합니다. 메시지가 다시 나타나면 큰 파일 몇 개보다 작은 파일 여러 개를 삭제합니다. 각 파일은 크기와 관계없이 inode를 하나씩 차지하기 때문입니다.
1506 1524
1507### 로그인을 저장할 수 없음1525### Couldn't save your login
1508 1526
1509claude.ai로 로그인했지만 Claude Code가 로그인을 자격 증명 저장소에 저장할 수 없어 로그인이 완료되지 않았습니다. macOS에서는 같은 세션 중에 Claude Code가 이미 로그인 키체인에서 자격 증명을 읽거나 저장한 후, 예를 들어 잠자기나 유휴 상태로 인해 키체인이 잠기면 이 문제가 발생할 수 있습니다.1527claude.ai로 로그인했지만 Claude Code가 로그인을 자격 증명 저장소에 저장하지 못해 로그인이 완료되지 않았습니다. macOS에서는 같은 세션 중에 Claude Code가 이미 로그인 키체인에서 자격 증명을 읽거나 저장한 후, 예를 들어 절전이나 유휴 상태로 인해 키체인이 잠기면 이런 일이 발생할 수 있습니다.
1510 1528
1511```text theme={null}1529```text theme={null}
1512Couldn't save your login. If your Mac's keychain is locked, unlock it and log in again.1530Couldn't save your login. If your Mac's keychain is locked, unlock it and log in again.
1513Couldn't save your login. Try logging in again.1531Couldn't save your login. Try logging in again.
1514```1532```
1515 1533
1516첫 번째 형태는 macOS에서, 두 번째 형태는 그 밖의 모든 환경에서 표시됩니다. 시간 초과나 읽을 수 없는 저장소 같은 일시적인 자격 증명 저장소 실패도 같은 메시지를 생성합니다.1534첫 번째 형태는 macOS에서, 두 번째 형태는 그 외 모든 환경에서 나타납니다. 타임아웃이나 읽을 수 없는 저장소 같은 일시적인 자격 증명 저장소 실패도 같은 메시지를 생성합니다.
1517 1535
1518**해결 방법:**1536**해결 방법:**
1519 1537
1520* macOS에서는 로그인 키체인의 잠금을 해제한 다음 `/login`을 다시 실행합니다1538* macOS에서는 로그인 키체인의 잠금을 해제한 후 `/login`을 다시 실행합니다
1521* 다른 플랫폼에서는 `/login`을 다시 실행합니다1539* 다른 플랫폼에서는 `/login`을 다시 실행합니다
1522* 로그인이 여전히 저장되지 않으면, 키체인 잠금 해제 명령과 기타 자격 증명 저장소 복구 단계는 [로그인되지 않음 또는 토큰 만료](https://code.claude.com/docs/ko/troubleshoot-install.md#not-logged-in-or-token-expired)를 참조하십시오1540* 그래도 로그인이 저장되지 않으면 키체인 잠금 해제 명령과 기타 자격 증명 저장소 복구 단계는 [Not logged in or token expired](https://code.claude.com/docs/ko/troubleshoot-install.md#not-logged-in-or-token-expired)를 참조합니다
1523 1541
1524### Sign in again to take your previous account or API key off the config file1542### Sign in again to take your previous account or API key off the config file
1525 1543
1526로그인 후 나타나는 이 경고는 이전에 로그인했던 계정이 [`~/.claude.json`](https://code.claude.com/docs/ko/claude-directory#ce-claude-json)에 여전히 저장되어 있을 수 있음을 의미합니다.1544로그인 후 이 경고가 표시되면 이전에 로그인했던 계정이 [`~/.claude.json`](https://code.claude.com/docs/ko/claude-directory#ce-claude-json)에 여전히 저장되어 있을 수 있다는 뜻입니다:
1527 1545
1528```text theme={null}1546```text theme={null}
1529Sign in again to take your previous account or API key off the config file.1547Sign in again to take your previous account or API key off the config file.
1530```1548```
1531 1549
1532Linux 또는 Windows에서 Console 로그인이 API 키를 생성한 경우, 해당 API 키도 `~/.claude.json`에 남아 있을 수 있습니다.1550Linux 또는 Windows에서 Console 로그인으로 API 키가 생성된 경우 API 키도 `~/.claude.json`에 남아 있을 수 있습니다.
1533 1551
1534**해결 방법:**1552**해결 방법:**
1535 1553
1536* 셸에서 `claude auth login`을 실행하여 다시 로그인합니다. 그러면 Claude Code가 교체된 계정이나 API 키를 파일에서 제거하는 저장을 다시 시도합니다.1554* 셸에서 `claude auth login`을 실행하여 다시 로그인합니다. 그러면 Claude Code가 교체된 계정이나 API 키를 파일에서 제거하는 저장 작업을 다시 시도합니다.
1537 1555
1538### Your account or API key may still be in the config file1556### Your account or API key may still be in the config file
1539 1557
1540`/logout` 또는 `claude auth logout`을 실행했고 Claude Code가 이 프로세스를 로그아웃했지만, [`~/.claude.json`](https://code.claude.com/docs/ko/claude-directory#ce-claude-json)에 더 이상 계정이 없는지 확인할 수 없었습니다. 저장이 반영되지 않았거나, 확인을 위해 파일을 다시 읽을 수 없었습니다.1558`/logout` 또는 `claude auth logout`을 실행했고 Claude Code가 이 프로세스에서 로그아웃했지만, [`~/.claude.json`](https://code.claude.com/docs/ko/claude-directory#ce-claude-json)에 더 이상 계정이 포함되어 있지 않은지 확인하지 못했습니다. 저장이 반영되지 않았거나, 확인을 위해 파일을 다시 읽을 수 없었습니다.
1541 1559
1542```text theme={null}1560```text theme={null}
1543Your account or API key may still be in the config file. Run claude auth logout.1561Your account or API key may still be in the config file. Run claude auth logout.
1544```1562```
1545 1563
1546Linux 또는 Windows에서 Console 로그인이 API 키를 생성한 경우, 해당 API 키도 `~/.claude.json`에 남아 있을 수 있습니다.1564Linux 또는 Windows에서 Console 로그인으로 API 키가 생성된 경우 API 키도 `~/.claude.json`에 남아 있을 수 있습니다.
1547 1565
1548**해결 방법:**1566**해결 방법:**
1549 1567
1551 1569
1552### Couldn't start the local listener that receives the browser sign-in1570### Couldn't start the local listener that receives the browser sign-in
1553 1571
1554`/login`, `claude auth login` 또는 `claude setup-token`에서 표시되는 다음 메시지들은 모두 Claude Code가 브라우저가 로그인 결과를 반환하는 `127.0.0.1`의 포트를 열 수 없었다는 의미입니다.1572`/login`, `claude auth login` 또는 `claude setup-token`에서 표시되는 다음 메시지는 모두 브라우저가 로그인 결과를 반환하는 `127.0.0.1`의 포트를 Claude Code가 열 수 없었다는 뜻입니다.
1555 1573
1556`The browser can't return the sign-in to Claude Code automatically`로 시작하는 알림이 표시되면, 로그인은 해당 포트 없이 계속 진행됩니다. 브라우저는 열리지 않으며, 알림은 대신 로그인할 URL 위에 표시됩니다.1574`The browser can't return the sign-in to Claude Code automatically`로 시작하는 안내가 표시되면, 로그인은 해당 포트 없이 계속 진행됩니다. 브라우저가 열리지 않으며, 대신 로그인할 URL 위에 안내가 표시됩니다:
1557 1575
1558```text wrap theme={null}1576```text wrap theme={null}
1559The browser can't return the sign-in to Claude Code automatically. After you sign in, paste the code shown.1577The browser can't return the sign-in to Claude Code automatically. After you sign in, paste the code shown.
1560```1578```
1561 1579
1562`Couldn't start the local listener`가 포함된 메시지가 표시되면 로그인이 중단된 것입니다. 예를 들어 `claude auth login`에 입력을 파이프로 전달하는 경우 이런 일이 발생합니다.1580`Couldn't start the local listener`가 포함된 메시지가 표시되면 로그인이 중단된 것입니다. 예를 들어 `claude auth login`에 입력을 파이프로 전달하는 경우 이런 일이 발생합니다:
1563 1581
1564```text theme={null}1582```text theme={null}
1565Couldn't start the local listener that receives the browser sign-in. Try again.1583Couldn't start the local listener that receives the browser sign-in. Try again.
1567 1585
1568**해결 방법:**1586**해결 방법:**
1569 1587
1570* **`The browser can't return the sign-in to Claude Code automatically`**: 먼저 수정할 것은 없습니다. 알림 아래에 표시된 URL을 브라우저에서 열고 로그인합니다. 그러면 브라우저에 코드가 표시됩니다. `Paste code here >` 프롬프트에서 Claude Code에 코드를 붙여 넣으면 로그인이 계속 진행됩니다.1588* **`The browser can't return the sign-in to Claude Code automatically`**: 먼저 수정할 것은 없습니다. 안내 아래에 표시된 URL을 브라우저에서 열고 로그인합니다. 그러면 브라우저에 코드가 표시됩니다. `Paste code here >` 프롬프트에서 Claude Code에 코드를 붙여넣으면 로그인이 이어서 진행됩니다.
1571* **`Couldn't start the local listener that receives the browser sign-in`**: 같은 명령을 다시 실행합니다. 같은 방식으로 중단되면 브라우저 대신 토큰이나 API 키로 로그인합니다. 또는 `claude auth login`에 입력을 파이프로 전달했다면, 붙여 넣은 코드를 받을 수 있도록 터미널에서 실행합니다.1589* **`Couldn't start the local listener that receives the browser sign-in`**: 같은 명령을 다시 실행합니다. 같은 방식으로 중단되면 브라우저 대신 토큰이나 API 키로 로그인합니다. 또는 `claude auth login`에 입력을 파이프로 전달했다면, 붙여넣은 코드를 받을 수 있도록 터미널에서 실행합니다.
1572* **브라우저 대신 토큰이나 API 키로 로그인하려면**: claude.ai 구독을 사용한다면 로그인이 작동하는 머신에서 [`claude setup-token`](https://code.claude.com/docs/ko/authentication#generate-a-long-lived-token)을 실행합니다. 그런 다음 출력된 토큰을 이 머신에서 [`CLAUDE_CODE_OAUTH_TOKEN`](https://code.claude.com/docs/ko/env-vars) 환경 변수로 설정합니다. 그렇지 않다면 `ANTHROPIC_API_KEY` 환경 변수를 [Claude Console](https://platform.claude.com/settings/keys)의 키로 설정합니다. [인증 우선순위](https://code.claude.com/docs/ko/authentication.md#authentication-precedence)에서 Claude Code가 자격 증명 중 무엇을 선택하는지 설명합니다.1590* **브라우저 대신 토큰이나 API 키로 로그인하려면**: claude.ai 구독을 사용하는 경우 로그인이 작동하는 머신에서 [`claude setup-token`](https://code.claude.com/docs/ko/authentication#generate-a-long-lived-token)을 실행합니다. 그런 다음 출력된 토큰을 이 머신의 [`CLAUDE_CODE_OAUTH_TOKEN`](https://code.claude.com/docs/ko/env-vars) 환경 변수로 설정합니다. 그렇지 않으면 `ANTHROPIC_API_KEY` 환경 변수를 [Claude Console](https://platform.claude.com/settings/keys)의 키로 설정합니다. Claude Code가 여러 자격 증명 중 무엇을 선택하는지는 [인증 우선순위](https://code.claude.com/docs/ko/authentication.md#authentication-precedence)에서 설명합니다.
1573* **브라우저 자동 반환을 다시 사용하려면**: Claude Code가 `127.0.0.1`에서 수신 대기할 수 있어야 합니다. 샌드박스 안에서 실행 중이라면 샌드박스 정책이 로컬 포트 수신 대기를 허용하는지 확인한 다음 다시 로그인합니다. 수신 대기가 가능해야 하는 환경인데도 알림이 계속 표시된다면, 보고서에 환경 세부 정보가 포함되도록 `/feedback`을 실행합니다.1591* **자동 브라우저 반환을 다시 사용하려면**: Claude Code가 `127.0.0.1`에서 수신 대기할 수 있어야 합니다. 샌드박스 안에서 실행되는 경우 샌드박스 정책이 로컬 포트에서의 수신 대기를 허용하는지 확인한 후 다시 로그인합니다. 해당 환경에서 수신 대기가 작동해야 하는데도 안내가 계속 표시되면, 보고서에 환경 세부 정보가 포함되도록 `/feedback`을 실행합니다.
1574 1592
1575v2.1.305 이전에는 포트를 열 수 없으면 즉시 로그인이 중단되었고 로그인할 URL도 표시되지 않았습니다. 메시지는 예를 들어 `Failed to start OAuth callback server: Failed to start server. Is port 0 in use?`와 같았습니다. 해당 버전에서는 Claude Code를 업데이트하고 다시 로그인하거나, 브라우저 대신 토큰이나 API 키로 로그인하십시오.1593v2.1.305 이전에는 포트를 열 수 없으면 로그인이 즉시 중단되었고 로그인할 URL이 표시되지 않았습니다. 예를 들어 메시지는 `Failed to start OAuth callback server: Failed to start server. Is port 0 in use?`와 같았습니다. 해당 버전에서는 Claude Code를 업데이트하고 다시 로그인하거나, 브라우저 대신 토큰이나 API 키로 로그인합니다.
1576 1594
1577### Claude 로그인이 수락되지 않음1595### Claude login not accepted
1578 1596
1579[클라우드 세션](https://code.claude.com/docs/ko/claude-code-on-the-web.md)을 시작하려고 했지만 서버가 401로 세션 생성을 거부했습니다. 서버가 이 머신이 보낸 Claude 로그인을 받아들이지 않았으며, 보통 로그인이 만료되었거나 폐기되었기 때문입니다.1597[클라우드 세션](https://code.claude.com/docs/ko/claude-code-on-the-web.md)을 시작하려 했지만 서버가 401로 세션 생성을 거부했습니다. 일반적으로 로그인이 만료되었거나 취소되어, 서버가 이 머신이 보낸 Claude 로그인을 허용하지 않은 것입니다.
1580 1598
1581줄의 첫 부분은 서버가 이유를 제공하는 경우 서버 자체의 이유입니다. 그렇지 않으면 다음과 같이 표시됩니다.1599서버가 이유를 제공하면 줄의 첫 부분은 서버 자체의 이유입니다. 그렇지 않으면 줄은 다음과 같습니다:
1582 1600
1583```text theme={null}1601```text theme={null}
1584Claude login not accepted · Run /login, then try again1602Claude login not accepted · Run /login, then try again
1586 1604
1587**해결 방법:**1605**해결 방법:**
1588 1606
1589* `/login`을 실행하고 로그인을 완료한 다음 세션을 다시 시작합니다1607* `/login`을 실행하고 로그인을 완료한 후 세션을 다시 시작합니다
1590 1608
1591### 아티팩트에는 claude.ai 로그인이 필요함1609### Artifacts need a claude.ai login
1592 1610
1593세션에 아티팩트에 사용할 수 있는 claude.ai 로그인이 없어서 Claude Code가 [아티팩트](https://code.claude.com/docs/ko/artifacts.md) 게시 또는 읽기를 거부했습니다.1611세션에 아티팩트에 사용할 수 있는 claude.ai 로그인이 없으므로 Claude Code가 [아티팩트](https://code.claude.com/docs/ko/artifacts.md) 게시 또는 읽기를 거부했습니다.
1594 1612
1595메시지의 모든 형태는 같은 문구로 시작하고, 세션의 인증 방식에 따라 달라지는 해결 방법이 뒤따릅니다. 경쟁하는 자격 증명이 없을 때는 다음과 같이 표시됩니다.1613메시지의 모든 형태는 같은 문구로 시작하며, 그 뒤에 세션의 인증 방식에 따라 다른 해결 방법이 이어집니다. 경쟁하는 자격 증명이 없으면 다음과 같이 표시됩니다:
1596 1614
1597```text theme={null}1615```text theme={null}
1598Artifacts need a claude.ai login. Run /login and select "Claude account with subscription", then retry — the "Anthropic Console account" option does not provide claude.ai credentials.1616Artifacts need a claude.ai login. Run /login and select "Claude account with subscription", then retry — the "Anthropic Console account" option does not provide claude.ai credentials.
1601**해결 방법:**1619**해결 방법:**
1602 1620
1603* `/login`을 실행하고 **Claude account with subscription**을 선택합니다. **Anthropic Console account** 옵션은 claude.ai 자격 증명을 제공하지 않습니다.1621* `/login`을 실행하고 **Claude account with subscription**을 선택합니다. **Anthropic Console account** 옵션은 claude.ai 자격 증명을 제공하지 않습니다.
1604* 메시지에 `ANTHROPIC_API_KEY`, `apiKeyHelper` 설정, 또는 이전 `/login`으로 저장된 Console 키처럼 우선하는 자격 증명이 표시되면, 메시지가 안내하는 방식으로 이를 제거한 다음 `/login`을 실행합니다1622* 메시지에 `ANTHROPIC_API_KEY`, `apiKeyHelper` 설정, 이전 `/login`으로 저장된 Console 키처럼 우선하는 자격 증명이 표시되면, 메시지에 안내된 대로 제거한 후 `/login`을 실행합니다
1605* 메시지에 이 원격 세션이 자신을 실행한 머신을 통해 인증한다고 표시되면, 해당 머신에서 claude.ai에 로그인한 다음 세션을 다시 연결합니다1623* 메시지에 이 원격 세션이 세션을 시작한 머신을 통해 인증한다고 표시되면, 해당 머신에서 claude.ai에 로그인한 후 세션을 다시 연결합니다
1606* 메시지에 자격 증명이 세션의 호스트 환경에서 주입된다고 표시되면, 해당 세션에서는 변경할 수 없습니다. claude.ai에 로그인된 세션을 시작합니다1624* 메시지에 자격 증명이 세션의 호스트 환경에서 주입된다고 표시되면 해당 세션에서는 변경할 수 없습니다. claude.ai에 로그인된 세션을 시작합니다
1607* 플랜, 모델 공급자, 조직 정책 등 아티팩트의 기타 요구 사항은 [사용 가능 여부](https://code.claude.com/docs/ko/artifacts.md#availability)를 참조하십시오1625* 플랜, 모델 공급자, 조직 정책 등 아티팩트의 기타 요구 사항은 [사용 가능 여부](https://code.claude.com/docs/ko/artifacts.md#availability)를 참조합니다
1608 1626
1609### 관리자 정책에 따라 Cloud 게이트웨이 로그인이 필요함1627### Administrator policy requires a Cloud gateway sign-in
1610 1628
1611이 머신의 관리자 [관리형 설정](https://code.claude.com/docs/ko/managed-settings.md)이 [`forceLoginMethod`](https://code.claude.com/docs/ko/settings-reference#forceloginmethod)를 `"gateway"`로 설정했거나 [`forceLoginGatewayUrl`](https://code.claude.com/docs/ko/settings-reference#forcelogingatewayurl)을 설정했습니다. 이 경우 `CLAUDE_CODE_USE_BEDROCK` 같은 변수로 클라우드 공급자를 선택하지 않는 한 Claude Code는 [Claude 앱 게이트웨이](https://code.claude.com/docs/ko/claude-apps-gateway) 로그인만 허용합니다. 다음 두 메시지 중 하나가 표시됩니다.1629이 머신에 관리자가 적용한 [관리형 설정](https://code.claude.com/docs/ko/managed-settings.md)이 [`forceLoginMethod`](https://code.claude.com/docs/ko/settings-reference#forceloginmethod)를 `"gateway"`로 설정하거나 [`forceLoginGatewayUrl`](https://code.claude.com/docs/ko/settings-reference#forcelogingatewayurl)을 설정했습니다. `CLAUDE_CODE_USE_BEDROCK` 같은 변수로 클라우드 공급자를 선택한 경우를 제외하고, Claude Code는 [Claude apps gateway](https://code.claude.com/docs/ko/claude-apps-gateway) 로그인만 허용합니다. 다음 두 메시지 중 하나가 표시됩니다:
1612 1630
1613```text theme={null}1631```text theme={null}
1614Not signed in to the Cloud gateway — run /login.1632Not signed in to the Cloud gateway — run /login.
1615```1633```
1616 1634
1617예를 들어 정책이 머신에 적용된 이후 `/login`을 실행하지 않아 세션에 게이트웨이 로그인이 없으면 모델 요청이 이 메시지와 함께 실패합니다.1635세션에 게이트웨이 로그인이 없으면, 예를 들어 정책이 머신에 적용된 이후 `/login`을 실행하지 않았다면, 모델 요청이 이 메시지와 함께 실패합니다.
1618 1636
1619머신에 Anthropic이 발급한 자격 증명도 있고 관리형 설정이 `forceLoginMethod` 또는 `forceLoginOrgUUID`를 설정한 경우, Claude Code는 대신 시작 시 종료됩니다. 해당 자격 증명은 `ANTHROPIC_API_KEY` 또는 `ANTHROPIC_AUTH_TOKEN` 변수, `apiKeyHelper` 설정, 또는 이전 Claude Console 로그인으로 저장된 API 키일 수 있습니다.1637머신에 Anthropic에서 발급한 자격 증명도 있고 관리형 설정이 `forceLoginMethod` 또는 `forceLoginOrgUUID`를 설정한 경우, Claude Code는 대신 시작 시 종료됩니다. 해당 자격 증명은 `ANTHROPIC_API_KEY` 또는 `ANTHROPIC_AUTH_TOKEN` 변수, `apiKeyHelper` 설정, 또는 이전 Claude Console 로그인으로 저장된 API 키일 수 있습니다.
1620 1638
1621시작 메시지에는 세션에 구성된 자격 증명, 설정된 위치, 그리고 이를 제거하는 단계가 표시됩니다. 예를 들어 셸에 `ANTHROPIC_API_KEY` 변수가 설정되어 있으면 다음과 같이 표시됩니다.1639시작 메시지에는 세션에 구성된 자격 증명, 설정된 위치, 이를 제거하는 단계가 표시됩니다. 예를 들어 셸에 `ANTHROPIC_API_KEY` 변수가 설정되어 있으면 다음과 같이 표시됩니다:
1622 1640
1623```text theme={null}1641```text theme={null}
1624Administrator policy requires a Cloud gateway sign-in on this machine, but this session is configured with an API key from ANTHROPIC_API_KEY, which a gateway machine does not accept.1642Administrator policy requires a Cloud gateway sign-in on this machine, but this session is configured with an API key from ANTHROPIC_API_KEY, which a gateway machine does not accept.
1630 1648
1631* `Not signed in to the Cloud gateway`의 경우 `/login`을 실행하고 **Cloud gateway** 화면에서 로그인을 완료합니다1649* `Not signed in to the Cloud gateway`의 경우 `/login`을 실행하고 **Cloud gateway** 화면에서 로그인을 완료합니다
1632* 시작 메시지의 경우 메시지 끝의 단계에 따라 자격 증명을 제거합니다1650* 시작 메시지의 경우 메시지 끝의 단계에 따라 자격 증명을 제거합니다
1633* 머신에 게이트웨이가 필요하지 않아야 한다고 생각되면, 머신을 관리하는 관리자에게 관리형 설정에서 `forceLoginMethod`와 `forceLoginGatewayUrl`을 제거해 달라고 요청합니다1651* 머신에 게이트웨이가 필요하지 않다고 생각되면 머신을 관리하는 관리자에게 관리형 설정에서 `forceLoginMethod`와 `forceLoginGatewayUrl`을 제거해 달라고 요청합니다
1634 1652
1635v2.1.284 이전에는 시작 메시지가 구성된 자격 증명의 이름을 표시하는 대신 가능한 자격 증명을 나열했습니다. 메시지는 `Administrator policy requires a Cloud gateway sign-in on this machine; the Anthropic-issued credential configured here (ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, or apiKeyHelper) is not used.`로 시작했습니다. 이 문구가 표시되고 어떤 자격 증명을 제거해야 할지 알 수 없다면 v2.1.284 이상으로 업데이트하고 `claude`를 다시 시작하십시오.1653v2.1.284 이전에는 시작 메시지가 구성된 자격 증명을 지목하는 대신 가능한 자격 증명을 나열했습니다. 메시지는 `Administrator policy requires a Cloud gateway sign-in on this machine; the Anthropic-issued credential configured here (ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, or apiKeyHelper) is not used.`로 시작했습니다. 이 문구가 표시되고 어떤 자격 증명을 제거해야 할지 알 수 없다면 v2.1.284 이상으로 업데이트하고 `claude`를 다시 시작합니다.
1636 1654
1637v2.1.265에서는 회귀 문제로 인해, 머신에 관리자 요구 사항이 없어도 API 키, `apiKeyHelper` 또는 사용자 지정 헤더로 인증하는 일부 LLM 게이트웨이 및 프록시 구성에서 첫 번째 메시지가 표시되기도 했습니다. v2.1.266 이상으로 업데이트하십시오. 구성을 변경할 필요는 없습니다.1655v2.1.265에서는 회귀 버그로 인해 머신에 관리자 요구 사항이 없는데도 API 키, `apiKeyHelper` 또는 사용자 지정 헤더로 인증하는 일부 LLM 게이트웨이 및 프록시 구성에서 첫 번째 메시지가 표시되기도 했습니다. v2.1.266 이상으로 업데이트합니다. 구성을 변경할 필요는 없습니다.
1638 1656
1639v2.1.261 이전에는 `forceLoginMethod`를 `"gateway"`로 설정한 머신에서 Claude Code가 모델 요청을 실패시키는 대신 남아 있는 저장된 로그인을 사용했으며, 구성된 환경 자격 증명을 시작 메시지 대신 `This machine's managed settings require a first-party login`으로 보고했습니다.1657v2.1.261 이전에는 `forceLoginMethod`를 `"gateway"`로 설정한 머신에서 Claude Code가 모델 요청을 실패시키는 대신 남아 있던 저장된 로그인을 사용했으며, 구성된 환경 자격 증명을 시작 메시지 대신 `This machine's managed settings require a first-party login`으로 보고했습니다.
1640 1658
1641### 계정이 보류 상태임1659### Your account is on hold
1642 1660
1643로그인에 연결된 Claude 계정이 정지되었습니다. Claude Code는 저장된 로그인을 갱신하려다가 보류 상태를 알게 되면 첫 번째 메시지를, 브라우저에서 완료한 로그인이 보류 상태를 보고하면 두 번째 메시지를 표시합니다.1661로그인에 연결된 Claude 계정이 정지되었습니다. Claude Code는 저장된 로그인을 갱신하려다 보류 상태를 알게 되면 첫 번째 메시지를, 브라우저에서 완료한 로그인이 이를 보고하면 두 번째 메시지를 표시합니다:
1644 1662
1645```text theme={null}1663```text theme={null}
1646Your account is on hold and can't use Claude Code. View details or appeal: https://claude.ai/restricted1664Your account is on hold and can't use Claude Code. View details or appeal: https://claude.ai/restricted
1647Your account is on hold and can't sign in to Claude Code. View details or appeal: https://claude.ai/restricted1665Your account is on hold and can't sign in to Claude Code. View details or appeal: https://claude.ai/restricted
1648```1666```
1649 1667
1650보류는 로그인이 아닌 계정에 적용되므로 같은 계정으로 다시 로그인해도 메시지가 사라지지 않습니다. [비대화형 모드](https://code.claude.com/docs/ko/headless.md)(`-p`)와 [Agent SDK](https://code.claude.com/docs/ko/agent-sdk/overview.md)에서 구조화된 오류 코드는 `account_on_hold`입니다. v2.1.235 이전에는 Claude Code가 보류된 계정을 [Login expired · Please run /login](#login-expired)으로 보고했으며, 그 복구 단계로는 보류를 해제할 수 없었습니다.1668보류는 로그인이 아닌 계정에 걸려 있으므로 같은 계정으로 다시 로그인해도 메시지가 사라지지 않습니다. [비대화형 모드](https://code.claude.com/docs/ko/headless.md)(`-p`)와 [Agent SDK](https://code.claude.com/docs/ko/agent-sdk/overview.md)에서 구조화된 오류 코드는 `account_on_hold`입니다. v2.1.235 이전에는 Claude Code가 보류된 계정을 [Login expired · Please run /login](#login-expired)으로 보고했으며, 해당 복구 단계로는 보류를 해제할 수 없습니다.
1651 1669
1652**해결 방법:**1670**해결 방법:**
1653 1671
1654* 메시지의 링크를 열어 보류의 세부 정보를 확인하거나 이의를 제기합니다1672* 메시지의 링크를 열어 보류의 세부 정보를 확인하거나 이의를 제기합니다
1655* 보류의 영향을 받지 않는 다른 Claude 계정이나 API 키가 있다면, 보류가 해결되는 동안 계속 작업할 수 있습니다. 해당 계정으로 `/login`을 실행하거나 `ANTHROPIC_API_KEY`로 키를 설정합니다1673* 보류의 영향을 받지 않는 다른 Claude 계정이나 API 키가 있으면 보류가 해결되는 동안 계속 작업할 수 있습니다. 해당 계정으로 `/login`을 실행하거나 `ANTHROPIC_API_KEY`로 키를 설정합니다
1656 1674
1657### Anthropic 프로필 로그인 만료1675### Anthropic profile login expired
1658 1676
1659Claude Code가 Anthropic 자격 증명 프로필을 통해 인증하고 있는데, 해당 프로필의 저장된 로그인 자격 증명이 만료되었고 프로필에 Claude Code가 갱신에 사용할 수 있는 리프레시 자격 증명이 없습니다. Claude Code는 재시도 없이 각 요청을 로컬에서 중단합니다.1677Claude Code가 Anthropic 자격 증명 프로필을 통해 인증하고 있는데, 프로필에 저장된 로그인 자격 증명이 만료되었고 프로필에 Claude Code가 이를 갱신하는 데 사용할 수 있는 갱신 자격 증명이 없습니다. Claude Code는 재시도 없이 각 요청을 로컬에서 중단합니다.
1660 1678
1661```text theme={null}1679```text theme={null}
1662Anthropic profile login expired · Re-authenticate your Anthropic profile1680Anthropic profile login expired · Re-authenticate your Anthropic profile
1666**해결 방법:**1684**해결 방법:**
1667 1685
1668* 메시지가 `Login expired`로 시작하면 `/login`을 실행하여 다시 로그인합니다1686* 메시지가 `Login expired`로 시작하면 `/login`을 실행하여 다시 로그인합니다
1669* 키 없는 Console 로그인이나 Claude Platform CLI의 `ant auth login`이 작성한 프로필을 갱신하려면, [키 없는 로그인을 제공하는](https://code.claude.com/docs/ko/authentication.md#sign-in-without-an-api-key) 머신에서 `/login`을 실행합니다. Anthropic Console 계정을 선택한 다음 **Sign in with your Console account**를 선택합니다. Claude Code가 해당 프로필의 만료된 자격 증명을 교체합니다1687* 키 없는 Console 로그인 또는 Claude Platform CLI의 `ant auth login`이 작성한 프로필을 갱신하려면, [키 없는 로그인을 제공하는](https://code.claude.com/docs/ko/authentication.md#sign-in-without-an-api-key) 머신에서 `/login`을 실행합니다. Anthropic Console 계정을 선택한 다음 **Sign in with your Console account**를 선택합니다. Claude Code가 해당 프로필의 만료된 자격 증명을 교체합니다
1670* 다른 도구가 생성한 프로필을 갱신하려면 해당 도구로 다시 로그인합니다. 대신 `/login`에서 **Sign in with your Console account**를 선택하면 Claude Code는 프로필을 그대로 두고 API 키를 생성합니다1688* 다른 도구가 만든 프로필을 갱신하려면 해당 도구로 다시 로그인합니다. 대신 `/login`에서 **Sign in with your Console account**를 선택하면, Claude Code는 프로필을 그대로 두고 API 키를 생성합니다
1671* 관리자가 프로필의 자격 증명을 프로비저닝한 경우 새 자격 증명 발급을 요청합니다1689* 관리자가 프로필의 자격 증명을 프로비저닝한 경우 관리자에게 새 자격 증명을 발급해 달라고 요청합니다
1672* `/status`를 실행하여 활성 자격 증명 소스와 프로필 이름을 확인합니다1690* `/status`를 실행하여 활성 자격 증명 소스와 프로필 이름을 확인합니다
1673* 프로필 사용을 중단하려면, `ANTHROPIC_PROFILE`을 설정했다면 해제한 다음 `/login`이나 `ANTHROPIC_API_KEY` 같은 다른 방법으로 인증합니다1691* 프로필 사용을 중단하려면, `ANTHROPIC_PROFILE`을 설정한 경우 설정을 해제한 후 `/login`이나 `ANTHROPIC_API_KEY` 같은 다른 방법으로 인증합니다
1674 1692
1675메시지의 시작 부분을 보면 Claude Code가 프로필을 어떻게 찾았는지 알 수 있습니다.1693메시지가 어떻게 시작하는지를 보면 Claude Code가 프로필을 어떻게 찾았는지 알 수 있습니다:
1676 1694
1677* Claude Code가 구성 디렉터리에서 프로필을 발견했고 인증 모드가 `user_oauth`인 경우, 메시지는 `Login expired`로 시작하며 `/login`을 먼저 제안합니다. Claude Code는 작동하는 `/login`을 발견된 프로필보다 우선하여 claude.ai 계정으로 인증합니다. v2.1.234부터 v2.1.277 전까지 이 형식은 `Anthropic profile login expired · Run /login to use your claude.ai account instead, or re-authenticate the profile`로 표시되었습니다. v2.1.234 이전에는 이 경우에도 Claude Code가 `Re-authenticate your Anthropic profile` 형식을 표시했습니다.1695* Claude Code가 구성 디렉터리에서 프로필을 발견했고 프로필의 인증 모드가 `user_oauth`인 경우, 메시지는 `Login expired`로 시작하며 `/login`을 먼저 제안합니다. Claude Code는 작동하는 `/login`을 발견된 프로필보다 우선 적용하여 대신 claude.ai 계정으로 인증합니다. v2.1.234부터 v2.1.277까지는 이 형태가 `Anthropic profile login expired · Run /login to use your claude.ai account instead, or re-authenticate the profile`로 표시되었습니다. v2.1.234 이전에는 이 경우에도 Claude Code가 `Re-authenticate your Anthropic profile` 형태를 표시했습니다.
1678* `ANTHROPIC_PROFILE`로 프로필을 선택한 경우 메시지는 `Anthropic profile login expired`로 시작합니다.1696* `ANTHROPIC_PROFILE`로 프로필을 선택한 경우 메시지는 `Anthropic profile login expired`로 시작합니다.
1679 1697
1680이 메시지는 활성 자격 증명이 Anthropic 자격 증명 프로필에서 오는 경우에만 나타납니다. 해당 프로필은 `ANTHROPIC_PROFILE` 환경 변수로 선택한 프로필, Claude Code가 Anthropic 구성 디렉터리에서 활성 프로필로 발견한 프로필, 또는 [API 키 없이 로그인](https://code.claude.com/docs/ko/authentication.md#sign-in-without-an-api-key)했을 때 Claude Code가 작성한 프로필입니다. API 키, `ANTHROPIC_AUTH_TOKEN` 같은 bearer 토큰, 또는 서드파티 제공업체로 인증하는 세션에서는 이 메시지가 표시되지 않습니다.1698이 메시지는 활성 자격 증명이 Anthropic 자격 증명 프로필에서 올 때만 나타납니다. 즉 `ANTHROPIC_PROFILE` 환경 변수로 선택한 프로필, Claude Code가 Anthropic 구성 디렉터리에서 활성 프로필로 발견한 프로필, 또는 [API 키 없이 로그인](https://code.claude.com/docs/ko/authentication.md#sign-in-without-an-api-key)할 때 Claude Code가 작성한 프로필입니다. API 키, `ANTHROPIC_AUTH_TOKEN` 같은 bearer 토큰, 또는 서드파티 공급자로 인증하는 세션에서는 이 메시지가 표시되지 않습니다.
1681 1699
1682### OAuth 범위 요구 사항1700### OAuth 범위 요구 사항
1683 1701
1684저장된 토큰이 새 기능에 필요한 권한 범위보다 먼저 발급되었습니다.1702저장된 토큰이 최신 기능에 필요한 권한 범위보다 이전에 발급되었습니다:
1685 1703
1686```text theme={null}1704```text theme={null}
1687OAuth token does not meet scope requirement: user:profile1705OAuth token does not meet scope requirement: user:profile
1691 1709
1692* `/login`을 실행하여 현재 범위가 포함된 새 토큰을 받습니다. 먼저 로그아웃할 필요는 없습니다.1710* `/login`을 실행하여 현재 범위가 포함된 새 토큰을 받습니다. 먼저 로그아웃할 필요는 없습니다.
1693 1711
1694### claude.ai가 세션 토큰을 거부함1712### claude.ai rejected the session token
1695 1713
1696claude.ai가 Claude Code 로그인의 토큰을 거부하여 [claude.ai 커넥터](https://code.claude.com/docs/ko/mcp.md#use-mcp-servers-from-claude-ai) 요청이 실패했습니다. 거부된 토큰은 claude.ai에서 커넥터 자체의 권한 부여가 아니라 사용자의 로그인이므로, 커넥터를 다시 승인해도 해결되지 않습니다. `/mcp`에서 커넥터는 `session token rejected`로 표시되고, 세부 정보 보기에는 다음과 같이 표시됩니다.1714claude.ai가 Claude Code 로그인의 토큰을 거부하여 [claude.ai 커넥터](https://code.claude.com/docs/ko/mcp.md#use-mcp-servers-from-claude-ai) 요청이 실패했습니다. 거부된 토큰은 claude.ai에서의 커넥터 자체 인가가 아니라 사용자의 로그인이므로, 커넥터를 다시 인가해도 해결되지 않습니다. `/mcp`에서 커넥터는 `session token rejected`로 표시되며 세부 정보 보기에는 다음이 표시됩니다:
1697 1715
1698```text theme={null}1716```text theme={null}
1699claude.ai rejected the session token. Run /login, then reconnect.1717claude.ai rejected the session token. Run /login, then reconnect.
1704* `/login`을 실행하여 다시 로그인합니다1722* `/login`을 실행하여 다시 로그인합니다
1705* `/mcp`에서 커넥터를 다시 연결하거나 `/mcp reconnect <server>`를 실행합니다. 다시 로그인하기 전에 다시 연결하면 커넥터가 같은 상태로 남습니다. `/mcp` 패널의 **Reconnect** 옵션은 `your claude.ai session token was rejected`를 보고하지만, 직접 입력하는 `/mcp reconnect <server>` 형태는 토큰이 여전히 거부된 상태인데도 다시 연결에 성공했다고 보고합니다.1723* `/mcp`에서 커넥터를 다시 연결하거나 `/mcp reconnect <server>`를 실행합니다. 다시 로그인하기 전에 다시 연결하면 커넥터가 같은 상태로 남습니다. `/mcp` 패널의 **Reconnect** 옵션은 `your claude.ai session token was rejected`를 보고하지만, 직접 입력하는 `/mcp reconnect <server>` 형태는 토큰이 여전히 거부된 상태인데도 다시 연결에 성공했다고 보고합니다.
1706 1724
1707v2.1.222 이전에는 Claude Code가 대신 커넥터를 인증이 필요한 상태로 표시했기 때문에, 커넥터의 권한 부여 흐름을 완료해도 상태가 해결되지 않는데도 해당 흐름으로 안내했습니다.1725v2.1.222 이전에는 Claude Code가 대신 커넥터를 인증이 필요한 것으로 표시했으며, 이 때문에 커넥터의 인가 흐름을 완료해도 상태가 해결되지 않는데도 해당 흐름으로 안내되었습니다.
1708 1726
1709### MCP 서버에 다시 로그인해야 함1727### MCP server needs you to sign in again
1710 1728
1711세션 도중 원격 [MCP 서버](https://code.claude.com/docs/ko/mcp.md)가 도구 호출의 자격 증명을 거부했습니다. 보통 로그인이나 토큰이 만료되었거나 토큰에 도구에 필요한 권한이 없기 때문입니다. 도구 호출이 실패하고, `/mcp`는 서버를 [인증이 필요한](https://code.claude.com/docs/ko/mcp.md#authenticate-with-remote-mcp-servers) 상태로 표시합니다.1729원격 [MCP 서버](https://code.claude.com/docs/ko/mcp.md)가 세션 도중 도구 호출에서 자격 증명을 거부했습니다. 일반적으로 로그인이나 토큰이 만료되었거나, 토큰에 도구에 필요한 권한이 없기 때문입니다. 도구 호출이 실패하고 `/mcp`에서 서버가 [인증 필요](https://code.claude.com/docs/ko/mcp.md#authenticate-with-remote-mcp-servers) 상태로 표시됩니다.
1712 1730
1713claude.ai 커넥터를 포함하여 Claude Code에서 로그인하는 서버의 경우, 로그인이 만료되었거나 폐기되었습니다.1731claude.ai 커넥터를 포함하여 Claude Code에서 로그인하는 서버의 경우, 로그인이 만료되었거나 취소되었습니다:
1714 1732
1715```text theme={null}1733```text theme={null}
1716MCP server "<name>" needs you to sign in again (run /mcp to re-authenticate)1734MCP server "<name>" needs you to sign in again (run /mcp to re-authenticate)
1717```1735```
1718 1736
1719`/mcp`를 실행하고 서버를 선택한 다음 메뉴에서 다시 로그인합니다.1737`/mcp`를 실행하고 서버를 선택한 후 메뉴에서 다시 로그인합니다.
1720 1738
1721[`headersHelper`](https://code.claude.com/docs/ko/mcp#use-dynamic-headers-for-custom-authentication) 스크립트로 구성된 서버의 경우, Claude Code는 이 메시지를 표시하기 전에 이미 헬퍼를 다시 실행하고 호출을 한 번 재시도했습니다.1739[`headersHelper`](https://code.claude.com/docs/ko/mcp#use-dynamic-headers-for-custom-authentication) 스크립트로 구성된 서버의 경우, Claude Code는 이 메시지를 표시하기 전에 이미 헬퍼를 다시 실행하고 호출을 한 번 재시도했습니다:
1722 1740
1723```text theme={null}1741```text theme={null}
1724MCP server "<name>" rejected the credential from its headersHelper (check the helper and run /mcp to reconnect, or to authenticate if the server also uses OAuth)1742MCP server "<name>" rejected the credential from its headersHelper (check the helper and run /mcp to reconnect, or to authenticate if the server also uses OAuth)
1725```1743```
1726 1744
1727헬퍼가 서버가 받아들이는 자격 증명을 반환하는지 확인한 다음, 헬퍼를 다시 실행하는 `/mcp`에서 다시 연결합니다.1745헬퍼가 서버에서 허용하는 자격 증명을 반환하는지 확인한 후, 헬퍼를 다시 실행하는 `/mcp`에서 다시 연결합니다.
1728 1746
1729구성에 정적 `Authorization` 헤더가 있는 서버의 경우:1747구성에 정적 `Authorization` 헤더가 있는 서버의 경우:
1730 1748
1732MCP server "<name>" rejected the Authorization header in its config (update it, then run /mcp to reconnect)1750MCP server "<name>" rejected the Authorization header in its config (update it, then run /mcp to reconnect)
1733```1751```
1734 1752
1735서버가 구성된 위치에서 헤더 값을 업데이트한 다음 `/mcp`에서 다시 연결합니다.1753서버가 구성된 위치에서 헤더 값을 업데이트한 후 `/mcp`에서 다시 연결합니다.
1736 1754
1737Claude Desktop 앱에서 사용자의 머신에서 실행되는 [Cowork](https://claude.com/docs/cowork/overview) 세션의 경우, 다음 메시지는 MCP 서버가 제공받은 자격 증명을 거부했다는 의미입니다. 메시지에 표시된 항목을 수정한 후 Cowork에서 새 작업이나 채팅을 시작합니다.1755Claude Desktop 앱에서 사용자 머신의 [Cowork](https://claude.com/docs/cowork/overview) 세션인 경우, 다음 메시지는 MCP 서버가 제공받은 자격 증명을 거부했다는 뜻입니다. 메시지에 표시된 자격 증명을 수정한 후 Cowork에서 새 작업이나 채팅을 시작합니다:
1738 1756
1739```text theme={null}1757```text theme={null}
1740MCP server "<name>" rejected the credential from its headersHelper (check the helper, then start a new task or chat)1758MCP server "<name>" rejected the credential from its headersHelper (check the helper, then start a new task or chat)
1741MCP server "<name>" rejected the Authorization header in its config (update it, then start a new task or chat)1759MCP server "<name>" rejected the Authorization header in its config (update it, then start a new task or chat)
1742```1760```
1743 1761
1744* **`headersHelper` 자격 증명 거부**: 헬퍼가 서버에서 받아들이는 자격 증명을 반환하는지 확인한 후 Cowork에서 새 작업이나 채팅을 시작합니다1762* **`headersHelper` 자격 증명 거부**: 헬퍼가 서버에서 허용하는 자격 증명을 반환하는지 확인한 후 Cowork에서 새 작업이나 채팅을 시작합니다
1745* **`Authorization` 헤더 거부**: 해당 서버 구성의 `headers` 아래에 있는 `Authorization` 값을 업데이트한 후 Cowork에서 새 작업이나 채팅을 시작합니다1763* **`Authorization` 헤더 거부**: 해당 서버 구성의 `headers` 아래 `Authorization` 값을 업데이트한 후 Cowork에서 새 작업이나 채팅을 시작합니다
1746 1764
1747v2.1.302 이전에는 Cowork 세션에서 `/mcp`를 사용할 수 없는데도 `run /mcp to reconnect` 어미가 대신 표시되었습니다. Cowork에서 이러한 어미가 표시되더라도 헬퍼를 확인하거나 헤더를 업데이트한 후 새 작업이나 채팅을 시작하십시오. v2.1.273 이전에는 로그인 만료, `headersHelper`, `Authorization` 헤더의 경우 모두 `MCP server "<name>" requires re-authorization (token expired)`가 표시되었습니다.1765v2.1.302 이전에는 `/mcp`를 사용할 수 없는데도 Cowork 세션에 `run /mcp to reconnect` 끝맺음이 대신 표시되었습니다. Cowork에서 이런 끝맺음이 표시되더라도 헬퍼를 확인하거나 헤더를 업데이트한 후 새 작업이나 채팅을 시작합니다. v2.1.273 이전에는 로그인 만료, `headersHelper`, `Authorization` 헤더 경우 모두 `MCP server "<name>" requires re-authorization (token expired)`가 표시되었습니다.
1748 1766
1749서버는 범위 승인을 요청하기 위해 HTTP 403 `insufficient_scope`로 도구 호출을 거부할 수도 있으며, 때로는 토큰에 이미 포함된 범위를 요청하기도 합니다. 메시지에 해당 범위가 표시됩니다.1767서버는 HTTP 403 `insufficient_scope`로 도구 호출을 거부하여 범위 인가를 요청할 수도 있으며, 때로는 토큰에 이미 나열된 범위를 요청하기도 합니다. 메시지에 해당 범위가 표시됩니다:
1750 1768
1751```text theme={null}1769```text theme={null}
1752MCP server "<name>" needs additional permissions (scope: "<scope>") — run /mcp to re-authenticate1770MCP server "<name>" needs additional permissions (scope: "<scope>") — run /mcp to re-authenticate
1753```1771```
1754 1772
1755`/mcp`를 실행하고 서버를 선택한 다음 메뉴에서 다시 인증합니다.1773`/mcp`를 실행하고 서버를 선택한 후 메뉴에서 다시 인증합니다.
1756 1774
1757서버 구성에 [`oauth.scopes`](https://code.claude.com/docs/ko/mcp#restrict-oauth-scopes)와 [`authServerMetadataUrl`](https://code.claude.com/docs/ko/mcp#override-oauth-metadata-discovery)이 모두 설정되어 있지 않으면, Claude Code는 서버가 지정한 범위를 요청합니다. 둘 중 하나가 설정되어 있으면 Claude Code는 대신 해당 설정의 범위를 요청합니다. `oauth.scopes`를 고정했다면 다시 인증하기 전에 누락된 범위를 해당 목록에 추가하십시오.1775서버 구성에 [`oauth.scopes`](https://code.claude.com/docs/ko/mcp#restrict-oauth-scopes)와 [`authServerMetadataUrl`](https://code.claude.com/docs/ko/mcp#override-oauth-metadata-discovery)이 모두 설정되어 있지 않으면 Claude Code는 서버가 지정한 범위를 요청합니다. 둘 중 하나라도 설정되어 있으면 Claude Code는 대신 해당 설정의 범위를 요청합니다. `oauth.scopes`를 고정했다면 다시 인증하기 전에 누락된 범위를 해당 목록에 추가합니다.
1758 1776
1759v2.1.274 이전에는 이 경우 `needs you to sign in again` 메시지가 표시되었고, v2.1.273 이전에는 다른 경우와 마찬가지로 `requires re-authorization (token expired)`가 표시되었습니다.1777v2.1.274 이전에는 이 경우 `needs you to sign in again` 메시지가 표시되었고, v2.1.273 이전에는 다른 경우와 마찬가지로 `requires re-authorization (token expired)`가 표시되었습니다.
1760 1778
1761### Couldn't read the stored credentials for MCP server1779### Couldn't read the stored credentials for MCP server
1762 1780
1763Claude Code는 OAuth [MCP 서버](https://code.claude.com/docs/ko/mcp.md)의 로그인 정보를 자격 증명 저장소에 보관합니다. 이 메시지는 Claude Code가 해당 저장소를 읽을 수 없어서 서버에 대한 요청이 실행되지 않았다는 의미입니다:1781Claude Code는 OAuth [MCP 서버](https://code.claude.com/docs/ko/mcp.md)의 로그인 정보를 자격 증명 저장소에 보관합니다. 이 메시지는 Claude Code가 해당 저장소를 읽을 수 없어 서버에 대한 요청이 실행되지 않았다는 뜻입니다:
1764 1782
1765```text theme={null}1783```text theme={null}
1766Couldn't read the stored credentials for MCP server "<name>", so the request didn't run. If your Mac's keychain is locked, unlock it, then try again.1784Couldn't read the stored credentials for MCP server "<name>", so the request didn't run. If your Mac's keychain is locked, unlock it, then try again.
1767Couldn't read the stored credentials for MCP server "<name>", so the request didn't run. Try again.1785Couldn't read the stored credentials for MCP server "<name>", so the request didn't run. Try again.
1768```1786```
1769 1787
1770저장된 로그인 정보는 변경되지 않았습니다. 저장소를 읽을 수 있게 되면 다시 시도하고, 서버가 요청할 때만 다시 로그인합니다.1788저장된 로그인 정보는 변경되지 않았습니다. 저장소를 읽을 수 있게 되면 다시 시도하고, 그 후 서버가 요청하는 경우에만 다시 로그인합니다.
1771 1789
1772macOS의 [`claude -p`](https://code.claude.com/docs/ko/headless) 또는 [Agent SDK](https://code.claude.com/docs/ko/agent-sdk/overview.md) 실행에서는 저장된 로그인 정보 없이 요청이 이미 전송된 후에 키체인을 읽을 수 있게 될 수 있습니다. 그 요청은 다음과 함께 실패합니다:1790macOS의 [`claude -p`](https://code.claude.com/docs/ko/headless) 또는 [Agent SDK](https://code.claude.com/docs/ko/agent-sdk/overview.md) 실행에서는 저장된 로그인 정보 없이 요청이 이미 전송된 후에 키체인을 읽을 수 있게 될 수 있습니다. 해당 요청은 다음과 같이 실패합니다:
1773 1791
1774```text theme={null}1792```text theme={null}
1775A request to MCP server "<name>" was sent without your stored credentials, so the server rejected it. The credentials are available now. Try again.1793A request to MCP server "<name>" was sent without your stored credentials, so the server rejected it. The credentials are available now. Try again.
1777 1795
1778**해결 방법:**1796**해결 방법:**
1779 1797
1780* 메시지에서 Mac의 키체인 잠금을 해제하라고 안내하면, Claude Code를 실행하는 셸 세션에서 [`claude doctor`](https://code.claude.com/docs/ko/cli-reference#cli-commands)를 실행하고 보고서에 키체인 경고가 있는지 확인합니다:1798* 메시지가 Mac 키체인 잠금 해제를 요청하면, Claude Code를 실행하는 셸 세션에서 [`claude doctor`](https://code.claude.com/docs/ko/cli-reference#cli-commands)를 실행하고 보고서에 키체인 경고가 있는지 확인합니다:
1781 * 보고서에 `macOS Keychain is not writable`로 시작하는 경고가 있거나, 셸에 `claude` 명령이 없다면 해당 셸 세션에서 다음 잠금 해제 명령을 실행합니다:1799 * 보고서에 `macOS Keychain is not writable`로 시작하는 경고가 있거나 셸에 `claude` 명령이 없으면, 해당 셸 세션에서 다음 잠금 해제 명령을 실행합니다:
1782 1800
1783 ```bash theme={null}1801 ```bash theme={null}
1784 security unlock-keychain ~/Library/Keychains/login.keychain-db1802 security unlock-keychain ~/Library/Keychains/login.keychain-db
1785 ```1803 ```
1786 1804
1787 * 보고서에 키체인 경고가 없다면 잠금 해제 명령을 건너뜁니다1805 * 보고서에 키체인 경고가 없으면 잠금 해제 명령을 건너뜁니다
1788 1806
1789* 메시지가 표시된 곳에서 다시 시도합니다:1807* 메시지가 표시된 곳에서 다시 시도합니다:
1790 * `claude -p`의 경우 명령을 다시 실행합니다1808 * `claude -p`의 경우 명령을 다시 실행합니다
1791 * 대화형 세션에서는 `/mcp`에서 서버가 실패로 표시되면 다시 연결한 후, Claude에게 다시 시도하도록 요청합니다1809 * 대화형 세션에서는 `/mcp`에서 서버가 실패로 표시되면 다시 연결한 후 Claude에게 다시 시도하도록 요청합니다
1792 * 계속 실행되는 Agent SDK 애플리케이션에서는 TypeScript의 [`reconnectMcpServer()`](https://code.claude.com/docs/ko/agent-sdk/typescript#methods) 또는 Python의 [`ClaudeSDKClient.reconnect_mcp_server()`](https://code.claude.com/docs/ko/agent-sdk/python#methods)를 호출하거나, 새 세션을 시작합니다1810 * 계속 실행 중인 Agent SDK 애플리케이션에서는 TypeScript의 [`reconnectMcpServer()`](https://code.claude.com/docs/ko/agent-sdk/typescript#methods) 또는 Python의 [`ClaudeSDKClient.reconnect_mcp_server()`](https://code.claude.com/docs/ko/agent-sdk/python#methods)를 호출하거나 새 세션을 시작합니다
1793 1811
1794* 이후 서버가 인증이 필요하다고 보고하면, Claude Code가 해당 서버에 사용할 수 있는 로그인 정보를 찾지 못한 것입니다. 대화형으로 로그인합니다. Claude Code 세션에서 `/mcp`를 실행하거나, 셸에서 [`claude mcp login <name>`](https://code.claude.com/docs/ko/mcp#authenticate-from-the-command-line)을 실행합니다. Agent SDK 애플리케이션에서는 [Agent SDK의 OAuth2 인증](https://code.claude.com/docs/ko/agent-sdk/mcp.md#oauth2-authentication)을 참조하세요.1812* 그 후 서버가 인증이 필요하다고 보고하면, Claude Code가 해당 서버에 사용할 수 있는 로그인을 찾지 못한 것입니다. 대화형으로 로그인합니다. Claude Code 세션에서 `/mcp`를 실행하거나 셸에서 [`claude mcp login <name>`](https://code.claude.com/docs/ko/mcp#authenticate-from-the-command-line)을 실행합니다. Agent SDK 애플리케이션에서는 [Agent SDK의 OAuth2 인증](https://code.claude.com/docs/ko/agent-sdk/mcp.md#oauth2-authentication)을 참조합니다.
1795 1813
1796v2.1.307 이전에는 로그인 키체인이 잠긴 Mac에서 `claude -p` 또는 Agent SDK를 실행하면, 두 메시지 대신 서버가 인증이 필요하다고 보고했습니다.1814v2.1.307 이전에는 로그인 키체인이 잠긴 Mac에서 `claude -p` 또는 Agent SDK를 실행하면 두 메시지 중 어느 것도 표시하지 않고 서버를 인증이 필요한 것으로 보고했습니다.
1797 1815
1798### MCP 서버 URL이 없거나 유효한 URL이 아님1816### MCP server URL is missing or not a valid URL
1799 1817
1800서버에 구성된 `url`이 URL로 파싱되지 않아서 Claude Code가 원격 MCP 서버의 OAuth 로그인 시작을 거부했습니다. Claude Code가 해당 서버에 대해 보고할 더 구체적인 구성 문제가 없는 한, 셸에서 [`claude mcp login <name>`](https://code.claude.com/docs/ko/mcp#authenticate-from-the-command-line)을 실행하면 거부 내용이 다음과 같이 출력됩니다.1818서버에 구성된 `url`을 URL로 파싱할 수 없어 Claude Code가 원격 MCP 서버의 OAuth 로그인 시작을 거부했습니다. Claude Code가 해당 서버에 대해 보고할 더 구체적인 구성 문제가 있는 경우를 제외하고, 셸에서 [`claude mcp login <name>`](https://code.claude.com/docs/ko/mcp#authenticate-from-the-command-line)을 실행하면 다음과 같이 거부 메시지가 출력됩니다.
1801 1819
1802```text theme={null}1820```text theme={null}
1803Couldn't complete authentication for "<name>": This server's URL is missing or not a valid URL, so sign-in can't start. Fix the URL in its MCP config (or set the environment variable it uses) and try again.1821Couldn't complete authentication for "<name>": This server's URL is missing or not a valid URL, so sign-in can't start. Fix the URL in its MCP config (or set the environment variable it uses) and try again.
1805 1823
1806**해결 방법:**1824**해결 방법:**
1807 1825
1808* 서버가 구성된 위치에서 항목의 `url`을 서버의 실제 엔드포인트로 설정하거나, 해당 [`${VAR}` 참조](https://code.claude.com/docs/ko/mcp#environment-variable-expansion-in-mcp-json)가 가리키는 환경 변수를 설정한 다음 로그인을 다시 실행합니다.1826* 서버가 구성된 위치에서 해당 항목의 `url`을 서버의 실제 엔드포인트로 설정하거나, 해당 항목의 [`${VAR}` 참조](https://code.claude.com/docs/ko/mcp#environment-variable-expansion-in-mcp-json)가 가리키는 환경 변수를 설정한 다음 로그인을 다시 실행합니다.
1809 1827
1810### 권한 부여 응답의 발급자 불일치1828### Issuer mismatch in authorization response
1811 1829
1812[MCP OAuth 로그인](https://code.claude.com/docs/ko/mcp.md#authenticate-with-remote-mcp-servers) 중에 권한 부여 서버가 Claude Code로 리디렉션하면서, Claude Code가 서버의 OAuth 메타데이터에서 예상한 발급자를 가리키지 않는 `iss` 매개변수를 보냈습니다. 이 단계에서 잘못된 발급자가 나타나는 것은 권한 부여 서버 혼동(mix-up) 공격의 징후이므로, Claude Code는 권한 부여 코드를 교환하는 대신 로그인을 실패 처리합니다. Claude Code는 브라우저 로그인 후 `/mcp` 서버 메뉴에 오류를 표시합니다.1830[MCP OAuth 로그인](https://code.claude.com/docs/ko/mcp.md#authenticate-with-remote-mcp-servers) 중에 인가 서버가 Claude Code로 다시 리디렉션하면서 보낸 `iss` 매개변수가 Claude Code가 서버의 OAuth 메타데이터에서 기대한 발급자(issuer)를 가리키지 않습니다. 이 단계에서 잘못된 발급자가 나타나는 것은 인가 서버 혼동(mix-up) 공격의 전형적인 모습이므로, Claude Code는 인가 코드를 교환하는 대신 로그인을 실패 처리합니다. Claude Code는 브라우저 로그인 후 `/mcp` 서버 메뉴에 다음 오류를 표시합니다.
1813 1831
1814```text theme={null}1832```text theme={null}
1815Issuer mismatch in authorization response (RFC 9207): expected "https://auth.example.com", received "https://other.example.com"1833Issuer mismatch in authorization response (RFC 9207): expected "https://auth.example.com", received "https://other.example.com"
1816```1834```
1817 1835
1818`expected`는 서버의 OAuth 메타데이터에 있는 발급자이고, `received`는 리디렉션에 포함된 `iss` 값입니다. 리디렉션에 `iss` 매개변수가 없는 로그인은 검사를 통과하지만, 서버의 메타데이터가 `authorization_response_iss_parameter_supported`를 설정한 경우에는 Claude Code가 로그인을 실패 처리합니다.1836`expected`는 서버의 OAuth 메타데이터에 있는 발급자이고, `received`는 리디렉션에 포함된 `iss` 값입니다. 리디렉션에 `iss` 매개변수가 없는 로그인은 검사를 통과합니다. 단, 서버의 메타데이터가 `authorization_response_iss_parameter_supported`를 설정한 경우에는 Claude Code가 로그인을 실패 처리합니다.
1819 1837
1820**해결 방법:**1838**해결 방법:**
1821 1839
1822* `/mcp`에서 로그인을 다시 시도합니다1840* `/mcp`에서 로그인을 다시 시도합니다
1823* 오류가 반복되면 서버 운영자에게 보고합니다. 해결 방법은 서버 측에 있습니다. 권한 부여 서버는 메타데이터에 명시한 것과 같은 발급자를 `iss` 매개변수로 반환해야 합니다1841* 오류가 반복되면 서버 운영자에게 보고합니다. 해결은 서버 측에서 이루어져야 합니다. 인가 서버는 메타데이터에 알리는 것과 동일한 발급자를 `iss` 매개변수로 반환해야 합니다
1824* 서버가 수정되는 동안 연결하려면 [`MCP_SDK_GENERATION=v1`](https://code.claude.com/docs/ko/env-vars)로 Claude Code를 시작합니다. 이 [런타임](https://code.claude.com/docs/ko/mcp.md#mcp-client-runtimes)은 이 검사를 실행하지 않습니다. 이렇게 하면 혼동 공격에 대한 보호가 제거되므로 서버 측 수정을 우선하십시오1842* 서버가 수정되는 동안 연결하려면 [`MCP_SDK_GENERATION=v1`](https://code.claude.com/docs/ko/env-vars)로 Claude Code를 시작합니다. 이 [런타임](https://code.claude.com/docs/ko/mcp.md#mcp-client-runtimes)은 이 검사를 실행하지 않습니다. 이렇게 하면 혼동 공격에 대한 보호 기능이 제거되므로 서버 측 수정을 우선하는 것이 좋습니다
1825 1843
1826v2.1.232 이전에는 Claude Code가 점진적 출시 대상이거나 `MCP_SDK_GENERATION=v2`를 설정한 경우에만 v2 런타임을 사용했습니다.1844v2.1.232 이전에는 Claude Code가 단계적 롤아웃에서 또는 `MCP_SDK_GENERATION=v2`를 설정한 경우에만 v2 런타임을 사용했습니다.
1827 1845
1828### Stopped an OAuth request1846### Stopped an OAuth request
1829 1847
1830이 메시지는 OAuth 엔드포인트가 리디렉션했기 때문에 Claude Code가 [MCP 서버에 대한 OAuth 요청](https://code.claude.com/docs/ko/mcp.md#authenticate-with-remote-mcp-servers)을 중단했음을 의미합니다. 메시지의 두 가지 형태 모두에서 첫 번째 주소가 리디렉션을 보낸 주소입니다.1848이 메시지는 OAuth 엔드포인트가 리디렉션했기 때문에 Claude Code가 [MCP 서버에 대한 OAuth 요청](https://code.claude.com/docs/ko/mcp.md#authenticate-with-remote-mcp-servers)을 중단했음을 의미합니다. 두 가지 형태의 메시지 모두에서 첫 번째 주소가 리디렉션을 보낸 주소입니다.
1831 1849
1832```text theme={null}1850```text theme={null}
1833Stopped an OAuth request, which can hold secrets: https://auth.example.com redirected it to https://other.example.com. Ask the owner of https://auth.example.com to remove that redirect.1851Stopped an OAuth request, which can hold secrets: https://auth.example.com redirected it to https://other.example.com. Ask the owner of https://auth.example.com to remove that redirect.
1838 1856
1839* MCP 서버 운영자 등 첫 번째 주소를 운영하는 사람에게 리디렉션을 제거하거나 수정하도록 요청합니다. 그런 다음 `/mcp`에서 다시 시도합니다.1857* MCP 서버 운영자 등 첫 번째 주소를 운영하는 사람에게 리디렉션을 제거하거나 수정하도록 요청합니다. 그런 다음 `/mcp`에서 다시 시도합니다.
1840 1858
1841### HTTPS가 아닌 토큰 엔드포인트로 자격 증명 전송 거부1859### Refusing to send credentials to non-https token endpoint
1842 1860
1843[v2 런타임](https://code.claude.com/docs/ko/mcp.md#mcp-client-runtimes)에서 Claude Code는 HTTPS로 제공되거나 `localhost`, `127.0.0.1`, `::1`에 있는 토큰 엔드포인트에만 [MCP OAuth](https://code.claude.com/docs/ko/mcp.md#authenticate-with-remote-mcp-servers) 토큰 요청을 보냅니다. 이 메시지는 서버의 토큰 엔드포인트가 둘 다 해당하지 않아 Claude Code가 요청을 보내기 전에 중단했다는 뜻입니다. 이는 브라우저 로그인 이후에 발생하므로 브라우저 단계는 먼저 성공하며, Claude Code가 서버의 토큰을 갱신할 때마다 다시 발생합니다.1861[v2 런타임](https://code.claude.com/docs/ko/mcp.md#mcp-client-runtimes)에서 Claude Code는 HTTPS로 제공되거나 `localhost`, `127.0.0.1`, `::1`에 있는 토큰 엔드포인트에만 [MCP OAuth](https://code.claude.com/docs/ko/mcp.md#authenticate-with-remote-mcp-servers) 토큰 요청을 보냅니다. 이 메시지는 서버의 토큰 엔드포인트가 둘 중 어디에도 해당하지 않아 Claude Code가 요청을 보내기 전에 중단했음을 의미합니다. 이는 브라우저 로그인 이후에 발생하므로 브라우저 단계는 먼저 성공하며, Claude Code가 서버의 토큰을 갱신할 때마다 다시 발생합니다.
1844 1862
1845메시지의 전체 형태는 MCP SDK에서 생성되며 거부한 토큰 엔드포인트를 인용합니다. 디버그 로그에서는 로그인의 경우 `Error during auth completion:` 뒤에, 갱신의 경우 `Token refresh failed:` 뒤에 나타납니다. 셸에서는 `claude mcp login <name>`이 `Couldn't complete authentication for "<name>":` 뒤에 이를 출력하고, 세션에서는 `/mcp`가 서버 메뉴 아래에 표시합니다.1863전체 형태의 메시지는 MCP SDK에서 생성되며 거부된 토큰 엔드포인트를 인용합니다. 디버그 로그에서는 로그인의 경우 `Error during auth completion:` 뒤에, 갱신의 경우 `Token refresh failed:` 뒤에 나타납니다. 셸에서는 `claude mcp login <name>`이 `Couldn't complete authentication for "<name>":` 뒤에 이 메시지를 출력하며, 세션에서는 `/mcp`가 서버 메뉴 아래에 표시합니다.
1846 1864
1847```text theme={null}1865```text theme={null}
1848Refusing to send credentials to non-https token endpoint 'http://192.168.1.50:8123/oauth/token'. OAuth token requests MUST use TLS (localhost / 127.0.0.1 / ::1 are exempt).1866Refusing to send credentials to non-https token endpoint 'http://192.168.1.50:8123/oauth/token'. OAuth token requests MUST use TLS (localhost / 127.0.0.1 / ::1 are exempt).
1849```1867```
1850 1868
1851Claude Code는 쿼리 문자열이나 길고 무작위처럼 보이는 경로 세그먼트가 있는 서버 URL을 비밀 정보일 수 있다고 간주합니다. 이러한 서버의 경우 MCP SDK가 발생시킨 로그인 오류를 표시하거나 로그에 기록하기 전에 수정(redact)합니다. 이때 이 오류는 `io`처럼 릴리스마다 바뀔 수 있는 짧은 이름 뒤에 `from the MCP SDK for`와 수정된 서버 URL이 이어지는 형태로 표시됩니다. MCP SDK의 다른 오류도 같은 형태를 띱니다. 수정된 메시지가 이 오류일 수 있는 경우는 서버의 토큰 엔드포인트가 `localhost`, `127.0.0.1`, `::1` 이외의 주소에 있는 일반 `http://`일 때뿐입니다.1869Claude Code는 쿼리 문자열이 있거나 무작위로 보이는 긴 경로 세그먼트가 있는 서버 URL을 비밀 정보일 수 있는 것으로 취급합니다. 이러한 서버의 경우 MCP SDK가 발생시키는 로그인 오류를 표시하거나 로그에 기록하기 전에 수정(redact)합니다. 이때 이 오류는 `io`처럼 릴리스마다 바뀔 수 있는 짧은 이름 뒤에 `from the MCP SDK for`와 수정된 서버 URL이 붙은 형태로 표시됩니다. MCP SDK의 다른 오류도 그곳에서 같은 형태를 띱니다. 수정된 메시지가 이 오류일 수 있는 경우는 서버의 토큰 엔드포인트가 `localhost`, `127.0.0.1`, `::1` 이외의 주소에 있는 일반 `http://`인 경우뿐입니다.
1852 1870
1853**해결 방법:**1871**해결 방법:**
1854 1872
1855* 해당 토큰 엔드포인트를 HTTPS로 제공합니다. 예를 들어 TLS를 종료하는 리버스 프록시나 터널 뒤에 서버를 두고, 서버가 `https://` 주소를 알리도록 구성합니다1873* 해당 토큰 엔드포인트를 HTTPS로 제공합니다. 예를 들어 TLS를 종료하는 리버스 프록시나 터널 뒤에 서버를 두고, 서버가 `https://` 주소를 알리도록 구성합니다
1856* 서버를 변경하지 않고 연결하려면 [`MCP_SDK_GENERATION=v1`](https://code.claude.com/docs/ko/env-vars)로 Claude Code를 시작합니다. 이 [런타임](https://code.claude.com/docs/ko/mcp.md#mcp-client-runtimes)은 이 규칙을 적용하지 않고 일반 HTTP로 토큰 요청을 보냅니다. 이 선택은 종료할 때까지 유지되며 모든 서버에 적용됩니다. v1 런타임은 [발급자 검사](#issuer-mismatch-in-authorization-response)도 건너뛰므로, 엔드포인트를 HTTPS로 제공하는 방법을 우선하십시오1874* 서버를 변경하지 않고 연결하려면 [`MCP_SDK_GENERATION=v1`](https://code.claude.com/docs/ko/env-vars)로 Claude Code를 시작합니다. 이 [런타임](https://code.claude.com/docs/ko/mcp.md#mcp-client-runtimes)은 이 규칙을 적용하지 않으며 일반 HTTP로 토큰 요청을 보냅니다. 이 선택은 종료할 때까지 유지되며 모든 서버에 적용됩니다. v1 런타임은 [발급자 검사](#issuer-mismatch-in-authorization-response)도 건너뛰므로 엔드포인트를 HTTPS로 제공하는 방법을 우선하는 것이 좋습니다
1857 1875
1858### AWS 자격 증명이 만료되었거나 유효하지 않음1876### AWS credentials expired or invalid
1859 1877
1860AWS 세션 토큰이 만료되었거나 거부되었습니다. 이 메시지는 [Claude Platform on AWS](https://code.claude.com/docs/ko/claude-platform-on-aws.md) 또는 [Mantle 엔드포인트](https://code.claude.com/docs/ko/amazon-bedrock.md#use-the-mantle-endpoint)에서 401이 반환될 때 나타나며, 이는 해당 공급자가 만료된 보안 토큰을 보고하는 방식입니다.1878AWS 세션 토큰이 만료되었거나 거부되었습니다. 이 메시지는 [Claude Platform on AWS](https://code.claude.com/docs/ko/claude-platform-on-aws.md) 또는 [Mantle 엔드포인트](https://code.claude.com/docs/ko/amazon-bedrock.md#use-the-mantle-endpoint)에서 401이 반환될 때 나타나며, 이는 해당 제공자들이 만료된 보안 토큰을 보고하는 방식입니다.
1861 1879
1862중간의 작업 안내는 설정에 따라 달라집니다. 고정된 부분은 앞의 `AWS credentials expired or invalid`입니다.1880중간의 작업 힌트는 설정에 따라 달라집니다. 변하지 않는 부분은 앞쪽의 `AWS credentials expired or invalid`입니다.
1863 1881
1864```text theme={null}1882```text theme={null}
1865AWS credentials expired or invalid · run /login and select "Claude Platform on AWS · refresh credentials", or run `aws sso login --profile myprofile` in another terminal · API Error: 401 ...1883AWS credentials expired or invalid · run /login and select "Claude Platform on AWS · refresh credentials", or run `aws sso login --profile myprofile` in another terminal · API Error: 401 ...
1869 1887
1870**해결 방법:**1888**해결 방법:**
1871 1889
1872* 안내에 자격 증명이 이 환경에서 관리된다고 표시되면, Claude Code를 실행한 앱이 자격 증명을 소유하므로 여기의 다른 단계는 적용되지 않습니다. 재시도하거나 관리자에게 문의합니다1890* 힌트에 자격 증명이 이 환경에서 관리된다고 표시되면 Claude Code를 실행한 앱이 자격 증명을 소유하므로 여기의 다른 단계는 적용되지 않습니다. 재시도하거나 관리자에게 문의합니다
1873* [`awsAuthRefresh`](https://code.claude.com/docs/ko/amazon-bedrock#advanced-credential-configuration)가 설정되어 있으면 메시지에 표시된 `aws sso login --profile myprofile` 같은 명령을 다른 터미널에서 실행하고 브라우저 로그인을 완료한 다음 재시도합니다. 그렇지 않으면 사용하는 AWS 자격 증명, 즉 SSO 로그인, 액세스 키, API 키 또는 프록시 토큰을 직접 갱신합니다1891* [`awsAuthRefresh`](https://code.claude.com/docs/ko/amazon-bedrock#advanced-credential-configuration)가 설정되어 있으면 메시지에 표시된 `aws sso login --profile myprofile` 같은 명령을 다른 터미널에서 실행하고 브라우저 로그인을 완료한 다음 재시도합니다. 그렇지 않으면 사용 중인 AWS 자격 증명(SSO 로그인, 액세스 키, API 키 또는 프록시 토큰)을 직접 갱신합니다
1874* 대화형 세션에서 `awsAuthRefresh`가 설정되어 있으면, 대신 `/login`을 실행하고 **3rd-party platform**을 선택한 다음 **Using 3rd-party platforms** 아래의 **Claude Platform on AWS · refresh credentials**를 선택하여 Claude Code를 다시 시작하지 않고 같은 명령을 실행할 수 있습니다. [AWS 자격 증명 구성](https://code.claude.com/docs/ko/claude-platform-on-aws.md#1-configure-aws-credentials)을 참조하십시오1892* 대화형 세션에서 `awsAuthRefresh`가 설정되어 있으면 대신 `/login`을 실행하고 **3rd-party platform**을 선택한 다음 **Using 3rd-party platforms** 아래에서 **Claude Platform on AWS · refresh credentials**를 선택하여 Claude Code를 다시 시작하지 않고 같은 명령을 실행할 수 있습니다. [AWS 자격 증명 구성](https://code.claude.com/docs/ko/claude-platform-on-aws.md#1-configure-aws-credentials)을 참조하세요
1875* 갱신 명령이 성공한 후에도 오류가 반복되면, 같은 셸과 프로필에서 `aws sts get-caller-identity`로 Claude Code 외부에서 ID가 유효한지 확인합니다1893* 갱신 명령이 성공한 후에도 오류가 반복되면 같은 셸과 프로필에서 `aws sts get-caller-identity`를 실행하여 Claude Code 외부에서 해당 ID가 유효한지 확인합니다
1876 1894
1877### AWS 인증 실패1895### AWS authentication failed
1878 1896
1879AWS 공급자가 403을 반환했거나 [Amazon Bedrock](https://code.claude.com/docs/ko/amazon-bedrock.md)이 401을 반환했습니다.1897AWS 제공자가 403을 반환했거나 [Amazon Bedrock](https://code.claude.com/docs/ko/amazon-bedrock.md)이 401을 반환했습니다.
1880 1898
1881Amazon Bedrock은 만료된 보안 토큰을 403으로 보고하지만, IAM 권한 누락으로 인한 `AccessDeniedException` 같은 권한 부여 거부도 403으로 보고합니다. Claude Code는 이 두 원인을 구분할 수 없습니다.1899Amazon Bedrock은 만료된 보안 토큰을 403으로 보고하지만, 누락된 IAM 권한으로 인한 `AccessDeniedException`과 같은 인가 거부도 403으로 보고합니다. Claude Code는 이 두 가지 원인을 구분할 수 없습니다.
1882 1900
1883Amazon Bedrock의 401도 [AWS 자격 증명이 만료되었거나 유효하지 않음](#aws-credentials-expired-or-invalid)이 아닌 여기에 해당합니다. Amazon Bedrock은 만료된 토큰을 401로 보고하지 않기 때문입니다. 해당 엔드포인트의 401은 일반적으로 회사 프록시처럼 요청 경로상의 다른 요소에서 발생합니다.1901Amazon Bedrock의 401도 [AWS credentials expired or invalid](#aws-credentials-expired-or-invalid)가 아닌 여기에 해당합니다. Amazon Bedrock은 만료된 토큰을 401로 보고하지 않기 때문입니다. 해당 엔드포인트의 401은 일반적으로 회사 프록시와 같이 요청 경로의 다른 요소에서 발생합니다.
1884 1902
1885자격 증명 갱신으로 만료된 토큰은 해결되지만 다른 원인은 해결할 수 없으므로, 메시지는 두 가지를 모두 안내합니다.1903자격 증명 갱신은 만료된 토큰은 해결하지만 다른 원인은 해결할 수 없으므로, 메시지는 두 가지를 모두 제시합니다.
1886 1904
1887```text theme={null}1905```text theme={null}
1888AWS authentication failed · run /login and select "Claude Platform on AWS · refresh credentials", or run `aws sso login --profile myprofile` in another terminal · if credentials are current, check AWS permissions and model access · API Error: 403 ...1906AWS authentication failed · run /login and select "Claude Platform on AWS · refresh credentials", or run `aws sso login --profile myprofile` in another terminal · if credentials are current, check AWS permissions and model access · API Error: 403 ...
1889```1907```
1890 1908
1891중간의 작업 안내는 설정에 따라 달라집니다. 고정된 부분은 앞의 `AWS authentication failed`입니다.1909중간의 작업 힌트는 설정에 따라 달라집니다. 변하지 않는 부분은 앞쪽의 `AWS authentication failed`입니다.
1892 1910
1893403이 지정된 모델 ID의 모델에 액세스할 수 없다는 Amazon Bedrock의 응답인 경우, 안내는 대신 Amazon Bedrock 콘솔에서 계정과 리전에 대해 모델을 활성화하라고 알려줍니다.1911403이 지정된 모델 ID의 모델에 대한 액세스 권한이 없다는 Amazon Bedrock의 응답인 경우, 힌트는 대신 Amazon Bedrock 콘솔에서 계정과 리전에 대해 해당 모델을 활성화하도록 안내합니다.
1894 1912
1895v2.1.273 이전에는 `awsAuthRefresh`가 구성된 경우에만 이 메시지가 나타났습니다.1913v2.1.273 이전에는 `awsAuthRefresh`가 구성된 경우에만 이 메시지가 나타났습니다.
1896 1914
1897**해결 방법:**1915**해결 방법:**
1898 1916
1899* 안내에 자격 증명이 이 환경에서 관리된다고 표시되면, Claude Code를 실행한 앱이 자격 증명을 소유하므로 여기의 다른 단계는 적용되지 않습니다. 재시도하거나 관리자에게 문의합니다1917* 힌트에 자격 증명이 이 환경에서 관리된다고 표시되면 Claude Code를 실행한 앱이 자격 증명을 소유하므로 여기의 다른 단계는 적용되지 않습니다. 재시도하거나 관리자에게 문의합니다
1900* 만료된 자격 증명이 원인일 경우에 대비해 AWS 자격 증명을 갱신합니다. 설정되어 있다면 메시지에 표시된 [`awsAuthRefresh`](https://code.claude.com/docs/ko/amazon-bedrock#advanced-credential-configuration) 명령을 실행하거나, SSO 로그인, 액세스 키, API 키 또는 프록시 토큰을 직접 갱신합니다1918* 만료된 자격 증명이 원인일 경우에 대비해 AWS 자격 증명을 갱신합니다. [`awsAuthRefresh`](https://code.claude.com/docs/ko/amazon-bedrock#advanced-credential-configuration)가 설정되어 있으면 메시지에 표시된 명령을 실행하고, 그렇지 않으면 SSO 로그인, 액세스 키, API 키 또는 프록시 토큰을 직접 갱신합니다
1901* 자격 증명이 최신 상태라면 [IAM 구성](https://code.claude.com/docs/ko/amazon-bedrock.md#iam-configuration)의 IAM 권한이 사용 중인 ID에 연결되어 있는지, 선택한 모델이 계정과 리전에 대해 활성화되어 있는지 확인합니다1919* 자격 증명이 최신 상태라면 [IAM 구성](https://code.claude.com/docs/ko/amazon-bedrock.md#iam-configuration)의 IAM 권한이 사용 중인 ID에 연결되어 있는지, 선택한 모델이 계정과 리전에 대해 활성화되어 있는지 확인합니다
1902* `aws sts get-caller-identity`를 실행하여 요청에 사용되는 ID를 확인합니다1920* `aws sts get-caller-identity`를 실행하여 요청에 사용되는 ID를 확인합니다
1903 1921
1904### Google Cloud 자격 증명이 만료되었거나 유효하지 않음1922### Google Cloud credentials expired or invalid
1905 1923
1906[Google Cloud의 Agent Platform](https://code.claude.com/docs/ko/google-vertex-ai.md)에 대한 Google Cloud 자격 증명이 만료되었거나 거부되었습니다. 요청이 401을 반환했으며, 이는 Agent Platform이 자격 증명 만료를 보고하는 방식입니다.1924[Google Cloud의 Agent Platform](https://code.claude.com/docs/ko/google-vertex-ai.md)용 Google Cloud 자격 증명이 만료되었거나 거부되었습니다. 요청이 401을 반환했으며, 이는 Agent Platform이 자격 증명 만료를 보고하는 방식입니다.
1907 1925
1908중간의 작업 안내는 설정에 따라 달라집니다. 고정된 부분은 앞의 `Google Cloud credentials expired or invalid`입니다.1926중간의 작업 힌트는 설정에 따라 달라집니다. 변하지 않는 부분은 앞쪽의 `Google Cloud credentials expired or invalid`입니다.
1909 1927
1910```text theme={null}1928```text theme={null}
1911Google Cloud credentials expired or invalid · refresh your Google Cloud credentials (application default sign-in, or the key file in GOOGLE_APPLICATION_CREDENTIALS) and retry · API Error: 401 ...1929Google Cloud credentials expired or invalid · refresh your Google Cloud credentials (application default sign-in, or the key file in GOOGLE_APPLICATION_CREDENTIALS) and retry · API Error: 401 ...
1913 1931
1914**해결 방법:**1932**해결 방법:**
1915 1933
1916* 안내에 자격 증명이 이 환경에서 관리된다고 표시되면, Claude Code를 실행한 앱이 자격 증명을 소유하므로 여기의 다른 단계는 적용되지 않습니다. 재시도하거나 관리자에게 문의합니다1934* 힌트에 자격 증명이 이 환경에서 관리된다고 표시되면 Claude Code를 실행한 앱이 자격 증명을 소유하므로 여기의 다른 단계는 적용되지 않습니다. 재시도하거나 관리자에게 문의합니다
1917* 애플리케이션 기본 자격 증명으로 인증하는 경우, 메시지에 표시된 [`gcpAuthRefresh`](https://code.claude.com/docs/ko/google-vertex-ai#advanced-credential-configuration) 명령 또는 `gcloud auth application-default login`을 실행하고 로그인을 완료한 다음 재시도합니다1935* `CLAUDE_CODE_USE_ANTHROPIC_GOOGLE_CLOUD`를 설정했다면 대신 [Claude Models on Google Cloud (Anthropic managed)](https://code.claude.com/docs/ko/claude-models-on-google-cloud-anthropic-managed.md#google-cloud-credentials-expired-or-invalid)의 단계를 따릅니다
1918* `CLAUDE_CODE_SKIP_VERTEX_AUTH`를 설정하고 [LLM 게이트웨이](https://code.claude.com/docs/ko/llm-gateway)를 통해 라우팅하는 경우, `ANTHROPIC_AUTH_TOKEN` 또는 `ANTHROPIC_CUSTOM_HEADERS`의 게이트웨이 토큰을 갱신한 다음 재시도합니다1936* 애플리케이션 기본 자격 증명으로 인증하는 경우 메시지에 표시된 [`gcpAuthRefresh`](https://code.claude.com/docs/ko/google-vertex-ai#advanced-credential-configuration) 명령 또는 `gcloud auth application-default login`을 실행하고 로그인을 완료한 다음 재시도합니다
1919* 서비스 계정 키 파일로 인증하는 경우, `GOOGLE_APPLICATION_CREDENTIALS`가 유효한 키를 가리키는지 확인합니다. [GCP 자격 증명 구성](https://code.claude.com/docs/ko/google-vertex-ai.md#3-configure-gcp-credentials)을 참조하십시오1937* `CLAUDE_CODE_SKIP_VERTEX_AUTH`를 설정하고 [LLM 게이트웨이](https://code.claude.com/docs/ko/llm-gateway)를 통해 라우팅하는 경우 `ANTHROPIC_AUTH_TOKEN` 또는 `ANTHROPIC_CUSTOM_HEADERS`의 게이트웨이 토큰을 갱신한 다음 재시도합니다
1920* 갱신 후에도 오류가 반복되면, 같은 셸에서 `gcloud auth application-default print-access-token`으로 Claude Code 외부에서 ID가 작동하는지 확인합니다1938* 서비스 계정 키 파일로 인증하는 경우 `GOOGLE_APPLICATION_CREDENTIALS`가 유효한 키를 가리키는지 확인합니다. [GCP 자격 증명 구성](https://code.claude.com/docs/ko/google-vertex-ai.md#3-configure-gcp-credentials)을 참조하세요
1939* 갱신 후에도 오류가 반복되면 같은 셸에서 `gcloud auth application-default print-access-token`을 실행하여 Claude Code 외부에서 해당 ID가 작동하는지 확인합니다
1921 1940
1922v2.1.273 이전에는 Agent Platform의 401에 대해 Google Cloud 자격 증명을 갱신할 수 없는 일반적인 `Please run /login` 또는 `Failed to authenticate` 메시지가 대신 표시되었습니다.1941v2.1.273 이전에는 Agent Platform의 401에 대해 일반적인 `Please run /login` 또는 `Failed to authenticate` 메시지가 대신 표시되었으며, 이 방법으로는 Google Cloud 자격 증명을 갱신할 수 없습니다.
1923 1942
1924### Google Cloud authentication failed1943### Google Cloud authentication failed
1925 1944
1926[Google Cloud의 Agent Platform](https://code.claude.com/docs/ko/google-vertex-ai.md)이 403을 반환했습니다. Agent Platform은 만료된 자격 증명이 아니라 인가 거부에 403을 사용합니다. 일반적으로 인증에 사용하는 ID에 IAM 권한이 없거나, 프로젝트에서 모델이 활성화되어 있지 않은 경우입니다.1945[Google Cloud의 Agent Platform](https://code.claude.com/docs/ko/google-vertex-ai.md)이 403을 반환했습니다. Agent Platform은 만료된 자격 증명이 아닌 인가 거부에 403을 사용합니다. 일반적으로 인증에 사용하는 ID에 IAM 권한이 없거나 프로젝트에 대해 모델이 활성화되어 있지 않은 경우입니다.
1927 1946
1928중간의 조치 안내는 설정에 따라 달라집니다. 변하지 않는 부분은 맨 앞의 `Google Cloud authentication failed`입니다.1947중간의 작업 힌트는 설정에 따라 달라집니다. 변하지 않는 부분은 앞쪽의 `Google Cloud authentication failed`입니다.
1929 1948
1930```text theme={null}1949```text theme={null}
1931Google Cloud authentication failed · refresh your Google Cloud credentials (application default sign-in, or the key file in GOOGLE_APPLICATION_CREDENTIALS) and retry · if credentials are current, check GCP IAM permissions and Vertex AI model access · API Error: 403 ...1950Google Cloud authentication failed · refresh your Google Cloud credentials (application default sign-in, or the key file in GOOGLE_APPLICATION_CREDENTIALS) and retry · if credentials are current, check GCP IAM permissions and Vertex AI model access · API Error: 403 ...
1932```1951```
1933 1952
1934**조치 방법:**1953**해결 방법:**
1935 1954
1936* 안내에 자격 증명이 이 환경에서 관리된다고 표시되면, Claude Code를 실행한 앱이 자격 증명을 소유하므로 여기의 다른 단계는 적용되지 않습니다. 재시도하거나 관리자에게 문의하십시오1955* 힌트에 자격 증명이 이 환경에서 관리된다고 표시되면 Claude Code를 실행한 앱이 자격 증명을 소유하므로 여기의 다른 단계는 적용되지 않습니다. 재시도하거나 관리자에게 문의합니다
1956* `CLAUDE_CODE_USE_ANTHROPIC_GOOGLE_CLOUD`를 설정했다면 대신 [Claude Models on Google Cloud (Anthropic managed)](https://code.claude.com/docs/ko/claude-models-on-google-cloud-anthropic-managed.md#google-cloud-authentication-failed)의 단계를 따릅니다
1937* [IAM 구성](https://code.claude.com/docs/ko/google-vertex-ai.md#iam-configuration)의 역할이 인증에 사용하는 ID에 부여되어 있는지 확인합니다1957* [IAM 구성](https://code.claude.com/docs/ko/google-vertex-ai.md#iam-configuration)의 역할이 인증에 사용하는 ID에 부여되어 있는지 확인합니다
1938* 프로젝트에서 모델이 활성화되어 있는지 확인합니다. [모델 액세스 요청](https://code.claude.com/docs/ko/google-vertex-ai.md#2-request-model-access)을 참조하십시오1958* 프로젝트에 대해 모델이 활성화되어 있는지 확인합니다. [모델 액세스 요청](https://code.claude.com/docs/ko/google-vertex-ai.md#2-request-model-access)을 참조하세요
1939 1959
1940v2.1.273 이전에는 Agent Platform의 403이 Google Cloud 자격 증명을 갱신할 수 없는 일반적인 `Please run /login` 또는 `Failed to authenticate` 메시지로 표시되었습니다.1960v2.1.273 이전에는 Agent Platform의 403에 대해 일반적인 `Please run /login` 또는 `Failed to authenticate` 메시지가 대신 표시되었으며, 이 방법으로는 Google Cloud 자격 증명을 갱신할 수 없습니다.
1941 1961
1942### Microsoft Foundry authentication failed1962### Microsoft Foundry authentication failed
1943 1963
1944[Microsoft Foundry](https://code.claude.com/docs/ko/microsoft-foundry.md)가 401 또는 403을 반환했습니다. 요청에 포함된 Azure 자격 증명이 거부되었거나, 그 자격 증명의 ID에 Foundry 리소스에 대한 액세스 권한이 없습니다. `/login`으로는 Azure 자격 증명을 발급할 수 없습니다. 중간의 조치 안내는 설정에 따라 달라집니다. 변하지 않는 부분은 맨 앞의 `Microsoft Foundry authentication failed`입니다.1964[Microsoft Foundry](https://code.claude.com/docs/ko/microsoft-foundry.md)가 401 또는 403을 반환했습니다. 요청의 Azure 자격 증명이 거부되었거나, 그 뒤의 ID에 Foundry 리소스에 대한 액세스 권한이 없습니다. `/login`은 Azure 자격 증명을 발급할 수 없습니다. 중간의 작업 힌트는 설정에 따라 달라집니다. 변하지 않는 부분은 앞쪽의 `Microsoft Foundry authentication failed`입니다.
1945 1965
1946```text theme={null}1966```text theme={null}
1947Microsoft Foundry authentication failed · refresh your Foundry credential (ANTHROPIC_FOUNDRY_AUTH_TOKEN, ANTHROPIC_FOUNDRY_API_KEY, Azure sign-in for Entra, or your proxy token) and retry · if credentials are current, check access to the Foundry resource · API Error: 401 ...1967Microsoft Foundry authentication failed · refresh your Foundry credential (ANTHROPIC_FOUNDRY_AUTH_TOKEN, ANTHROPIC_FOUNDRY_API_KEY, Azure sign-in for Entra, or your proxy token) and retry · if credentials are current, check access to the Foundry resource · API Error: 401 ...
1948```1968```
1949 1969
1950**조치 방법:**1970**해결 방법:**
1951 1971
1952* 안내에 자격 증명이 이 환경에서 관리된다고 표시되면, Claude Code를 실행한 앱이 자격 증명을 소유하므로 여기의 다른 단계는 적용되지 않습니다. 재시도하거나 관리자에게 문의하십시오1972* 힌트에 자격 증명이 이 환경에서 관리된다고 표시되면 Claude Code를 실행한 앱이 자격 증명을 소유하므로 여기의 다른 단계는 적용되지 않습니다. 재시도하거나 관리자에게 문의합니다
1953* [Azure 자격 증명 구성](https://code.claude.com/docs/ko/microsoft-foundry.md#2-configure-azure-credentials)에서 구성한 자격 증명을 갱신합니다. `ANTHROPIC_FOUNDRY_API_KEY`를 교체하거나, 새 `ANTHROPIC_FOUNDRY_AUTH_TOKEN`을 발급하거나, 기본 Microsoft Entra 자격 증명 체인이 다시 로그인할 수 있도록 `az login`을 실행합니다1973* [Azure 자격 증명 구성](https://code.claude.com/docs/ko/microsoft-foundry.md#2-configure-azure-credentials)에서 구성한 자격 증명을 갱신합니다. `ANTHROPIC_FOUNDRY_API_KEY`를 교체하거나, 새 `ANTHROPIC_FOUNDRY_AUTH_TOKEN`을 발급하거나, 기본 Microsoft Entra 자격 증명 체인이 다시 로그인할 수 있도록 `az login`을 실행합니다
1954* 자격 증명이 최신 상태라면 해당 ID에 Foundry 리소스에 대한 액세스 권한이 있는지 확인합니다. [Azure RBAC 구성](https://code.claude.com/docs/ko/microsoft-foundry.md#azure-rbac-configuration)을 참조하십시오1974* 자격 증명이 최신 상태라면 해당 ID에 Foundry 리소스에 대한 액세스 권한이 있는지 확인합니다. [Azure RBAC 구성](https://code.claude.com/docs/ko/microsoft-foundry.md#azure-rbac-configuration)을 참조하세요
1955 1975
1956v2.1.273 이전에는 Microsoft Foundry의 401 또는 403이 Azure 자격 증명을 갱신할 수 없는 일반적인 `Please run /login` 또는 `Failed to authenticate` 메시지로 표시되었습니다.1976v2.1.273 이전에는 Microsoft Foundry의 401 또는 403에 대해 일반적인 `Please run /login` 또는 `Failed to authenticate` 메시지가 대신 표시되었으며, 이 방법으로는 Azure 자격 증명을 갱신할 수 없습니다.
1957 1977
1958### Could not load AWS or Google Cloud credentials1978### Could not load AWS or Google Cloud credentials
1959 1979
1960Claude Code가 실행 중인 머신에서 AWS 자격 증명 공급자 체인이나 Google 애플리케이션 기본 자격 증명으로부터 사용 가능한 자격 증명을 얻지 못했으므로, 어떤 요청도 클라우드 공급자에 도달하지 않았습니다. `·` 뒤의 세부 정보는 구체적인 원인을 나타냅니다. 예를 들어 만료된 SSO 세션, `Could not load the default credentials`로 보고되는 애플리케이션 기본 자격 증명 누락, `invalid_grant`로 보고되는 취소된 로그인 등이 있습니다.1980Claude Code가 실행 중인 머신에서 AWS 자격 증명 제공자 체인이나 Google 애플리케이션 기본 자격 증명으로부터 사용 가능한 자격 증명을 얻지 못해, 어떤 요청도 클라우드 제공자에 도달하지 않았습니다. `·` 뒤의 세부 정보는 만료된 SSO 세션, `Could not load the default credentials`로 보고되는 애플리케이션 기본 자격 증명 누락, `invalid_grant`로 보고되는 취소된 로그인 등 구체적인 원인을 나타냅니다.
1961 1981
1962```text theme={null}1982```text theme={null}
1963API Error: Could not load AWS credentials · Could not load credentials from any providers. Check or refresh your AWS credentials and try again.1983API Error: Could not load AWS credentials · Could not load credentials from any providers. Check or refresh your AWS credentials and try again.
1966 1986
1967`-p`를 사용하는 [비대화형 모드](https://code.claude.com/docs/ko/headless.md)와 [Agent SDK](https://code.claude.com/docs/ko/agent-sdk/overview.md)에서 구조화된 오류 코드는 `cloud_credential_error`입니다. v2.1.267 이전에는 메시지에 `API Error:` 뒤의 세부 텍스트만 표시되었고, 구조화된 코드는 `server_error` 또는 `unknown`이었습니다.1987`-p`를 사용하는 [비대화형 모드](https://code.claude.com/docs/ko/headless.md)와 [Agent SDK](https://code.claude.com/docs/ko/agent-sdk/overview.md)에서 구조화된 오류 코드는 `cloud_credential_error`입니다. v2.1.267 이전에는 메시지에 `API Error:` 뒤의 세부 텍스트만 표시되었고, 구조화된 코드는 `server_error` 또는 `unknown`이었습니다.
1968 1988
1969**조치 방법:**1989**해결 방법:**
1970 1990
1971* `aws sso login --profile myprofile` 또는 `gcloud auth application-default login`과 같은 공급자의 로그인 명령을 실행한 다음 재시도합니다. [Bedrock, Agent Platform 또는 Foundry 자격 증명이 로드되지 않음](https://code.claude.com/docs/ko/troubleshoot-install.md#bedrock-agent-platform-or-foundry-credentials-not-loading)에서 Claude Code 외부에서 자격 증명을 확인하는 방법을 설명합니다1991* `aws sso login --profile myprofile` 또는 `gcloud auth application-default login`과 같은 제공자의 로그인 명령을 실행한 다음 재시도합니다. [Bedrock, Agent Platform 또는 Foundry 자격 증명이 로드되지 않음](https://code.claude.com/docs/ko/troubleshoot-install.md#bedrock-agent-platform-or-foundry-credentials-not-loading)에서 Claude Code 외부에서 자격 증명을 확인하는 방법을 설명합니다
1972* 세부 정보가 `AWS default-chain credential resolve timed out`이면 체인이 실패한 것이 아니라 멈춘 것이므로, 대신 [AWS default-chain credential resolve timed out](#aws-default-chain-credential-resolve-timed-out)을 따르십시오1992* 세부 정보가 `AWS default-chain credential resolve timed out`이라면 체인이 실패한 것이 아니라 멈춘 것이므로 대신 [AWS default-chain credential resolve timed out](#aws-default-chain-credential-resolve-timed-out)을 따릅니다
1973 1993
1974### AWS default-chain credential resolve timed out1994### AWS default-chain credential resolve timed out
1975 1995
1976AWS 기본 자격 증명 공급자 체인이 60초 이내에 자격 증명을 생성하지 못했으므로, Claude Code가 확인 작업을 중단하고 요청을 실패 처리했습니다. 이 타임아웃은 [Could not load AWS or Google Cloud credentials](#could-not-load-aws-or-google-cloud-credentials)의 원인 중 하나입니다. 이 실패는 로컬 자격 증명 확인 과정에서 발생한 것으로, 요청은 [Amazon Bedrock](https://code.claude.com/docs/ko/amazon-bedrock.md), [Claude Platform on AWS](https://code.claude.com/docs/ko/claude-platform-on-aws.md) 또는 [Mantle 엔드포인트](https://code.claude.com/docs/ko/amazon-bedrock.md#use-the-mantle-endpoint)에 도달하지 않았습니다. Claude Code는 이 오류를 표시하기 전에 [자격 증명 캐시](https://code.claude.com/docs/ko/amazon-bedrock.md#credential-caching-and-resolution-timeout)를 지우고 재시도하므로, 이 오류가 표시될 때는 이미 반복된 시도에서 체인이 멈춘 상태입니다.1996AWS 기본 자격 증명 제공자 체인이 60초 이내에 자격 증명을 생성하지 못해 Claude Code가 확인 작업을 중단하고 요청을 실패 처리했습니다. 이 타임아웃은 [Could not load AWS or Google Cloud credentials](#could-not-load-aws-or-google-cloud-credentials)의 원인 중 하나입니다. 이 실패는 로컬 자격 증명 확인 단계에서 발생한 것으로, 요청은 [Amazon Bedrock](https://code.claude.com/docs/ko/amazon-bedrock.md), [Claude Platform on AWS](https://code.claude.com/docs/ko/claude-platform-on-aws.md) 또는 [Mantle 엔드포인트](https://code.claude.com/docs/ko/amazon-bedrock.md#use-the-mantle-endpoint)에 도달하지 않았습니다. Claude Code는 이 오류를 표시하기 전에 [자격 증명 캐시](https://code.claude.com/docs/ko/amazon-bedrock.md#credential-caching-and-resolution-timeout)를 지우고 재시도하므로, 이 오류가 보일 때는 체인이 반복된 시도에서 멈춘 상태입니다.
1977 1997
1978```text theme={null}1998```text theme={null}
1979API Error: Could not load AWS credentials · AWS default-chain credential resolve timed out. Check or refresh your AWS credentials and try again.1999API Error: Could not load AWS credentials · AWS default-chain credential resolve timed out. Check or refresh your AWS credentials and try again.
1981 2001
1982일반적인 원인은 AWS 프로필의 `credential_process` 명령이 받을 수 없는 입력을 기다리는 경우, 그리고 컨테이너나 VM의 인스턴스 메타데이터 서비스(IMDS)가 체인의 프로브에 응답하지 않는 경우입니다.2002일반적인 원인은 AWS 프로필의 `credential_process` 명령이 받을 수 없는 입력을 기다리는 경우, 그리고 컨테이너나 VM의 인스턴스 메타데이터 서비스(IMDS)가 체인의 프로브에 응답하지 않는 경우입니다.
1983 2003
1984v2.1.267 이전에는 메시지가 `API Error: AWS default-chain credential resolve timed out`으로 표시되었습니다.2004v2.1.267 이전에는 메시지가 `API Error: AWS default-chain credential resolve timed out`이었습니다.
1985v2.1.207 이전에는 체인이 멈추면 요청이 실패하지 않고 무기한 대기했습니다.2005v2.1.207 이전에는 체인이 멈추면 요청이 실패하지 않고 무기한 대기했습니다.
1986 2006
1987**조치 방법:**2007**해결 방법:**
1988 2008
1989* 같은 셸에서 같은 `AWS_PROFILE`로 `aws sts get-caller-identity`를 실행합니다. 이 명령도 멈춘다면 프로필을 수정하십시오. 대화형으로 입력을 요청하는 `credential_process` 명령이 흔한 원인입니다.2009* 같은 셸에서 같은 `AWS_PROFILE`로 `aws sts get-caller-identity`를 실행합니다. 이 명령도 멈춘다면 프로필을 수정합니다. 대화형으로 입력을 요청하는 `credential_process` 명령이 흔한 원인입니다.
1990* Claude Code를 시작하기 전에 로그인 단계를 완료합니다. 예: `aws sso login --profile myprofile`2010* Claude Code를 시작하기 전에 로그인 단계를 완료합니다. 예: `aws sso login --profile myprofile`
1991* `aws-vault`와 같은 래퍼를 통한 MFA 포함 SSO처럼 체인이 실제로 60초 이상 필요한 대화형 로그인을 실행한다면, [`CLAUDE_CODE_AWS_CHAIN_RESOLVE_TIMEOUT_MS`](https://code.claude.com/docs/ko/env-vars)로 제한을 밀리초 단위로 늘리십시오2011* `aws-vault` 같은 래퍼를 통한 MFA 포함 SSO처럼 체인이 실제로 60초 이상 필요한 대화형 로그인을 실행하는 경우 [`CLAUDE_CODE_AWS_CHAIN_RESOLVE_TIMEOUT_MS`](https://code.claude.com/docs/ko/env-vars)로 제한을 밀리초 단위로 늘립니다
1992 2012
1993### Bedrock setup verification timed out waiting for AWS2013### Bedrock 설정 확인이 AWS를 기다리다 시간 초과됨
1994 2014
1995[Bedrock 설정 마법사](https://code.claude.com/docs/ko/amazon-bedrock.md#sign-in-with-bedrock)의 자격 증명 확인 중 자격 증명 조회나 ID 확인과 같은 AWS 호출이 60초 제한 내에 완료되지 않았습니다. 마법사는 대기를 중단하고 확인 단계를 실패 처리합니다.2015[Bedrock 설정 마법사](https://code.claude.com/docs/ko/amazon-bedrock.md#sign-in-with-bedrock)의 자격 증명 확인 중에 자격 증명 조회나 ID 확인 같은 AWS 호출이 60초 제한 내에 완료되지 않았습니다. 마법사는 대기를 중단하고 확인 단계를 실패 처리합니다.
1996 2016
1997```text theme={null}2017```text theme={null}
1998Timed out after 60s waiting for AWS. Check your network and proxy settings; if a credential helper needs longer to prompt you, raise CLAUDE_CODE_AWS_CHAIN_RESOLVE_TIMEOUT_MS.2018Timed out after 60s waiting for AWS. Check your network and proxy settings; if a credential helper needs longer to prompt you, raise CLAUDE_CODE_AWS_CHAIN_RESOLVE_TIMEOUT_MS.
1999```2019```
2000 2020
2001표시되는 숫자는 설정된 제한을 반영합니다. 기본값은 60초이며, [`CLAUDE_CODE_AWS_CHAIN_RESOLVE_TIMEOUT_MS`](https://code.claude.com/docs/ko/env-vars)에 설정한 값이 있으면 그 값이 표시됩니다.2021숫자는 설정된 제한을 반영합니다. 기본값은 60초이며, [`CLAUDE_CODE_AWS_CHAIN_RESOLVE_TIMEOUT_MS`](https://code.claude.com/docs/ko/env-vars)에 설정한 값이 있으면 그 값입니다.
2002 2022
2003일반적인 원인은 SSO 토큰 갱신을 포함하여 AWS로의 요청을 지연시키는 네트워크나 프록시, 그리고 사용자에게 보이지 않는 입력을 계속 기다리는 자격 증명 도우미입니다. 도우미가 실제로 더 많은 시간이 필요한 경우에만 제한을 늘리십시오.2023일반적인 원인은 SSO 토큰 갱신을 포함해 AWS로의 요청을 지연시키는 네트워크나 프록시, 그리고 화면에 보이지 않는 입력을 계속 기다리는 자격 증명 헬퍼입니다. 헬퍼가 실제로 더 많은 시간이 필요한 경우에만 제한을 늘립니다.
2004 2024
2005AWS로의 단일 요청이 멈추면 요청별 타임아웃으로 인해 자체적으로 실패할 수도 있으며, 이 경우 같은 단계에서 더 짧은 메시지가 표시됩니다.2025AWS로의 단일 요청이 멈춘 경우 자체 요청별 타임아웃으로 실패할 수도 있으며, 이때는 같은 단계에서 더 짧은 메시지가 표시됩니다.
2006 2026
2007```text theme={null}2027```text theme={null}
2008A request to AWS timed out. Check your network and proxy settings, then try again.2028A request to AWS timed out. Check your network and proxy settings, then try again.
2009```2029```
2010 2030
2011모델 고정 단계에서 같은 시간 초과가 발생하면, 마법사는 두 메시지를 표시하는 대신 모델을 `unreachable`로 표시합니다.2031모델 고정 단계에서 같은 시간 초과가 발생하면 마법사는 두 메시지 중 어느 것도 표시하지 않고 모델을 `unreachable`로 표시합니다.
2012 2032
2013**조치 방법:**2033**해결 방법:**
2014 2034
2015* 같은 셸에서 `aws sts get-caller-identity`를 실행합니다. 이 명령도 멈춘다면 지연은 Claude Code 외부, 즉 네트워크, 프록시 또는 AWS 프로필의 자격 증명 도우미에서 발생하는 것이므로 먼저 이를 해결하십시오.2035* 같은 셸에서 `aws sts get-caller-identity`를 실행합니다. 이 명령도 멈춘다면 지연은 Claude Code 외부, 즉 네트워크, 프록시 또는 AWS 프로필의 자격 증명 헬퍼에서 발생하는 것이므로 먼저 이를 해결합니다.
2016* 마법사를 열기 전에 대화형 로그인을 완료합니다. 예: `aws sso login --profile myprofile`2036* 마법사를 열기 전에 대화형 로그인을 완료합니다. 예: `aws sso login --profile myprofile`
2017* AWS 프로필의 자격 증명 도우미가 입력을 요청하는 데 실제로 60초 이상 필요하다면, [`CLAUDE_CODE_AWS_CHAIN_RESOLVE_TIMEOUT_MS`](https://code.claude.com/docs/ko/env-vars)로 제한을 밀리초 단위로 늘리십시오2037* AWS 프로필의 자격 증명 헬퍼가 입력을 요청하는 데 실제로 60초보다 오래 걸리는 경우 [`CLAUDE_CODE_AWS_CHAIN_RESOLVE_TIMEOUT_MS`](https://code.claude.com/docs/ko/env-vars)로 제한을 밀리초 단위로 늘립니다
2018 2038
2019### Cloud gateway session expired2039### Cloud gateway session expired
2020 2040
2021[Claude apps 게이트웨이](https://code.claude.com/docs/ko/claude-apps-gateway)를 통해 로그인했으며, 이 머신에 저장된 게이트웨이 세션이 만료되어 갱신할 수 없거나, 예를 들어 게이트웨이의 [JWT 시크릿이 교체된](https://code.claude.com/docs/ko/claude-apps-gateway-deploy.md#jwt-secret-rotation) 후와 같이 게이트웨이가 더 이상 해당 세션을 허용하지 않습니다. `claude`를 대화형으로 시작할 때 이 줄이 표시되면, 세션이 게이트웨이에서 로그아웃된 상태로 열린 것입니다.2041[Claude apps gateway](https://code.claude.com/docs/ko/claude-apps-gateway)를 통해 로그인했으며, 이 머신에 저장된 게이트웨이 세션이 만료되어 갱신할 수 없거나, 게이트웨이의 [JWT 시크릿이 교체된](https://code.claude.com/docs/ko/claude-apps-gateway-deploy.md#jwt-secret-rotation) 후처럼 게이트웨이가 더 이상 해당 세션을 허용하지 않습니다. `claude`를 대화형으로 시작할 때 이 줄이 보이면 세션이 게이트웨이에서 로그아웃된 상태로 열린 것입니다.
2022 2042
2023```text theme={null}2043```text theme={null}
2024Cloud gateway session expired — run /login to reconnect.2044Cloud gateway session expired — run /login to reconnect.
2025```2045```
2026 2046
2027게이트웨이 자격 증명이 만료되고 Claude Code가 이를 갱신할 수 없으면 세션 도중에도 같은 줄이 표시될 수 있습니다.2047게이트웨이 자격 증명이 만료되고 Claude Code가 이를 갱신할 수 없는 경우 세션 도중에도 같은 줄이 나타날 수 있습니다.
2028 2048
2029[비대화형](https://code.claude.com/docs/ko/headless.md) 실행, 백그라운드 또는 기타 무인 세션, 또는 `claude auth` 이외의 `claude` 하위 명령에서는 게이트웨이가 더 이상 세션을 허용하지 않을 때 Claude Code가 대신 다음 메시지와 함께 종료됩니다.2049[비대화형](https://code.claude.com/docs/ko/headless.md) 실행, 백그라운드 또는 기타 무인 세션, 또는 `claude auth` 이외의 `claude` 하위 명령에서는 게이트웨이가 더 이상 세션을 허용하지 않을 때 Claude Code가 대신 다음 메시지와 함께 종료됩니다.
2030 2050
2032Cloud gateway <url> no longer accepts this session. Start `claude` and sign in again with /login.2052Cloud gateway <url> no longer accepts this session. Start `claude` and sign in again with /login.
2033```2053```
2034 2054
2035**조치 방법:**2055**해결 방법:**
2036 2056
2037* 세션에서 `/login`을 실행하고 브라우저 로그인을 완료합니다2057* 세션에서 `/login`을 실행하고 브라우저 로그인을 완료합니다
2038* 비대화형 실행의 경우, 같은 환경에서 `claude`를 시작하고 `/login`을 실행한 다음 명령을 다시 실행합니다2058* 비대화형 실행의 경우 같은 환경에서 `claude`를 시작하고 `/login`을 실행한 다음 명령을 다시 실행합니다
2039 2059
2040### Sign-in timed out while waiting for you to continue2060### Sign-in timed out while waiting for you to continue
2041 2061
2042[Claude apps 게이트웨이](https://code.claude.com/docs/ko/claude-apps-gateway) 로그인 중에 게이트웨이가 로그인한 계정을 알려 주었고, Claude Code가 자격 증명을 저장하기 전에 해당 계정의 확인을 요청했습니다. 확인 화면을 로그인 자체의 만료 시간이 지나도록 열어 두었고, 게이트웨이가 이를 갱신할 수 있는 새로 고침 토큰을 발급하지 않았으므로, 계속 진행했을 때 Claude Code는 아무것도 저장하지 않았습니다.2062[Claude apps gateway](https://code.claude.com/docs/ko/claude-apps-gateway) 로그인 중에 게이트웨이가 로그인한 계정을 알려 주었고, Claude Code는 자격 증명을 저장하기 전에 이를 확인하도록 요청했습니다. 확인 화면이 로그인 자체의 만료 시간을 넘겨 열려 있었고, 게이트웨이가 이를 갱신할 수 있는 리프레시 토큰을 발급하지 않았기 때문에 계속 진행했을 때 Claude Code는 아무것도 저장하지 않았습니다.
2043 2063
2044```text theme={null}2064```text theme={null}
2045Sign-in timed out while waiting for you to continue. Try again.2065Sign-in timed out while waiting for you to continue. Try again.
2046```2066```
2047 2067
2048**조치 방법:**2068**해결 방법:**
2049 2069
2050* `/login`을 다시 실행하고 로그인이 만료되기 전에 계정을 확인합니다2070* `/login`을 다시 실행하고 로그인이 만료되기 전에 계정을 확인합니다
2051 2071
2052### Gateway refused the request2072### Gateway refused the request
2053 2073
2054[Claude apps 게이트웨이](https://code.claude.com/docs/ko/claude-apps-gateway)를 통해 로그인한 상태에서 요청이 403을 반환했습니다. 게이트웨이 또는 그 뒤의 업스트림이 요청을 거부한 것입니다. 다시 로그인해도 거부는 바뀌지 않으므로, 메시지는 게이트웨이 관리자에게 문의하도록 안내합니다.2074[Claude apps gateway](https://code.claude.com/docs/ko/claude-apps-gateway)를 통해 로그인한 상태에서 요청이 403을 반환했습니다. 게이트웨이 또는 그 뒤의 업스트림이 요청을 거부한 것입니다. 다시 로그인해도 거부는 바뀌지 않으므로 메시지는 게이트웨이 관리자에게 문의하도록 안내합니다.
2055 2075
2056```text theme={null}2076```text theme={null}
2057Gateway refused the request · signing in again won't change this — check with your gateway administrator · API Error: 403 ...2077Gateway refused the request · signing in again won't change this — check with your gateway administrator · API Error: 403 ...
2058```2078```
2059 2079
2060**조치 방법:**2080**해결 방법:**
2061 2081
2062* 게이트웨이 관리자에게 해당 요청을 조회해 달라고 요청합니다. `API Error:` 뒷부분에는 게이트웨이가 반환한 거부 내용이 포함되어 있습니다2082* 게이트웨이 관리자에게 해당 요청을 조회해 달라고 요청합니다. `API Error:` 뒷부분에 게이트웨이가 반환한 거부 내용이 담겨 있습니다
2063* 관리자의 경우: 게이트웨이의 [액세스 제어 규칙](https://code.claude.com/docs/ko/claude-apps-gateway-config.md#http-tuning)은 403을 반환하며 [감사 로그](https://code.claude.com/docs/ko/claude-apps-gateway-deploy.md#logs)에 그 사유가 기록됩니다. 업스트림의 인가 거부는 [업스트림 오류 메시지](https://code.claude.com/docs/ko/claude-apps-gateway-config.md#upstream-error-messages)에 따라 그대로 전달됩니다2083* 관리자의 경우: 게이트웨이의 [액세스 제어 규칙](https://code.claude.com/docs/ko/claude-apps-gateway-config.md#http-tuning)은 403을 반환하며 [감사 로그](https://code.claude.com/docs/ko/claude-apps-gateway-deploy.md#logs)에 그 사유가 기록됩니다. 업스트림의 인가 거부는 [업스트림 오류 메시지](https://code.claude.com/docs/ko/claude-apps-gateway-config.md#upstream-error-messages)에 따라 그대로 전달됩니다
2064 2084
2065v2.1.273 이전에는 게이트웨이 세션에서 발생한 403이 일반적인 `Please run /login` 또는 `Failed to authenticate` 메시지로 표시되었으며, 다시 로그인해도 거부가 해소되지 않았습니다.2085v2.1.273 이전에는 게이트웨이 세션의 403에 대해 일반적인 `Please run /login` 또는 `Failed to authenticate` 메시지가 대신 표시되었으며, 다시 로그인해도 거부가 해소되지 않았습니다.
2066 2086
2067## 네트워크 및 연결 오류2087## 네트워크 및 연결 오류
2068 2088
2069이러한 오류의 대부분은 Claude Code의 네트워크 요청이 목적지에 도달하지 못했거나, Claude Code와 API 사이의 무언가가 반환 경로에서 응답을 변경했음을 의미합니다. 항목에 실패한 아카이브 쓰기와 같은 로컬 원인도 있는 경우, 본문에 명시되어 있습니다. 이러한 오류는 일반적으로 로컬 네트워크, 프록시 또는 방화벽, 또는 클라우드 환경의 네트워크 정책에서 발생합니다.2089이러한 오류의 대부분은 Claude Code의 네트워크 요청이 목적지에 도달하지 못했거나, Claude Code와 API 사이에 있는 무언가가 돌아오는 응답을 변경했음을 의미합니다. 아카이브 쓰기 실패처럼 로컬 원인도 있는 항목은 본문에 그 내용이 명시되어 있습니다. 이러한 오류는 보통 로컬 네트워크, 프록시, 방화벽 또는 클라우드 환경의 네트워크 정책에서 발생합니다.
2070 2090
2071### Unable to connect to API2091### Unable to connect to API
2072 2092
2073API에 대한 TCP 연결이 실패했거나 완료되지 않았습니다. 일반적인 연결 오류 코드의 경우, 메시지는 실패의 종류를 명시하고 괄호 안에 코드를 유지합니다:2093API에 대한 TCP 연결이 실패했거나 완료되지 않았습니다. 일반적인 연결 오류 코드의 경우 메시지에 실패 유형이 표시되고 코드는 괄호 안에 유지됩니다.
2074 2094
2075```text theme={null}2095```text theme={null}
2076Unable to connect to API. Check your internet connection2096Unable to connect to API. Check your internet connection
2082Request timed out. Check your internet connection and proxy settings2102Request timed out. Check your internet connection and proxy settings
2083```2103```
2084 2104
2085Claude Code가 인식하지 못하는 코드는 `Unable to connect to API`로 표시되고 괄호 안에 코드가 나타납니다. 이러한 메시지 중 일부는 두 개 이상의 코드를 표시할 수 있습니다. 예를 들어 `Connection refused`는 `ConnectionRefused` 또는 `ECONNREFUSED`를 표시할 수 있고, `Can't reach the API server`는 `ENOTFOUND` 또는 `FailedToOpenSocket`을 표시할 수 있습니다.2105Claude Code가 인식하지 못하는 코드는 `Unable to connect to API` 뒤에 괄호로 코드가 붙은 형태로 표시됩니다. 일부 메시지는 둘 이상의 코드를 표시할 수 있습니다. 예를 들어 `Connection refused`는 `ConnectionRefused` 또는 `ECONNREFUSED`를, `Can't reach the API server`는 `ENOTFOUND` 또는 `FailedToOpenSocket`을 표시할 수 있습니다.
2086 2106
2087v2.1.227 이전에는 이러한 각 코드화된 메시지가 `Unable to connect to API` 뒤에 코드가 붙는 형태였습니다. 예를 들어 `Unable to connect to API (ECONNREFUSED)`입니다.2107v2.1.227 이전에는 이러한 코드가 포함된 메시지가 모두 `Unable to connect to API (ECONNREFUSED)`처럼 `Unable to connect to API` 뒤에 코드가 붙은 형태였습니다.
2088 2108
2089일반적인 원인으로는 인터넷 접근 불가, `api.anthropic.com`을 차단하는 VPN, 또는 구성되지 않은 필수 회사 프록시가 있습니다.2109일반적인 원인으로는 인터넷 접속 불가, `api.anthropic.com`을 차단하는 VPN, 필수 회사 프록시가 구성되지 않은 경우 등이 있습니다.
2090 2110
2091**수행할 작업:**2111**해결 방법:**
2092 2112
2093* 동일한 셸에서 `curl -I https://api.anthropic.com`을 실행하여 API 호스트에 도달할 수 있는지 확인합니다. Windows PowerShell에서는 `curl.exe -I https://api.anthropic.com`을 사용하여 기본 제공 `Invoke-WebRequest` 별칭이 사용되지 않도록 합니다.2113* 같은 셸에서 `curl -I https://api.anthropic.com`을 실행하여 API 호스트에 접근할 수 있는지 확인합니다. Windows PowerShell에서는 기본 제공 `Invoke-WebRequest` 별칭이 사용되지 않도록 `curl.exe -I https://api.anthropic.com`을 사용합니다.
2094* 회사 프록시 뒤에 있는 경우, Claude Code를 시작하기 전에 `HTTPS_PROXY`를 설정하고 [네트워크 구성](https://code.claude.com/docs/ko/network-config.md)을 참조합니다.2114* 회사 프록시 뒤에 있다면 Claude Code를 실행하기 전에 `HTTPS_PROXY`를 설정하고 [네트워크 구성](https://code.claude.com/docs/ko/network-config.md)을 참조합니다
2095* LLM 게이트웨이 또는 릴레이를 통해 라우팅하는 경우, [`ANTHROPIC_BASE_URL`](https://code.claude.com/docs/ko/env-vars)을 해당 주소로 설정합니다. 설정은 [Claude Code를 LLM 게이트웨이에 연결](https://code.claude.com/docs/ko/llm-gateway-connect.md)을 참조합니다.2115* LLM 게이트웨이나 릴레이를 경유한다면 [`ANTHROPIC_BASE_URL`](https://code.claude.com/docs/ko/env-vars)을 해당 주소로 설정합니다. 설정 방법은 [Claude Code를 LLM 게이트웨이에 연결하기](https://code.claude.com/docs/ko/llm-gateway-connect.md)를 참조합니다.
2096* `ANTHROPIC_BASE_URL`이 이미 게이트웨이를 가리키고 있는데 모든 요청이 `Connection dropped`로 끝나는 경우, 게이트웨이와 그 업스트림이 [도구 검색](https://code.claude.com/docs/ko/mcp.md#tool-search-through-a-gateway) 필드를 허용하는지 확인합니다. 기본적으로 Claude Code는 `defer_loading` 도구 필드와 `tool_reference` 블록을 이를 활성화하는 `anthropic-beta` 헤더와 함께 보냅니다. v2.1.304 이전에는 `ENABLE_TOOL_SEARCH`로 켜지 않는 한 게이트웨이 뒤에서 도구 검색이 꺼져 있었습니다.2116* `ANTHROPIC_BASE_URL`이 이미 게이트웨이를 가리키고 있는데 모든 요청이 `Connection dropped`로 끝난다면, 게이트웨이와 그 업스트림이 [도구 검색](https://code.claude.com/docs/ko/mcp.md#tool-search-through-a-gateway) 필드를 허용하는지 확인합니다. 기본적으로 Claude Code는 `defer_loading` 도구 필드와 `tool_reference` 블록을 이를 활성화하는 `anthropic-beta` 헤더와 함께 전송합니다. v2.1.304 이전에는 `ENABLE_TOOL_SEARCH`로 직접 켠 경우를 제외하고 게이트웨이 뒤에서는 도구 검색이 꺼져 있었습니다.
2097* 방화벽이 [네트워크 액세스 요구 사항](https://code.claude.com/docs/ko/network-config.md#network-access-requirements)에 나열된 호스트를 허용하는지 확인합니다.2117* 방화벽이 [네트워크 액세스 요구 사항](https://code.claude.com/docs/ko/network-config.md#network-access-requirements)에 나열된 호스트를 허용하는지 확인합니다
2098* 간헐적 실패는 [자동으로 재시도](#automatic-retries)됩니다.2118* 간헐적인 실패는 [자동으로 재시도됩니다](#automatic-retries)
2099 2119
2100`curl`이 성공하지만 Claude Code가 여전히 실패하는 경우, 원인은 일반적으로 네트워크 자체가 아니라 런타임과 네트워크 사이의 무언가입니다:2120`curl`은 성공하지만 Claude Code가 여전히 실패한다면, 원인은 대개 네트워크 자체가 아니라 런타임과 네트워크 사이의 무언가입니다.
2101 2121
2102* `ANTHROPIC_BASE_URL`이 설정되어 있는지 `echo $ANTHROPIC_BASE_URL`을 실행하여 확인하거나, PowerShell에서 `echo $env:ANTHROPIC_BASE_URL`을 실행하고 [설정 파일](https://code.claude.com/docs/ko/settings.md)의 `env` 블록에서 찾습니다. 설정되면 Claude Code는 모델 요청을 `api.anthropic.com` 대신 해당 주소로 보내므로, 더 이상 실행되지 않는 로컬 프록시 또는 게이트웨이를 가리키는 남은 값은 `curl`이 API에 도달하더라도 `Connection refused`를 생성합니다. 셸 프로필 또는 설정에서 제거하고 새 터미널에서 Claude Code를 시작합니다.2122* `echo $ANTHROPIC_BASE_URL`(PowerShell에서는 `echo $env:ANTHROPIC_BASE_URL`)을 실행하여 `ANTHROPIC_BASE_URL`이 설정되어 있는지 확인하고, [설정 파일](https://code.claude.com/docs/ko/settings.md)의 `env` 블록에도 있는지 살펴봅니다. 이 값이 설정되어 있으면 Claude Code는 모델 요청을 `api.anthropic.com` 대신 해당 주소로 보내므로, 더 이상 실행되지 않는 로컬 프록시나 게이트웨이를 가리키는 값이 남아 있으면 `curl`이 API에 도달하더라도 `Connection refused`가 발생합니다. 셸 프로필이나 설정에서 이 값을 제거하고 새 터미널에서 Claude Code를 시작합니다.
2103* Linux 및 WSL에서 `/etc/resolv.conf`에서 도달할 수 없는 네임서버를 확인합니다. 특히 WSL은 호스트에서 손상된 리졸버를 상속할 수 있습니다.2123* Linux와 WSL에서는 `/etc/resolv.conf`에 접근할 수 없는 네임서버가 있는지 확인합니다. 특히 WSL은 호스트로부터 잘못된 리졸버를 상속받을 수 있습니다.
2104* macOS에서 연결이 끊어지거나 제거된 VPN 클라이언트는 터널 인터페이스 또는 라우팅 규칙을 남길 수 있습니다. `ifconfig`에서 오래된 `utun` 인터페이스를 확인하고 시스템 설정에서 VPN의 네트워크 확장을 제거합니다.2124* macOS에서는 연결이 끊기거나 제거된 VPN 클라이언트가 터널 인터페이스나 라우팅 규칙을 남길 수 있습니다. `ifconfig`에서 오래된 `utun` 인터페이스가 있는지 확인하고 시스템 설정에서 VPN의 네트워크 확장을 제거합니다.
2105* Docker Desktop 및 유사한 컨테이너 런타임은 아웃바운드 트래픽을 가로챌 수 있습니다. 이를 배제하기 위해 종료하고 다시 시도합니다.2125* Docker Desktop 및 유사한 컨테이너 런타임은 아웃바운드 트래픽을 가로챌 수 있습니다. 이를 배제하려면 해당 프로그램을 종료하고 다시 시도합니다.
2106 2126
2107### Unable to connect to Anthropic services2127### Unable to connect to Anthropic services
2108 2128
2109첫 실행 설정 중에 Claude Code는 로그인 단계를 표시하기 전에 `api.anthropic.com` 및 `platform.claude.com`에 도달할 수 있는지 확인합니다. 두 확인 중 하나라도 실패하면 Claude Code는 이유를 인쇄하고 종료합니다.2129최초 실행 설정 중에 Claude Code는 로그인 단계를 표시하기 전에 `api.anthropic.com`과 `platform.claude.com`에 접근할 수 있는지 확인합니다. 둘 중 하나의 확인이 실패하면 Claude Code는 이유를 출력하고 종료합니다.
2110 2130
2111```text theme={null}2131```text theme={null}
2112Unable to connect to Anthropic services2132Unable to connect to Anthropic services
2115A proxy is configured via HTTPS_PROXY. Check that it allows connections to the host above.2135A proxy is configured via HTTPS_PROXY. Check that it allows connections to the host above.
2116```2136```
2117 2137
2118Claude Code는 API 요청과 동일한 [프록시 구성](https://code.claude.com/docs/ko/network-config.md)을 통해 확인을 보내고 각 프로브에 10초를 제공합니다. 실패한 프로브가 프록시를 통과한 경우, 메시지는 `HTTPS_PROXY`와 같이 이를 구성한 환경 변수의 이름을 지정합니다. v2.1.222 이전에는 확인이 타임아웃이 없는 다른 프록시 전송을 사용했습니다. `https://` 스키마가 있는 프록시 URL 뒤에서 `Checking connectivity...`에서 무한정 정지될 수 있었고, 동일한 프록시를 통한 API 요청이 성공하더라도 실패할 수 있었습니다.2138Claude Code는 API 요청과 동일한 [프록시 구성](https://code.claude.com/docs/ko/network-config.md)을 통해 이 확인을 보내며, 각 확인 요청에 10초를 부여합니다. 실패한 확인 요청이 프록시를 거친 경우, 메시지에 `HTTPS_PROXY`처럼 해당 프록시를 구성한 환경 변수의 이름이 표시됩니다. v2.1.222 이전에는 이 확인이 타임아웃이 없는 다른 프록시 전송 방식을 사용했습니다. 그래서 `https://` 스킴을 사용하는 프록시 URL 뒤에서는 `Checking connectivity...` 상태에서 무기한 멈춘 뒤, 같은 프록시를 통한 API 요청은 성공하는데도 실패할 수 있었습니다.
2119 2139
2120Claude Code는 [관리형 설정 파일, MDM 정책 또는 정책 도우미](https://code.claude.com/docs/ko/managed-settings.md)가 [`forceLoginMethod`](https://code.claude.com/docs/ko/settings-reference#forceloginmethod)를 `"gateway"`로 설정하거나 `forceLoginMethod` 없이 [`forceLoginGatewayUrl`](https://code.claude.com/docs/ko/settings-reference#forcelogingatewayurl)을 설정할 때 이 확인을 건너뜁니다. 두 구성 중 하나를 사용하면 Claude Code는 Anthropic 로그인 방법이 아닌 **Cloud gateway** 화면에서 로그인 단계를 엽니다. Claude Code는 또한 머신에 관리형 설정 소스가 존재하지만 읽을 수 없을 때 확인을 건너뜁니다. 해당 소스가 게이트웨이 구성을 보유할 수 있기 때문입니다. v2.1.247 이전에는 Claude Code가 이 구성에서도 확인을 실행했고, Anthropic의 엔드포인트에 도달할 수 없을 때 이 오류로 종료했습니다.2140[관리형 설정 파일, MDM 정책 또는 정책 헬퍼](https://code.claude.com/docs/ko/managed-settings.md)가 [`forceLoginMethod`](https://code.claude.com/docs/ko/settings-reference#forceloginmethod)를 `"gateway"`로 설정하거나, `forceLoginMethod` 없이 [`forceLoginGatewayUrl`](https://code.claude.com/docs/ko/settings-reference#forcelogingatewayurl)을 설정한 경우 Claude Code는 이 확인을 건너뜁니다. 두 구성 모두에서 Claude Code는 Anthropic 로그인 방식 대신 **Cloud gateway** 화면에서 로그인 단계를 엽니다. 또한 머신에 관리형 설정 소스가 존재하지만 읽을 수 없는 경우에도, 해당 소스에 게이트웨이 구성이 있을 수 있으므로 Claude Code는 확인을 건너뜁니다. v2.1.247 이전에는 이 구성에서도 Claude Code가 확인을 실행했으며, Anthropic의 엔드포인트에 접근할 수 없으면 이 오류와 함께 종료했습니다.
2121 2141
2122Claude Code는 관리형 설정이 없는 머신에서 사용자 자신의 `~/.claude/settings.json`이 `forceLoginMethod` 및 `forceLoginGatewayUrl`로 [게이트웨이를 지정](https://code.claude.com/docs/ko/claude-apps-gateway#set-the-gateway-url-in-user-settings)하는 경우에도 확인을 건너뜁니다. v2.1.295 이전에는 Claude Code가 이 경우에도 확인을 실행했습니다.2142관리형 설정이 없는 머신에서 사용자 자신의 `~/.claude/settings.json`이 `forceLoginMethod`와 `forceLoginGatewayUrl`로 [게이트웨이를 지정한](https://code.claude.com/docs/ko/claude-apps-gateway#set-the-gateway-url-in-user-settings) 경우에도 Claude Code는 확인을 건너뜁니다. v2.1.295 이전에는 이 경우에도 Claude Code가 확인을 실행했습니다.
2123 2143
2124**수행할 작업:**2144**해결 방법:**
2125 2145
2126* 메시지가 프록시 변수의 이름을 지정하는 경우, 해당 값이 올바른 프록시를 가리키는지 확인하고 네트워크 팀에 메시지의 호스트에 대한 HTTPS 연결을 허용하도록 요청합니다. [네트워크 구성](https://code.claude.com/docs/ko/network-config.md)을 참조합니다.2146* 메시지에 프록시 변수가 표시되면 그 값이 올바른 프록시를 가리키는지 확인하고, 네트워크 팀에 해당 프록시를 통해 메시지에 표시된 호스트로의 HTTPS 연결을 허용해 달라고 요청합니다. [네트워크 구성](https://code.claude.com/docs/ko/network-config.md)을 참조합니다.
2127* [Unable to connect to API](#unable-to-connect-to-api)의 확인을 진행합니다. 거기의 `curl` 테스트 및 방화벽 지침이 이 확인에도 적용됩니다.2147* [Unable to connect to API](#unable-to-connect-to-api)의 확인 사항을 차례로 점검합니다. 그곳의 `curl` 테스트와 방화벽 안내는 이 확인에도 적용됩니다.
2128* 네트워크가 열려 있고 실패가 지속되는 경우, Claude Code가 [해당 국가에서 사용 가능하지 않을 수 있습니다](https://www.anthropic.com/supported-countries).2148* 네트워크가 열려 있는데도 실패가 계속된다면 Claude Code가 [해당 국가에서 제공되지 않을](https://www.anthropic.com/supported-countries) 수 있습니다
2129 2149
2130### Socket is closed2150### Socket is closed
2131 2151
2132`Socket is closed`는 스트리밍 응답을 전달하는 연결이 응답이 여전히 도착하는 동안 닫혔음을 의미합니다. 가장 일반적인 원인은 Windows의 회사 프록시가 응답 중간에 설정된 터널을 삭제하는 것입니다.2152`Socket is closed`는 스트리밍 응답을 전달하던 연결이 응답이 아직 도착하는 중에 닫혔음을 의미합니다. 가장 흔한 원인은 Windows의 회사 프록시가 응답 도중에 이미 설정된 터널을 끊는 것입니다.
2133 2153
2134응답이 진행된 정도에 따라 Claude Code는 요청을 재시도하거나, Claude가 생성한 내용을 유지하거나, 턴을 종료합니다. [자동 재시도](#automatic-retries)를 참조합니다.2154응답이 얼마나 진행되었는지에 따라 Claude Code는 요청을 재시도하거나, Claude가 생성한 내용을 유지하거나, 턴을 종료합니다. [자동 재시도](#automatic-retries)를 참조합니다.
2135 2155
2136v2.1.214 이전에는 Claude Code가 이 실패를 재시도하지 않았고, 턴이 `Socket is closed`를 포함하는 오류로 중지되었습니다.2156v2.1.214 이전에는 Claude Code가 이 실패를 재시도하지 않았으며, 턴이 `Socket is closed`를 포함한 오류와 함께 중단되었습니다.
2137 2157
2138**수행할 작업:**2158**해결 방법:**
2139 2159
2140* 이 오류가 표시되면 `claude update`로 v2.1.214 이상으로 업데이트한 다음 메시지를 다시 보냅니다.2160* 이 오류가 표시되면 `claude update`로 v2.1.214 이상으로 업데이트한 다음 메시지를 다시 보냅니다
2141* 업데이트 후 동일한 프록시 뒤에서 턴이 계속 실패하는 경우, [Unable to connect to API](#unable-to-connect-to-api)를 진행하고 [네트워크 구성](https://code.claude.com/docs/ko/network-config.md)에서 프록시 설정을 확인합니다.2161* 업데이트 후에도 같은 프록시 뒤에서 턴이 계속 실패한다면 [Unable to connect to API](#unable-to-connect-to-api)의 내용을 점검하고 [네트워크 구성](https://code.claude.com/docs/ko/network-config.md)에서 프록시 설정을 확인합니다
2142 2162
2143### API returned an empty or malformed response2163### API returned an empty or malformed response
2144 2164
2145Claude Code는 실패한 스트리밍 요청의 비스트리밍 재시도가 HTTP 성공 상태를 받지만 본문이 Claude API 메시지가 아닐 때 이 오류를 표시합니다. 일반적으로 HTML 오류 또는 로그인 페이지, 빈 본문 또는 다른 형식의 JSON입니다. 프록시, 게이트웨이 또는 네트워크 로그인 페이지가 API 대신 응답하는 것이 일반적인 원인입니다. Claude Code는 요청을 재시도하지 않으며, 턴이 이 오류로 종료됩니다.2165Claude Code는 실패한 스트리밍 요청을 비스트리밍으로 재시도했을 때 HTTP 성공 상태를 받았지만 본문이 Claude API 메시지가 아닌 경우 이 오류를 표시합니다. 흔히 HTML 오류 페이지나 로그인 페이지, 빈 본문, 또는 다른 형식의 JSON입니다. 보통 프록시, 게이트웨이 또는 네트워크 로그인 페이지가 API 대신 응답한 것이 원인입니다. Claude Code는 요청을 재시도하지 않으며, 턴은 이 오류와 함께 종료됩니다.
2146 2166
2147```text theme={null}2167```text theme={null}
2148API returned an empty or malformed response (HTTP 200) — check for a proxy or gateway intercepting the request.2168API returned an empty or malformed response (HTTP 200) — check for a proxy or gateway intercepting the request.
2149```2169```
2150 2170
2151그 시작 후, 메시지는 반환된 내용과 실패한 요청을 보고합니다:2171이 첫 부분 뒤에 메시지는 무엇이 돌아왔는지와 어떤 요청이 실패했는지를 보고합니다.
2152 2172
2153* 콘텐츠 유형, `body is an HTML page` 또는 `empty body`와 같은 본문의 종류, 바이트 단위의 크기, 응답이 Anthropic 요청 ID를 전달했는지 여부를 포함하는 `Response:` 절. 응답이 `nginx` 또는 `cloudflare`와 같은 인식 가능한 서버의 이름을 지정하거나 `cf-ray` 또는 `via`와 같은 중간 헤더를 전달하는 경우, 절은 이들도 나열합니다.2173* 콘텐츠 유형, `body is an HTML page`나 `empty body` 같은 본문의 종류, 바이트 단위 크기, 응답에 Anthropic 요청 ID가 포함되었는지 여부를 담은 `Response:` 절. 응답에 `nginx`나 `cloudflare`처럼 식별 가능한 서버가 명시되어 있거나 `cf-ray`나 `via` 같은 중간자 헤더가 포함되어 있으면 이 절에 해당 내용도 나열됩니다.
2154* 실패한 스트리밍 요청의 ID와 재시도를 트리거한 실패의 이름을 지정하는 문장. 스트림이 실패 전에 열린 경우, 도착한 스트림 이벤트의 수와, 이벤트가 하나라도 도착했다면 시도가 실패했을 때 스트림이 얼마나 오래 침묵했는지도 보고합니다.2174* 실패한 스트리밍 요청의 ID와 재시도를 유발한 실패를 명시하는 문장. 실패 전에 스트림이 열려 있었다면, 도착한 스트림 이벤트 수와, 이벤트가 하나라도 도착했다면 시도가 실패했을 때 스트림이 얼마나 오래 응답이 없었는지도 보고합니다.
2155 2175
2156v2.1.234 이전에는 메시지가 `intercepting the request` 후에 종료되었습니다.2176v2.1.234 이전에는 메시지가 `intercepting the request` 뒤에서 끝났습니다.
2157 2177
2158v2.1.271 이전에는 `text/plain`과 같은 비 JSON 콘텐츠 유형 아래에서 유효한 API 메시지를 전달한 회신도 이 오류로 턴을 종료했습니다. 일부 LLM 게이트웨이는 비스트리밍 회신에 해당 콘텐츠 유형을 사용합니다.2178v2.1.271 이전에는 `text/plain`처럼 JSON이 아닌 콘텐츠 유형으로 유효한 API 메시지를 전달한 응답도 이 오류와 함께 턴을 종료했습니다. 일부 LLM 게이트웨이는 비스트리밍 응답에 이 콘텐츠 유형을 사용합니다.
2159 2179
2160**수행할 작업:**2180**해결 방법:**
2161 2181
2162* `Response:` 절을 읽어 어느 시스템이 응답했는지 확인합니다. HTML 본문, Anthropic 요청 ID 없음, 또는 `nginx` 또는 `cloudflare`와 같은 명명된 서버는 Claude Code와 API 사이의 무언가가 대신 응답했음을 의미합니다.2182* `Response:` 절을 읽고 어떤 시스템이 응답했는지 확인합니다. HTML 본문, Anthropic 요청 ID 없음, 또는 `nginx`나 `cloudflare` 같은 서버 이름은 Claude Code와 API 사이의 무언가가 API 대신 응답했음을 의미합니다
2163* [LLM 게이트웨이](https://code.claude.com/docs/ko/llm-gateway-connect.md#troubleshoot-gateway-errors)를 통해 라우팅하는 경우, 직접 요청으로 경로를 테스트하고 비 API 응답을 반환하는 홉을 수정합니다.2183* [LLM 게이트웨이](https://code.claude.com/docs/ko/llm-gateway-connect.md#troubleshoot-gateway-errors)를 경유한다면 직접 요청으로 경로를 테스트하고 API가 아닌 응답을 반환하는 구간을 수정합니다
2164* 게스트 Wi-Fi와 같은 로그인 페이지가 있는 네트워크에서 브라우저에서 로그인을 완료한 다음 다시 시도합니다.2184* 게스트 Wi-Fi처럼 로그인 페이지가 있는 네트워크에서는 브라우저에서 로그인을 완료한 다음 다시 시도합니다
2165* 게이트웨이를 통한 비스트리밍 경로만 손상된 경우, [`CLAUDE_CODE_DISABLE_NONSTREAMING_FALLBACK=1`](https://code.claude.com/docs/ko/env-vars#variables)을 설정하여 스트리밍 엔드포인트 자체가 `404`를 반환할 때를 제외하고 이 폴백을 끕니다. 여기서 Claude Code는 여전히 폴백합니다.2185* 게이트웨이를 통한 비스트리밍 경로만 문제가 있다면 [`CLAUDE_CODE_DISABLE_NONSTREAMING_FALLBACK=1`](https://code.claude.com/docs/ko/env-vars#variables)을 설정하여 이 폴백을 끕니다. 단, 스트리밍 엔드포인트 자체가 `404`를 반환하는 경우에는 Claude Code가 여전히 폴백합니다
2166 2186
2167### Streaming response ended before any complete data was received2187### Streaming response ended before any complete data was received
2168 2188
2169모델 공급자의 스트리밍 응답이 사용 가능한 데이터를 전달하지 않고 완료되었으므로 Claude Code는 턴을 완료하기 위해 스트리밍 없이 요청을 다시 보냈습니다. Claude Code는 경고를 세션당 한 번, 대화형 세션에서만 표시합니다. v2.1.239 이전에는 Claude Code가 스트리밍 없이 자동으로 재시도했습니다.2189모델 제공업체의 스트리밍 응답이 사용 가능한 데이터를 전혀 전달하지 않고 완료되었으므로, Claude Code가 턴을 마치기 위해 스트리밍 없이 요청을 다시 보냈습니다. Claude Code는 이 경고를 대화형 세션에서만 세션당 한 번 표시합니다. v2.1.239 이전에는 Claude Code가 경고 없이 스트리밍 없이 재시도했습니다.
2170 2190
2171```text theme={null}2191```text theme={null}
2172Streaming response ended before any complete data was received. Retrying without streaming. If this keeps happening, check any proxy or gateway between Claude Code and your model provider.2192Streaming response ended before any complete data was received. Retrying without streaming. If this keeps happening, check any proxy or gateway between Claude Code and your model provider.
2173```2193```
2174 2194
2175Claude Code는 각 영향을 받는 요청을 두 번 보냅니다: 빈 스트리밍 시도 및 재시도. 일반적인 원인은 반환 경로에서 스트리밍 응답 본문을 소비하거나 변환하는 프록시 또는 게이트웨이입니다.2195Claude Code는 영향을 받는 각 요청을 두 번 보냅니다. 빈 스트리밍 시도와 재시도입니다. 일반적인 원인은 돌아오는 스트리밍 응답 본문을 소비하거나 변환하는 프록시 또는 게이트웨이입니다.
2176 2196
2177**수행할 작업:**2197**해결 방법:**
2178 2198
2179* Claude Code와 모델 공급자 사이의 프록시 또는 게이트웨이를 구성하여 스트리밍 응답 본문과 해당 헤더를 수정되지 않은 상태로 전달합니다.2199* Claude Code와 모델 제공업체 사이의 프록시나 게이트웨이가 스트리밍 응답 본문과 헤더를 수정 없이 그대로 전달하도록 구성합니다
2180* [Amazon Bedrock](https://code.claude.com/docs/ko/amazon-bedrock.md)에서 헤더 및 본문 요구 사항에 대해 [게이트웨이 또는 프록시 뒤의 스트리밍 오류](https://code.claude.com/docs/ko/amazon-bedrock.md#streaming-errors-behind-a-gateway-or-proxy)를 참조합니다.2200* [Amazon Bedrock](https://code.claude.com/docs/ko/amazon-bedrock.md)에서는 헤더 및 본문 요구 사항에 대해 [게이트웨이 또는 프록시 뒤의 스트리밍 오류](https://code.claude.com/docs/ko/amazon-bedrock.md#streaming-errors-behind-a-gateway-or-proxy)를 참조합니다
2181 2201
2182### Bedrock 스트리밍 응답에 예상치 못한 content-type이 있습니다2202### Bedrock streaming response has an unexpected content-type
2183 2203
2184Claude Code와 [Amazon Bedrock](https://code.claude.com/docs/ko/amazon-bedrock.md) 사이의 게이트웨이 또는 프록시가 스트리밍 응답 본문 또는 해당 `Content-Type` 헤더를 변환하고 있습니다. Amazon Bedrock은 응답을 `application/vnd.amazon.eventstream`으로 스트리밍합니다. Claude Code는 읽을 수 없는 본문을 디코딩하는 대신 다른 content-type을 보고하는 성공적인 스트리밍 응답을 거부합니다. Claude Code는 요청을 재시도하지 않습니다.2204Claude Code와 [Amazon Bedrock](https://code.claude.com/docs/ko/amazon-bedrock.md) 사이의 게이트웨이나 프록시가 스트리밍 응답 본문이나 `Content-Type` 헤더를 변환하고 있습니다. Amazon Bedrock은 응답을 `application/vnd.amazon.eventstream`으로 스트리밍합니다. Claude Code는 읽을 수 없는 본문을 디코딩하는 대신, 다른 content-type을 보고하는 성공한 스트리밍 응답을 거부합니다. Claude Code는 요청을 재시도하지 않습니다.
2185 2205
2186```text theme={null}2206```text theme={null}
2187Bedrock streaming response has content-type "text/event-stream"; expected "application/vnd.amazon.eventstream". A gateway or proxy between Claude Code and Bedrock is likely transforming the response body — Bedrock's binary event-stream format must be passed through unmodified. Set CLAUDE_CODE_DISABLE_BEDROCK_CONTENT_TYPE_GUARD=1 to suppress this check while the gateway is being fixed.2207Bedrock streaming response has content-type "text/event-stream"; expected "application/vnd.amazon.eventstream". A gateway or proxy between Claude Code and Bedrock is likely transforming the response body — Bedrock's binary event-stream format must be passed through unmodified. Set CLAUDE_CODE_DISABLE_BEDROCK_CONTENT_TYPE_GUARD=1 to suppress this check while the gateway is being fixed.
2188```2208```
2189 2209
2190v2.1.208 이전에는 동일한 잘못된 구성이 전체 응답이 버퍼링된 후 `API Error: Truncated event message received`로 표시되었습니다.2210v2.1.208 이전에는 같은 잘못된 구성이 전체 응답이 버퍼링된 후 `API Error: Truncated event message received`로 나타났습니다.
2191 2211
2192**수행할 작업:**2212**해결 방법:**
2193 2213
2194* 게이트웨이를 구성하여 `InvokeModelWithResponseStream` 응답 본문과 해당 `Content-Type` 헤더를 수정되지 않은 상태로 전달합니다. 스트림을 서버 전송 이벤트로 다시 내보내는 중간자가 일반적인 원인입니다.2214* 게이트웨이가 `InvokeModelWithResponseStream` 응답 본문과 `Content-Type` 헤더를 수정 없이 그대로 전달하도록 구성합니다. 스트림을 server-sent events로 다시 내보내는 중간자가 흔한 원인입니다.
2195* [`CLAUDE_CODE_DISABLE_BEDROCK_CONTENT_TYPE_GUARD=1`](https://code.claude.com/docs/ko/env-vars)을 설정하면 이 오류가 숨겨지지만, Claude Code는 다시 작성된 헤더 아래에서 이진 본문을 디코딩하지 않으므로 이러한 요청은 더 느린 비스트리밍 경로로 폴백합니다. [게이트웨이 또는 프록시 뒤의 스트리밍 오류](https://code.claude.com/docs/ko/amazon-bedrock.md#streaming-errors-behind-a-gateway-or-proxy)를 참조합니다.2215* [`CLAUDE_CODE_DISABLE_BEDROCK_CONTENT_TYPE_GUARD=1`](https://code.claude.com/docs/ko/env-vars)을 설정하면 이 오류가 숨겨지지만, Claude Code는 다시 작성된 헤더 아래의 바이너리 본문을 디코딩하지 않으므로 해당 요청은 더 느린 비스트리밍 경로로 폴백합니다. [게이트웨이 또는 프록시 뒤의 스트리밍 오류](https://code.claude.com/docs/ko/amazon-bedrock.md#streaming-errors-behind-a-gateway-or-proxy)를 참조합니다.
2196 2216
2197### SSL 인증서 오류2217### SSL 인증서 오류
2198 2218
2199네트워크의 프록시 또는 보안 어플라이언스가 자체 인증서로 TLS 트래픽을 가로채고 있으며, Claude Code가 이를 신뢰하지 않습니다.2219네트워크의 프록시나 보안 장비가 자체 인증서로 TLS 트래픽을 가로채고 있으며, Claude Code가 이 인증서를 신뢰하지 않습니다.
2200 2220
2201```text theme={null}2221```text theme={null}
2202Unable to connect to API: SSL certificate verification failed (UNABLE_TO_GET_ISSUER_CERT_LOCALLY). The certificate comes from an authority Claude Code doesn't trust, usually a TLS-inspecting corporate proxy or a gateway signed by a private CA: set NODE_EXTRA_CA_CERTS to that CA bundle, or add it to the system certificate store · see https://code.claude.com/docs/en/network-config2222Unable to connect to API: SSL certificate verification failed (UNABLE_TO_GET_ISSUER_CERT_LOCALLY). The certificate comes from an authority Claude Code doesn't trust, usually a TLS-inspecting corporate proxy or a gateway signed by a private CA: set NODE_EXTRA_CA_CERTS to that CA bundle, or add it to the system certificate store · see https://code.claude.com/docs/en/network-config
2203Unable to connect to API: Self-signed certificate detected (SELF_SIGNED_CERT_IN_CHAIN). The certificate comes from an authority Claude Code doesn't trust, usually a TLS-inspecting corporate proxy or a gateway signed by a private CA: set NODE_EXTRA_CA_CERTS to that CA bundle, or add it to the system certificate store · see https://code.claude.com/docs/en/network-config2223Unable to connect to API: Self-signed certificate detected (SELF_SIGNED_CERT_IN_CHAIN). The certificate comes from an authority Claude Code doesn't trust, usually a TLS-inspecting corporate proxy or a gateway signed by a private CA: set NODE_EXTRA_CA_CERTS to that CA bundle, or add it to the system certificate store · see https://code.claude.com/docs/en/network-config
2204```2224```
2205 2225
2206v2.1.273 이전에는 두 메시지 모두 OpenSSL 코드 또는 `NODE_EXTRA_CA_CERTS` 힌트 없이 `Check your proxy or corporate SSL certificates`에서 종료되었습니다.2226v2.1.273 이전에는 두 메시지 모두 OpenSSL 코드나 `NODE_EXTRA_CA_CERTS` 힌트 없이 `Check your proxy or corporate SSL certificates`에서 끝났습니다.
2207 2227
2208v2.1.199부터 인증서 검증 실패는 재시도되지 않으므로 이 오류는 전체 [재시도 예산](#automatic-retries) 후가 아닌 첫 시도에 나타납니다. 이전 버전은 표시하기 전에 몇 분 동안 재시도했습니다. 핸드셰이크 타임아웃과 같은 일시적 TLS 조건은 여전히 재시도됩니다.2228v2.1.199부터는 인증서 검증 실패가 재시도되지 않으므로, 이 오류는 전체 [재시도 한도](#automatic-retries)를 소진한 후가 아니라 첫 번째 시도에서 표시됩니다. 이전 버전에서는 오류를 표시하기 전에 몇 분 동안 재시도했습니다. 핸드셰이크 시간 초과 같은 일시적인 TLS 상황은 여전히 재시도됩니다.
2209 2229
2210`/login` 및 시작 연결 확인 중에 동일한 실패는 다른 메시지를 생성합니다:2230`/login` 및 시작 시 연결 확인 중에는 같은 실패가 다른 메시지를 생성합니다.
2211 2231
2212```text theme={null}2232```text theme={null}
2213SSL certificate error (UNABLE_TO_GET_ISSUER_CERT_LOCALLY). If you are behind a corporate proxy or TLS-intercepting firewall, set NODE_EXTRA_CA_CERTS to your CA bundle path, or ask IT to allowlist *.anthropic.com. Run `claude doctor` for details.2233SSL certificate error (UNABLE_TO_GET_ISSUER_CERT_LOCALLY). If you are behind a corporate proxy or TLS-intercepting firewall, set NODE_EXTRA_CA_CERTS to your CA bundle path, or ask IT to allowlist *.anthropic.com. Run `claude doctor` for details.
2214```2234```
2215 2235
2216[Amazon Bedrock](https://code.claude.com/docs/ko/amazon-bedrock.md)에서 Claude Code 자체가 AWS로 보내는 요청(예: STS 및 SSO 역할 자격 증명 호출, 모델 검색 및 설정 마법사의 확인)은 동일한 인증서 구성에 따라 달라집니다. [TLS 검사 프록시 뒤의 인증서 오류](https://code.claude.com/docs/ko/amazon-bedrock.md#certificate-errors-behind-a-tls-inspecting-proxy)를 참조합니다.2236[Amazon Bedrock](https://code.claude.com/docs/ko/amazon-bedrock.md)에서는 STS 및 SSO 역할 자격 증명 호출, 모델 검색, 설정 마법사의 확인 등 Claude Code 자체가 AWS로 보내는 요청도 같은 인증서 구성에 의존합니다. [TLS 검사 프록시 뒤의 인증서 오류](https://code.claude.com/docs/ko/amazon-bedrock.md#certificate-errors-behind-a-tls-inspecting-proxy)를 참조합니다.
2217 2237
2218**수행할 작업:**2238**해결 방법:**
2219 2239
2220* 조직의 CA 번들을 내보내고 `NODE_EXTRA_CA_CERTS=/path/to/ca-bundle.pem`으로 Claude Code를 가리킵니다.2240* 조직의 CA 번들을 내보내고 `NODE_EXTRA_CA_CERTS=/path/to/ca-bundle.pem`으로 Claude Code가 이를 가리키도록 합니다
2221* 전체 설정 지침은 [네트워크 구성](https://code.claude.com/docs/ko/network-config.md#custom-ca-certificates)을 참조합니다.2241* 전체 설정 방법은 [네트워크 구성](https://code.claude.com/docs/ko/network-config.md#custom-ca-certificates)을 참조합니다
2222* `NODE_TLS_REJECT_UNAUTHORIZED=0`을 설정하지 마십시오. 이는 인증서 검증을 완전히 비활성화합니다.2242* 인증서 검증을 완전히 비활성화하는 `NODE_TLS_REJECT_UNAUTHORIZED=0`은 설정하지 마십시오
2223 2243
2224### 클라우드 세션에서 호스트가 허용되지 않음2244### 클라우드 세션에서 허용되지 않는 호스트
2225 2245
2226클라우드 세션 또는 클라우드 예약 작업에서 `403` 또는 `ENOTFOUND`와 같은 DNS 오류는 요청한 호스트가 [클라우드 환경의 허용 목록](https://code.claude.com/docs/ko/cloud-environments.md#access-levels)에 없음을 의미할 수 있습니다. 확인하려면 해당 목록과 호스트를 대조합니다. 이 헤더가 있는 `403`은 차단을 확인해 주지만, 차단된 모든 요청의 `403`에 이 헤더가 있는 것은 아닙니다:2246클라우드 세션이나 클라우드 예약 작업에서 `403` 또는 `ENOTFOUND` 같은 DNS 오류는 요청한 호스트가 [클라우드 환경의 허용 목록](https://code.claude.com/docs/ko/cloud-environments.md#access-levels)에 없음을 의미할 수 있습니다. 확인하려면 해당 목록과 호스트를 대조합니다. 다음 헤더가 있는 `403`은 차단을 확정하지만, 차단된 요청의 `403`에 모두 이 헤더가 있는 것은 아닙니다.
2227 2247
2228```text theme={null}2248```text theme={null}
2229HTTP 4032249HTTP 403
2230x-deny-reason: host_not_allowed2250x-deny-reason: host_not_allowed
2231```2251```
2232 2252
2233대상의 실제 인증서와 일치하지 않는 TLS 인증서도 볼 수 있습니다. 클라우드 세션은 네트워크 정책을 적용하는 프록시를 통해 아웃바운드 트래픽을 라우팅하므로, 일치하지 않는 인증서는 프록시가 연결을 종료했음을 의미하며, 대상이 아닙니다.2253목적지의 실제 인증서와 일치하지 않는 TLS 인증서가 표시될 수도 있습니다. 클라우드 세션은 네트워크 정책을 적용하는 프록시를 통해 아웃바운드 트래픽을 라우팅하므로, 인증서가 일치하지 않는다는 것은 목적지가 아니라 프록시가 연결을 종료했음을 의미합니다.
2234 2254
2235이것은 클라이언트 측 네트워크 문제가 아닙니다. 클라우드 세션 및 [클라우드 예약 작업](https://code.claude.com/docs/ko/routines.md)은 세션의 네트워크를 통한 아웃바운드 트래픽이 [클라우드 환경의](https://code.claude.com/docs/ko/cloud-environments.md) 허용 목록으로 필터링되는 샌드박스 VM 내에서 실행됩니다:2255이 오류는 클라이언트 측 네트워크 문제가 아닙니다. 클라우드 세션과 [클라우드 예약 작업](https://code.claude.com/docs/ko/routines.md)은 샌드박스 VM 안에서 실행되며, 세션 네트워크를 통한 아웃바운드 트래픽은 [클라우드 환경](https://code.claude.com/docs/ko/cloud-environments.md)의 허용 목록으로 필터링됩니다.
2236 2256
2237* **GitHub 및 커넥터 트래픽**: [GitHub 작업](https://code.claude.com/docs/ko/cloud-environments.md#github-proxy) 및 MCP 커넥터 트래픽은 별도의 채널을 사용하므로 다른 호스트가 차단되는 동안에도 계속 작동할 수 있습니다.2257* **GitHub 및 커넥터 트래픽**: [GitHub 작업](https://code.claude.com/docs/ko/cloud-environments.md#github-proxy)과 MCP 커넥터 트래픽은 별도의 채널을 사용하므로, 다른 호스트가 차단되어도 계속 작동할 수 있습니다
2238* **기본 환경**: **기본** 환경은 **패키지 관리자 허용**이 선택된 **제한됨** 액세스를 사용합니다. 이 환경의 세션은 패키지 레지스트리, 클라우드 공급자 API, 컨테이너 레지스트리 및 일반적인 개발 도메인의 [기본 허용 목록](https://code.claude.com/docs/ko/cloud-environments.md#default-allowed-domains)에 도달할 수 있습니다.2258* **기본 환경**: **Default** 환경은 **Allow package managers**가 선택된 **Limited** 액세스를 사용합니다. 이 환경의 세션은 패키지 레지스트리, 클라우드 제공업체 API, 컨테이너 레지스트리, 일반적인 개발 도메인으로 구성된 [기본 허용 목록](https://code.claude.com/docs/ko/cloud-environments.md#default-allowed-domains)에 접근할 수 있습니다.
2239 2259
2240**수행할 작업:**2260**해결 방법:**
2241 2261
2242이러한 단계는 자신의 환경 중 하나를 변경합니다. [조직 공유 환경](https://code.claude.com/docs/ko/cloud-environments.md#organization-shared-environments)은 선택기에서 읽기 전용으로 열리므로, [관리자 설정](https://claude.ai/admin-settings)의 **클라우드 환경** 페이지에서 Owner에게 네트워크 액세스를 변경하도록 요청합니다.2262다음 단계는 사용자 자신의 환경 중 하나를 변경합니다. [조직 공유 환경](https://code.claude.com/docs/ko/cloud-environments.md#organization-shared-environments)은 선택기에서 읽기 전용으로 열리므로, Owner에게 [관리자 설정](https://claude.ai/admin-settings)의 **Cloud environments** 페이지에서 네트워크 액세스를 변경해 달라고 요청합니다.
2243 2263
2244* [클라우드 예약 작업의 양식](https://code.claude.com/docs/ko/routines.md#environments-and-network-access) 또는 클라우드 세션을 시작하는 [환경 선택기](https://code.claude.com/docs/ko/cloud-environments.md#configure-your-environment)에서 환경을 편집용으로 엽니다.2264* [클라우드 예약 작업의 양식](https://code.claude.com/docs/ko/routines.md#environments-and-network-access) 또는 클라우드 세션을 시작하는 [환경 선택기](https://code.claude.com/docs/ko/cloud-environments.md#configure-your-environment)에서 환경을 편집용으로 엽니다.
2245* **클라우드 환경 편집** 대화 상자에서 **네트워크 액세스** 아래의 **제한됨**을 선택한 다음 차단된 도메인을 **허용된 도메인**에 추가합니다. 한 줄에 하나의 도메인을 입력합니다. **패키지 관리자 허용**을 선택하여 사용자 도메인과 함께 [기본 허용 목록](https://code.claude.com/docs/ko/cloud-environments.md#default-allowed-domains)을 허용합니다. 제한 없는 액세스를 원하는 경우 대신 **전체**를 선택합니다.2265* **Edit cloud environment** 대화 상자에서 **Network access** 아래의 **Limited**를 선택한 다음, 차단된 도메인을 **Allowed domains**에 추가합니다. 한 줄에 하나의 도메인을 입력합니다. 직접 추가한 도메인과 함께 [기본 허용 목록](https://code.claude.com/docs/ko/cloud-environments.md#default-allowed-domains)도 허용하려면 **Allow package managers**를 선택합니다. 제한 없는 액세스를 원한다면 대신 **Full**을 선택합니다.
2246* **변경 사항 저장**을 클릭합니다. 다음 실행은 업데이트된 허용 목록을 사용합니다. 이미 열려 있는 클라우드 세션의 경우, [네트워크 액세스 변경이 기존 세션에 도달할 때](https://code.claude.com/docs/ko/cloud-environments.md#network-access)를 참조합니다.2266* **Save changes**를 클릭합니다. 다음 실행부터 업데이트된 허용 목록이 사용됩니다. 이미 열려 있는 클라우드 세션의 경우 [네트워크 액세스 변경이 기존 세션에 적용되는 시점](https://code.claude.com/docs/ko/cloud-environments.md#network-access)을 참조합니다.
2247 2267
2248액세스 수준 및 기본 허용 목록은 [네트워크 액세스](https://code.claude.com/docs/ko/cloud-environments.md#network-access)를 참조합니다. 로컬 CLI 세션은 이 정책의 영향을 받지 않습니다.2268액세스 수준과 기본 허용 목록은 [네트워크 액세스](https://code.claude.com/docs/ko/cloud-environments.md#network-access)를 참조합니다. 로컬 CLI 세션은 이 정책의 영향을 받지 않습니다.
2249 2269
2250### 프록시가 연결을 거부했습니다2270### The proxy refused the connection
2251 2271
2252`HTTPS_PROXY` 또는 관련 [프록시 변수](https://code.claude.com/docs/ko/network-config.md#environment-variables)에서 설정한 프록시를 통해 Claude가 [아티팩트](https://code.claude.com/docs/ko/artifacts.md)를 읽을 때 이 메시지가 표시됩니다. 아티팩트 콘텐츠는 `*.frame.claudeusercontent.com`에서 제공되므로 Claude Code는 먼저 프록시에 해당 호스트에 대한 터널을 열도록 요청하는 `CONNECT` 요청을 보냅니다. 프록시가 거부하면 아무것도 호스트에 도달하지 않으며, 메시지는 프록시의 HTTP 상태를 전달합니다:2272이 메시지는 Claude가 `HTTPS_PROXY` 또는 관련 [프록시 변수](https://code.claude.com/docs/ko/network-config.md#environment-variables)에 설정한 프록시를 통해 [아티팩트](https://code.claude.com/docs/ko/artifacts.md)를 읽을 때 표시됩니다. 아티팩트 콘텐츠는 `*.frame.claudeusercontent.com`에서 제공되므로, Claude Code는 먼저 프록시에 해당 호스트로의 터널을 열어 달라는 `CONNECT` 요청을 보냅니다. 프록시가 거부하면 호스트에는 아무것도 도달하지 않으며, 메시지에 프록시의 HTTP 상태가 포함됩니다.
2253 2273
2254```text theme={null}2274```text theme={null}
2255artifact content fetch failed (proxy refused the connection: HTTP 407)2275artifact content fetch failed (proxy refused the connection: HTTP 407)
2257the proxy refused the connection to the artifact's content host (HTTP 502)2277the proxy refused the connection to the artifact's content host (HTTP 502)
2258```2278```
2259 2279
2260상태는 `CONNECT`에 대한 프록시의 응답입니다. 호스트는 응답하지 않았으므로 각 상태는 다른 수정을 가리킵니다:2280이 상태는 `CONNECT`에 대한 프록시의 응답입니다. 호스트는 응답한 적이 없으므로 각 상태는 서로 다른 해결 방법을 가리킵니다.
2261 2281
2262* `HTTP 407`: 프록시가 받지 못한 자격 증명이 필요합니다. [기본 인증](https://code.claude.com/docs/ko/network-config.md#basic-authentication)이 표시하는 대로 프록시 URL에 넣습니다.2282* `HTTP 407`: 프록시가 필요한 자격 증명을 받지 못했습니다. [기본 인증](https://code.claude.com/docs/ko/network-config.md#basic-authentication)에 나온 대로 프록시 URL에 자격 증명을 넣습니다.
2263* `HTTP 403`: 프록시가 `*.frame.claudeusercontent.com`으로의 터널링을 거부합니다. 프록시를 실행하는 사람에게 해당 호스트를 허용하도록 요청합니다. [네트워크 액세스 요구 사항](https://code.claude.com/docs/ko/network-config.md#network-access-requirements)에 나열되어 있습니다.2283* `HTTP 403`: 프록시가 `*.frame.claudeusercontent.com`으로의 터널링을 거부합니다. 프록시 운영자에게 [네트워크 액세스 요구 사항](https://code.claude.com/docs/ko/network-config.md#network-access-requirements)에 나열된 이 호스트를 허용해 달라고 요청합니다.
2264* `HTTP 502`와 같은 다른 상태: 프록시가 호스트에 도달하지 못하는 등의 자체 이유로 터널을 열지 않았습니다. 프록시의 로그에서 상태를 찾습니다.2284* `HTTP 502` 같은 기타 상태: 호스트에 도달하지 못하는 등 프록시 자체의 이유로 터널을 열지 않았습니다. 프록시 로그에서 해당 상태를 찾아봅니다.
2265* 상태 대신 `unreadable reply`: 프록시 주소의 무언가가 HTTP 상태 줄로 응답하지 않았습니다. 주소가 HTTP 프록시인지 확인합니다.2285* 상태 대신 `unreadable reply`: 프록시 주소에 있는 무언가가 HTTP 상태 줄로 응답하지 않았습니다. 해당 주소가 HTTP 프록시인지 확인합니다.
2266 2286
2267**수행할 작업:**2287**해결 방법:**
2268 2288
2269* [프록시 구성](https://code.claude.com/docs/ko/network-config.md#proxy-configuration)이 설명하는 대로 프록시 변수의 주소와 자격 증명을 확인한 다음 Claude Code를 시작하는 셸에서 `curl -x http://proxy.example.com:8080 -I https://api.anthropic.com`을 실행합니다. 자신의 프록시 URL을 사용합니다. Windows PowerShell에서 `curl.exe`를 실행합니다. 이 프로브가 동일한 방식으로 실패하면 먼저 프록시 설정을 수정합니다. 성공하면 거부는 아티팩트 호스트에만 해당됩니다.2289* [프록시 구성](https://code.claude.com/docs/ko/network-config.md#proxy-configuration)에 설명된 대로 프록시 변수의 주소와 자격 증명을 확인한 다음, Claude Code를 시작하는 셸에서 자신의 프록시 URL을 사용하여 `curl -x http://proxy.example.com:8080 -I https://api.anthropic.com`을 실행합니다. Windows PowerShell에서는 `curl.exe`를 실행합니다. 이 확인이 같은 방식으로 실패하면 먼저 프록시 설정을 수정합니다. 성공한다면 거부는 아티팩트 호스트에 국한된 것입니다.
2270* 네트워크가 Claude Code가 아티팩트 호스트에 직접 도달하도록 허용하는 경우, `.frame.claudeusercontent.com`을 [`NO_PROXY`](https://code.claude.com/docs/ko/network-config#environment-variables)에 추가합니다. 항목을 좁게 유지합니다: 더 넓은 `.claudeusercontent.com` 항목도 [IP 허용 목록](https://code.claude.com/docs/ko/network-config.md#organization-ip-allowlists-and-proxy-egress)이 있는 조직이 프록시에 유지해야 하는 `bridge.claudeusercontent.com`에 대한 프록시를 우회합니다.2290* 네트워크에서 Claude Code가 아티팩트 호스트에 직접 접근할 수 있다면 `.frame.claudeusercontent.com`을 [`NO_PROXY`](https://code.claude.com/docs/ko/network-config#environment-variables)에 추가합니다. 항목은 이렇게 좁게 유지합니다. 더 넓은 `.claudeusercontent.com` 항목은 `bridge.claudeusercontent.com`도 프록시를 우회하게 만드는데, [IP 허용 목록](https://code.claude.com/docs/ko/network-config.md#organization-ip-allowlists-and-proxy-egress)을 사용하는 조직은 이 호스트를 프록시에 유지해야 합니다.
2271 2291
2272v2.1.238 이전에는 Claude Code가 거부된 터널을 일반 네트워크 오류로 보고했습니다.2292v2.1.238 이전에는 Claude Code가 거부된 터널을 일반적인 네트워크 오류로 보고했습니다.
2273 2293
2274### 클라우드 환경 서비스가 빈 응답 또는 예상치 못한 응답을 반환했습니다2294### The cloud environments service returned an empty or unexpected response
2275 2295
2276Claude Code는 CLI에서 클라우드 세션을 만들거나 [`/remote-env`](https://code.claude.com/docs/ko/cloud-environments#select-an-environment-from-the-cli)를 실행할 때와 같은 여러 지점에서 [클라우드 환경](https://code.claude.com/docs/ko/cloud-environments.md) 목록을 요청합니다. 서버의 응답을 읽을 수 없으면 다음 메시지 중 하나를 표시합니다:2296Claude Code는 CLI에서 클라우드 세션을 만들거나 [`/remote-env`](https://code.claude.com/docs/ko/cloud-environments#select-an-environment-from-the-cli)를 실행할 때 등 여러 시점에 [클라우드 환경](https://code.claude.com/docs/ko/cloud-environments.md) 목록을 요청합니다. 서버의 응답을 읽을 수 없으면 다음 메시지 중 하나를 표시합니다.
2277 2297
2278```text theme={null}2298```text theme={null}
2279The cloud environments service returned an empty response (HTTP 200 with no body). This is usually temporary — try again in a moment.2299The cloud environments service returned an empty response (HTTP 200 with no body). This is usually temporary — try again in a moment.
2281The cloud environments service returned a response in an unexpected format (HTTP 200 without a usable environments list). This is usually temporary — try again in a moment.2301The cloud environments service returned a response in an unexpected format (HTTP 200 without a usable environments list). This is usually temporary — try again in a moment.
2282```2302```
2283 2303
2284서버는 요청을 수락했지만 환경 목록이 아닌 본문으로 응답했습니다: 비어 있음, JSON이 아님, 또는 목록이 없는 JSON. 이는 일반적으로 서비스 측 중단을 동반하며 자체적으로 해결됩니다. 목록을 요청한 사용 환경에 따라 Claude Code는 `/remote-env` 대화 상자에서 `couldn't list environments:`와 같은 접두사를 추가할 수 있습니다.2304서버가 요청을 수락했지만 환경 목록이 아닌 본문, 즉 빈 본문, JSON이 아닌 본문 또는 목록이 없는 JSON으로 응답했습니다. 이는 보통 서비스 측 장애와 함께 발생하며 저절로 해소됩니다. 목록을 요청한 사용 환경에 따라 Claude Code는 `/remote-env` 대화 상자의 `couldn't list environments:`처럼 접두사를 추가할 수 있습니다.
2285 2305
2286**수행할 작업:**2306**해결 방법:**
2287 2307
2288* 작업을 다시 시도합니다. Claude Code는 매번 목록을 다시 요청합니다.2308* 작업을 다시 시도합니다. Claude Code는 매번 목록을 다시 요청합니다
2289* 메시지가 계속 나타나면 활성 인시던트에 대해 [status.claude.com](https://status.claude.com)을 확인합니다.2309* 메시지가 계속 표시되면 [status.claude.com](https://status.claude.com)에서 진행 중인 장애가 있는지 확인합니다
2290 2310
2291v2.1.236 이전에는 Claude Code가 이러한 메시지 대신 원시 JavaScript TypeError를 표시했습니다.2311v2.1.236 이전에는 Claude Code가 이러한 메시지 대신 원시 JavaScript TypeError를 표시했습니다.
2292 2312
2293### Failed to fetch session from Sessions API2313### Failed to fetch session from Sessions API
2294 2314
2295이 메시지는 Claude Code가 [터미널로 가져오도록 요청한 클라우드 세션](https://code.claude.com/docs/ko/claude-code-on-the-web.md#from-cloud-to-terminal)을 찾았지만 Anthropic 서버에서 해당 세션의 대화 기록을 읽을 수 없어 세션을 열지 않았음을 의미합니다:2315이 메시지는 Claude Code가 [터미널로 가져오도록 요청한 클라우드 세션](https://code.claude.com/docs/ko/claude-code-on-the-web.md#from-cloud-to-terminal)을 찾았지만 Anthropic 서버에서 대화 기록을 읽을 수 없어 세션을 열지 않았음을 의미합니다.
2296 2316
2297```text theme={null}2317```text theme={null}
2298Failed to fetch session from Sessions API: Failed to fetch session logs2318Failed to fetch session from Sessions API: Failed to fetch session logs
2299```2319```
2300 2320
2301이 메시지는 `claude --teleport`, `/teleport`를 실행하거나 [`/tasks`](https://code.claude.com/docs/ko/commands) 목록에서 세션을 선택한 후에 표시됩니다. `claude --teleport <session-id>`는 이 메시지를 출력하고 코드 1로 종료합니다.2321이 메시지는 `claude --teleport`, `/teleport` 실행 후 또는 [`/tasks`](https://code.claude.com/docs/ko/commands) 목록에서 세션을 선택한 후에 표시됩니다. `claude --teleport <session-id>`는 이 메시지를 출력하고 코드 1로 종료합니다.
2302 2322
2303**수행할 작업:**2323**해결 방법:**
2324
2325* 같은 Teleport를 다시 실행합니다. 같은 방식으로 실패하면 [문제를 보고합니다](#report-an-error)
2304 2326
2305* 동일한 Teleport를 다시 실행합니다. 같은 방식으로 실패하면 [문제를 보고](#report-an-error)합니다.2327v2.1.296 이전에는 Claude Code가 실패한 읽기를 재시도하지 않았으며, 한 번 실패한 후 이 메시지를 출력하는 대신 빈 대화로 세션을 열고 성공을 보고할 수 있었습니다.
2306 2328
2307v2.1.296 이전에는 Claude Code가 실패한 읽기를 재시도하지 않았고, 읽기에 실패한 후 이 메시지를 출력하는 대신 빈 대화로 세션을 열고 성공을 보고할 수 있었습니다.2329### Couldn't load the history of cloud session
2330
2331이 메시지는 Claude Code가 [터미널로 가져오도록 요청한 클라우드 세션](https://code.claude.com/docs/ko/claude-code-on-the-web.md#from-cloud-to-terminal)을 찾았지만, 대화 기록 요청이 찾을 수 없음으로 반환되었음을 의미합니다.
2332
2333```text theme={null}
2334Couldn't load the history of cloud session session_01HJKLMNOPQRSTUVWXYZ. Check it at https://claude.ai/code/session_01HJKLMNOPQRSTUVWXYZ?from=cli
2335```
2336
2337**해결 방법:**
2338
2339* 메시지에 있는 링크를 열어 브라우저에서 세션을 확인합니다. 브라우저에서는 열리는데 같은 Teleport가 다시 이렇게 실패하면 [문제를 보고합니다](#report-an-error).
2308 2340
2309### Couldn't reconnect to your Remote Control session2341### Couldn't reconnect to your Remote Control session
2310 2342
2312Couldn't reconnect to your Remote Control session. Retry, or start a fresh session without --resume.2344Couldn't reconnect to your Remote Control session. Retry, or start a fresh session without --resume.
2313```2345```
2314 2346
2315`claude --resume` 또는 `claude --continue`로 재개하면 해당 대화에 기록된 [Remote Control](https://code.claude.com/docs/ko/remote-control.md) 세션에 다시 연결됩니다. 이 메시지는 네트워크 중단 또는 서버 오류와 같이 일시적일 수 있는 이유로 재연결이 실패했음을 의미하므로 Claude Code는 원격 세션이 여전히 존재하는지 확인할 수 없습니다. 로컬 세션은 Remote Control 없이 계속 실행됩니다.2347`claude --resume` 또는 `claude --continue`로 재개하면 해당 대화에 기록된 [Remote Control](https://code.claude.com/docs/ko/remote-control.md) 세션에 다시 연결됩니다. 이 메시지는 네트워크 중단이나 서버 오류처럼 일시적일 수 있는 이유로 재연결이 실패하여, Claude Code가 원격 세션이 아직 존재하는지 확인할 수 없음을 의미합니다. 로컬 세션은 Remote Control 없이 계속 실행됩니다.
2316 2348
2317**수행할 작업:**2349**해결 방법:**
2318 2350
2319* `/remote-control`을 실행하여 연결을 다시 시도합니다.2351* `/remote-control`을 실행하여 연결을 재시도합니다
2320* `claude --remote-control`로 새 세션을 시작하여 새 Remote Control 세션을 만듭니다.2352* `claude --remote-control`로 새 세션을 시작하여 새 Remote Control 세션을 만듭니다
2321* 다른 Remote Control 시작 메시지는 [Remote Control 문제 해결](https://code.claude.com/docs/ko/remote-control.md#troubleshooting)을 참조합니다.2353* 기타 Remote Control 시작 메시지는 [Remote Control 문제 해결](https://code.claude.com/docs/ko/remote-control.md#troubleshooting)을 참조합니다
2322 2354
2323서버가 대신 이전 세션이 없다고 보고하면 이 메시지가 표시되지 않습니다. Claude Code는 새 세션을 시작하거나 [`Previous session is unavailable — run /remote-control to start a new one`](https://code.claude.com/docs/ko/remote-control#previous-session-is-unavailable)을 표시합니다.2355서버가 대신 이전 세션이 없어졌다고 보고하면 이 메시지는 표시되지 않습니다. Claude Code는 그 자리에 새 세션을 시작하거나 [`Previous session is unavailable — run /remote-control to start a new one`](https://code.claude.com/docs/ko/remote-control#previous-session-is-unavailable)을 표시합니다.
2324 2356
2325### Sessions ended while this machine was offline2357### Sessions ended while this machine was offline
2326 2358
2327Claude Code는 머신이 오프라인 상태인 동안 서버가 머신이 제공하던 Remote Control 환경을 정리할 만큼 충분히 오래 있었던 후 [`claude remote-control`](https://code.claude.com/docs/ko/remote-control#start-a-remote-control-session)을 실행하는 터미널에 이 메시지를 표시합니다. 해당 환경의 세션이 종료되었으며 재개할 수 없습니다. 개수는 종료된 세션의 수입니다.2359Claude Code는 머신이 오프라인 상태로 오래 있어서 서버가 해당 머신이 제공하던 Remote Control 환경을 정리한 후, [`claude remote-control`](https://code.claude.com/docs/ko/remote-control#start-a-remote-control-session)을 실행 중인 터미널에 이 메시지를 표시합니다. 해당 환경의 세션은 종료되었으며 재개할 수 없습니다. 숫자는 종료된 세션의 수입니다.
2328 2360
2329```text theme={null}2361```text theme={null}
23302 sessions ended while this machine was offline — the environment was cleaned up on the server and can't be resumed.23622 sessions ended while this machine was offline — the environment was cleaned up on the server and can't be resumed.
2331```2363```
2332 2364
2333**수행할 작업:**2365**해결 방법:**
2334 2366
2335* Claude Code가 이 메시지 아래에 유지된 worktree를 나열할 때 이들에서 커밋되지 않은 작업을 가져옵니다.2367* Claude Code가 이 메시지 아래에 보존된 워크트리를 나열하면, 그곳에서 커밋되지 않은 작업을 가져옵니다
2336* `claude remote-control`을 실행하여 새로운 환경을 시작합니다.2368* `claude remote-control`을 실행하여 새 환경을 시작합니다
2337 2369
2338### Couldn't share the transcript2370### Couldn't share the transcript
2339 2371
2340[세션 품질 설문 조사](https://code.claude.com/docs/ko/data-usage.md#session-quality-surveys)와 같은 설문 조사 프롬프트에서 세션 트랜스크립트를 공유하기로 동의한 후 Claude Code는 이를 Anthropic에 업로드하거나 타사 공급자, [Claude 앱 게이트웨이](https://code.claude.com/docs/ko/claude-apps-gateway) 세션 및 Anthropic 자격 증명을 사용할 수 없을 때 로컬 아카이브를 대신 저장합니다. 이 메시지는 공유가 완료되지 않았음을 의미합니다.2372[세션 품질 설문](https://code.claude.com/docs/ko/data-usage.md#session-quality-surveys) 같은 설문 프롬프트에서 세션 트랜스크립트 공유에 동의하면, Claude Code는 이를 Anthropic에 업로드합니다. 단, 서드파티 제공업체, [Claude apps gateway](https://code.claude.com/docs/ko/claude-apps-gateway) 세션, 그리고 Anthropic 자격 증명을 사용할 수 없는 경우에는 대신 로컬 아카이브를 저장합니다. 이 메시지는 공유가 완료되지 않았음을 의미합니다.
2341 2373
2342```text theme={null}2374```text theme={null}
2343Couldn't share the transcript.2375Couldn't share the transcript.
2344```2376```
2345 2377
2346업로드는 8 MiB 제한에 맞아야 합니다. 긴 세션에서 Claude Code는 점진적으로 공유의 일부를 삭제합니다. 마지막 요청의 모델 설정이 먼저, 그 다음 구조화된 대화 및 서브에이전트 트랜스크립트이며, 축소된 버전을 보낼 수 없거나 네트워크 또는 서버 오류가 업로드를 중지할 때 이 메시지를 표시합니다. Claude Code가 로컬 아카이브를 대신 저장할 때, 메시지는 아카이브를 쓸 수 없었음을 의미합니다.2378업로드는 8 MiB 한도에 맞아야 합니다. 긴 세션에서는 Claude Code가 공유 내용의 일부를 단계적으로 제외합니다. 먼저 마지막 요청의 모델 설정을, 그다음 구조화된 대화와 서브에이전트 트랜스크립트를 제외하며, 축소된 버전도 보낼 수 없거나 네트워크 또는 서버 오류로 업로드가 중단되면 이 메시지를 표시합니다. Claude Code가 대신 로컬 아카이브를 저장하는 경우, 이 메시지는 아카이브를 쓸 수 없었음을 의미합니다.
2347 2379
2348**수행할 작업:**2380**해결 방법:**
2349 2381
2350* `/feedback`을 실행하여 발생한 상황에 대한 설명과 함께 트랜스크립트를 보냅니다. 환경에서 `/feedback`을 사용할 수 없는 경우 [오류 보고](#report-an-error)를 참조합니다.2382* `/feedback`을 실행하여 무슨 일이 있었는지 설명과 함께 트랜스크립트를 보냅니다. 사용 중인 환경에서 `/feedback`을 사용할 수 없다면 [오류 보고](#report-an-error)를 참조합니다
2351* 다른 요청도 실패하는 경우, 네트워크 연결을 확인하고 [Unable to connect to API](#unable-to-connect-to-api)를 참조합니다.2383* 다른 요청도 실패하고 있다면 네트워크 연결을 확인하고 [Unable to connect to API](#unable-to-connect-to-api)를 참조합니다
2352 2384
2353### Couldn't send feedback2385### Couldn't send feedback
2354 2386
2355`Couldn't send feedback`으로 시작하는 메시지는 [`/feedback`, `/bug` 또는 `/share` 대화 상자](https://code.claude.com/docs/ko/commands#all-commands)에서 제출한 보고서나 큐에 있는 [피드백 초안](https://code.claude.com/docs/ko/tools-reference.md#sendfeedback-tool-behavior)을 피드백 서비스가 확인하지 않았음을 의미합니다. 수신되지 않은 것으로 간주합니다. 콜론 뒤에 조직에 관한 문장이 이어지면 조직이 피드백을 거부하는 것입니다.2387`Couldn't send feedback`으로 시작하는 메시지는 [`/feedback`, `/bug` 또는 `/share` 대화 상자](https://code.claude.com/docs/ko/commands#all-commands)에서 제출한 보고서나 대기 중인 [피드백 초안](https://code.claude.com/docs/ko/tools-reference.md#sendfeedback-tool-behavior)을 피드백 서비스가 확인하지 않았음을 의미합니다. 수신되지 않은 것으로 간주하십시오. 콜론 뒤에 조직에 관한 문장이 이어지면, 조직이 피드백을 거부하는 것입니다.
2356 2388
2357두 번째 예시는 조직의 거부입니다:2389두 번째 예시는 조직의 거부입니다.
2358 2390
2359```text wrap theme={null}2391```text wrap theme={null}
2360Couldn't send feedback (couldn't reach the service). If it keeps failing, you can file at https://github.com/anthropics/claude-code/issues instead.2392Couldn't send feedback (couldn't reach the service). If it keeps failing, you can file at https://github.com/anthropics/claude-code/issues instead.
2362Couldn't send feedback: Feedback has not been enabled for your organization. To report a bug, open an issue at https://github.com/anthropics/claude-code/issues. Issues are public, so leave out anything confidential.2394Couldn't send feedback: Feedback has not been enabled for your organization. To report a bug, open an issue at https://github.com/anthropics/claude-code/issues. Issues are public, so leave out anything confidential.
2363```2395```
2364 2396
2365**수행할 작업:**2397**해결 방법:**
2366 2398
2367* **로그인되지 않음**: 메시지가 `: not signed in. Run /login, then retry.`로 이어집니다. `/login`을 실행한 다음 다시 보냅니다.2399* **로그인하지 않음**: 메시지가 `: not signed in. Run /login, then retry.`로 이어집니다. `/login`을 실행한 다음 다시 보냅니다
2368* **조직의 거부**: 예를 들어 `: Feedback has not been enabled for your organization.` 또는 `: Feedback collection is not available for organizations with custom data retention policies.`입니다. 이후 7일 동안 `/feedback`이 [조직의 정책에 의해 비활성화되었다](#feedback-is-disabled-by-your-organizations-policy)고 응답할 수 있습니다. 큐에 있는 초안은 큐에 남아 있으며 여전히 [일정에 따라 만료](https://code.claude.com/docs/ko/tools-reference.md#discard-or-keep-a-draft)됩니다.2400* **조직의 거부**: 예를 들어 `: Feedback has not been enabled for your organization.` 또는 `: Feedback collection is not available for organizations with custom data retention policies.`입니다. 이후 7일 동안 `/feedback`이 [조직의 정책에 의해 비활성화되었다](#feedback-is-disabled-by-your-organizations-policy)고 응답할 수 있습니다. 대기 중인 초안은 대기 상태로 남아 있으며 여전히 [예정대로 만료됩니다](https://code.claude.com/docs/ko/tools-reference.md#discard-or-keep-a-draft)
2369* **거부된 자격 증명**: 메시지가 `: the sign-in this session uses is not allowed to send feedback` 또는 `: the server did not accept the credentials this session uses`로 이어집니다. Claude Code 프롬프트에서 `/status`를 실행하여 이 세션이 보내는 로그인, 토큰 또는 API 키를 확인합니다.2401* **거부된 자격 증명**: 메시지가 `: the sign-in this session uses is not allowed to send feedback` 또는 `: the server did not accept the credentials this session uses`로 이어집니다. Claude Code 프롬프트에서 `/status`를 실행하여 이 세션이 보내는 로그인, 토큰 또는 API 키를 확인합니다
2370* **`Couldn't send feedback` 바로 뒤의 `(request timed out)` 또는 `(couldn't reach the service)`**: 보고서 또는 큐에 있는 초안을 다시 보냅니다. 대화 상자는 텍스트를 유지하며, 큐에 있는 초안의 메시지에는 `The draft is still queued.`라고 표시됩니다. 다른 요청도 실패하는 경우, 네트워크 연결을 확인하고 [Unable to connect to API](#unable-to-connect-to-api)를 참조합니다. 계속 실패하면 [github.com/anthropics/claude-code/issues](https://github.com/anthropics/claude-code/issues)에서 보고서를 제출합니다.2402* **`Couldn't send feedback` 바로 뒤에 `(request timed out)` 또는 `(couldn't reach the service)`**: 보고서나 대기 중인 초안을 다시 보냅니다. 대화 상자는 입력한 텍스트를 유지하며, 대기 중인 초안의 메시지에는 `The draft is still queued.`라고 표시됩니다. 다른 요청도 실패하고 있다면 네트워크 연결을 확인하고 [Unable to connect to API](#unable-to-connect-to-api)를 참조합니다. 계속 실패하면 [github.com/anthropics/claude-code/issues](https://github.com/anthropics/claude-code/issues)에 보고서를 제출합니다
2371* **`Couldn't send feedback` 바로 뒤의 `(server returned <status>)` 또는 이유 없음**: 상태는 서비스의 응답 코드입니다. 서비스가 자체 메시지를 보낸 경우 `(server returned 403: Access Forbidden)`처럼 상태 뒤에 이어집니다. 계속 실패하면 [github.com/anthropics/claude-code/issues](https://github.com/anthropics/claude-code/issues)에서 보고서를 제출합니다.2403* **`Couldn't send feedback` 바로 뒤에 `(server returned <status>)` 또는 이유 없음**: 상태는 서비스의 응답 코드입니다. 서비스가 자체 메시지를 보낸 경우 `(server returned 403: Access Forbidden)`처럼 그 뒤에 이어집니다. 계속 실패하면 [github.com/anthropics/claude-code/issues](https://github.com/anthropics/claude-code/issues)에 보고서를 제출합니다
2372 2404
2373github.com/anthropics/claude-code의 이슈는 공개되므로, 이슈를 열 때 코드, 트랜스크립트 및 기타 기밀 정보는 제외합니다.2405github.com/anthropics/claude-code의 이슈는 공개되므로, 이슈를 열 때는 코드, 트랜스크립트 및 기타 기밀 정보를 제외하십시오.
2374 2406
2375v2.1.281 이전에는 Remote Control **중지** 또는 긴급 교차 세션 메시지가 대화가 열려 있는 동안 도착했을 때 모든 전송이 이 메시지로 실패했습니다. 이러한 버전에서는 대화를 닫고, 다시 열고, 다시 보냅니다.2407v2.1.281 이전에는 대화 상자가 열려 있는 동안 Remote Control **Stop** 또는 긴급한 세션 간 메시지가 도착하면 이후 모든 전송이 이 메시지와 함께 실패했습니다. 해당 버전에서는 대화 상자를 닫았다가 다시 열고 다시 보냅니다.
2376 2408
2377### Feedback payload too large2409### Feedback payload too large
2378 2410
2379[피드백 초안](https://code.claude.com/docs/ko/tools-reference.md#sendfeedback-tool-behavior)의 [검토 화면](https://code.claude.com/docs/ko/tools-reference.md#review-and-edit-a-draft)에 표시되는 이 메시지는 서비스가 초안을 수락했다는 확인을 Claude Code가 받지 못했음을 의미합니다. 수신되지 않은 것으로 간주합니다. 초안은 `/feedback` 큐에 남아 있으므로 다시 보낼 수 있습니다.2411[피드백 초안](https://code.claude.com/docs/ko/tools-reference.md#sendfeedback-tool-behavior)의 [검토 화면](https://code.claude.com/docs/ko/tools-reference.md#review-and-edit-a-draft)에 표시되는 이 메시지는 서비스가 초안을 수락했다는 확인을 Claude Code가 받지 못했음을 의미합니다. 수신되지 않은 것으로 간주하십시오. 초안은 `/feedback` 대기열에 남아 있으므로 다시 보낼 수 있습니다.
2380 2412
2381```text wrap theme={null}2413```text wrap theme={null}
2382Feedback payload too large. Try again without the transcript, or shorten the details.2414Feedback payload too large. Try again without the transcript, or shorten the details.
2383```2415```
2384 2416
2385**수행할 작업:**2417**해결 방법:**
2386 2418
2387* 검토 화면에서 **Send transcript**를 `no`로 설정한 다음 초안을 다시 보냅니다. 세부 정보를 줄여도 최대 10 KB의 텍스트만 줄어들며, 이는 초안의 세부 정보에 담을 수 있는 전체 용량입니다.2419* 검토 화면에서 **Send transcript**를 `no`로 설정한 다음 초안을 다시 보냅니다. 세부 정보를 줄여도 제거되는 텍스트는 최대 10 KB이며, 이는 초안의 세부 정보가 담을 수 있는 최대 크기입니다.
2388 2420
2389### 절전 또는 시계 변경 중 MCP 서버 연결 시간 초과2421### 절전 또는 시계 변경 중 MCP 서버 연결 시간 초과
2390 2422
2391이 메시지는 [MCP 서버](https://code.claude.com/docs/ko/mcp.md)에 대한 연결이 시간 초과되었으며, 연결 시도 중에 시스템 시계가 앞으로 건너뛴 것을 Claude Code가 발견했음을 의미합니다:2423이 메시지는 [MCP 서버](https://code.claude.com/docs/ko/mcp.md)에 대한 연결이 시간 초과되었으며, Claude Code가 시도 중에 시스템 시계가 앞으로 건너뛴 것을 발견했음을 의미합니다.
2392 2424
2393```text theme={null}2425```text theme={null}
2394MCP server "<name>" connection timed out. Your computer went to sleep or its clock changed while connecting.2426MCP server "<name>" connection timed out. Your computer went to sleep or its clock changed while connecting.
2395```2427```
2396 2428
2397Claude Code는 컴퓨터가 절전 상태였는지 시계가 앞으로 설정되었는지 구분할 수 없으므로 메시지에 두 가지를 모두 명시합니다.2429Claude Code는 컴퓨터가 절전 모드에 들어갔는지 시계가 앞으로 설정되었는지 구분할 수 없으므로 메시지에 두 가지를 모두 표시합니다.
2398 2430
2399**수행할 작업:**2431**해결 방법:**
2400 2432
2401서버에 다시 연결하고, 시도가 끝날 때까지 컴퓨터가 절전 상태로 전환되지 않도록 합니다. 서버가 연결되면 수정할 것이 없습니다.2433서버에 다시 연결하고, 시도가 끝날 때까지 컴퓨터가 절전 모드에 들어가지 않도록 합니다. 서버가 연결되면 수정할 것은 없습니다.
2402 2434
2403* **대화형 세션에서**: `/mcp`를 실행하고 서버를 선택한 다음 **Reconnect**를 선택합니다.2435* **대화형 세션에서**: `/mcp`를 실행하고 서버를 선택한 다음 **Reconnect**를 선택합니다
2404* **셸에서**: [`claude -p`](https://code.claude.com/docs/ko/headless), [`claude mcp list`](https://code.claude.com/docs/ko/mcp#managing-your-servers) 또는 `claude mcp get` 명령을 다시 실행합니다. 그 후 서버가 `Skipping connection (recent failure cached`로 시작하는 메시지와 함께 실패하면 15분을 기다린 후 명령을 다시 실행합니다.2436* **셸에서**: [`claude -p`](https://code.claude.com/docs/ko/headless), [`claude mcp list`](https://code.claude.com/docs/ko/mcp#managing-your-servers) 또는 `claude mcp get` 명령을 다시 실행합니다. 그 후 서버가 `Skipping connection (recent failure cached`로 시작하는 메시지와 함께 실패하면 15분 기다린 후 명령을 다시 실행합니다.
2405* **[Agent SDK](https://code.claude.com/docs/ko/agent-sdk/overview.md) 애플리케이션에서**: TypeScript에서는 [`reconnectMcpServer()`](https://code.claude.com/docs/ko/agent-sdk/typescript#methods)를, Python에서는 [`ClaudeSDKClient.reconnect_mcp_server()`](https://code.claude.com/docs/ko/agent-sdk/python#methods)를 호출합니다.2437* **[Agent SDK](https://code.claude.com/docs/ko/agent-sdk/overview.md) 애플리케이션에서**: TypeScript에서는 [`reconnectMcpServer()`](https://code.claude.com/docs/ko/agent-sdk/typescript#methods)를, Python에서는 [`ClaudeSDKClient.reconnect_mcp_server()`](https://code.claude.com/docs/ko/agent-sdk/python#methods)를 호출합니다
2406* **서버가 다시 실패하는 경우**: 메시지가 이 메시지와 다르면 [MCP 서버가 연결되지 않을 때 확인할 사항](https://code.claude.com/docs/ko/mcp-quickstart.md#troubleshooting)을 참조합니다. 컴퓨터가 절전 상태로 전환되지 않았고 시계를 변경한 것이 없는데도 이 메시지가 다시 나타나면 [오류 보고](#report-an-error)를 참조합니다.2438* **서버가 다시 실패하는 경우**: 메시지가 이것과 다르다면 [MCP 서버가 연결되지 않을 때 확인할 사항](https://code.claude.com/docs/ko/mcp-quickstart.md#troubleshooting)을 참조합니다. 컴퓨터가 절전 모드에 들어가지 않았고 아무것도 시계를 변경하지 않았는데도 이 메시지가 다시 나타나면 [오류 보고](#report-an-error)를 참조합니다.
2407 2439
2408v2.1.307 이전에는 Claude Code가 이 메시지 대신 `MCP server "<name>" connection timed out after <N>ms`와 같은 시간 초과 메시지를 표시했습니다.2440v2.1.307 이전에는 Claude Code가 이 메시지 대신 `MCP server "<name>" connection timed out after <N>ms` 같은 시간 초과 메시지를 표시했습니다.
2409 2441
2410## 요청 오류2442## 요청 오류
2411 2443
2481* 사용하지 않는 MCP 서버를 `/mcp disable <name>`으로 비활성화하여 해당 도구 정의를 컨텍스트에서 제거하세요2513* 사용하지 않는 MCP 서버를 `/mcp disable <name>`으로 비활성화하여 해당 도구 정의를 컨텍스트에서 제거하세요
2482* 큰 `CLAUDE.md` 메모리 파일을 줄이거나, 관련 있을 때만 로드되는 [경로 범위 규칙](https://code.claude.com/docs/ko/memory.md#path-specific-rules)으로 지침을 옮기세요2514* 큰 `CLAUDE.md` 메모리 파일을 줄이거나, 관련 있을 때만 로드되는 [경로 범위 규칙](https://code.claude.com/docs/ko/memory.md#path-specific-rules)으로 지침을 옮기세요
2483* 자동 압축은 기본적으로 켜져 있으며 일반적으로 이 오류를 방지합니다. `/config` 또는 [`DISABLE_AUTO_COMPACT`](https://code.claude.com/docs/ko/env-vars)로 자동 압축을 끈 경우 다시 켜세요. 계속 꺼 두려면 윈도우가 가득 차기 전에 직접 `/compact`를 실행하세요.2515* 자동 압축은 기본적으로 켜져 있으며 일반적으로 이 오류를 방지합니다. `/config` 또는 [`DISABLE_AUTO_COMPACT`](https://code.claude.com/docs/ko/env-vars)로 자동 압축을 끈 경우 다시 켜세요. 계속 꺼 두려면 윈도우가 가득 차기 전에 직접 `/compact`를 실행하세요.
2484* 더 많은 토큰을 허용하는 모델에서 200K 토큰 근처에서 오류가 나타난다면, Claude Code가 인식하지 못하는 모델 ID가 한 가지 원인입니다. Claude Code는 이러한 ID에 대해 200K 윈도우를 가정하므로, 그 이상으로 계속 작업하려면 [모델의 실제 컨텍스트 윈도우를 지정하세요](https://code.claude.com/docs/ko/model-config.md#correct-the-window-for-a-gateway-or-custom-model-id).2516* Claude Code가 모델 ID를 인식하지 못한다고 경고한 경우, 경고에 Claude Code가 가정한 윈도우 크기가 표시될 수 있습니다. 모델의 실제 윈도우가 이와 다르면 [Claude Code에 실제 윈도우를 알려 주십시오](https://code.claude.com/docs/ko/model-config.md#correct-the-window-for-a-gateway-or-custom-model-id).
2485 * 사용자 지정 [`ANTHROPIC_BASE_URL`](https://code.claude.com/docs/ko/env-vars)을 사용하고 오류가 `Prompt is too long · automatic compaction failed`로 시작하면, [모델의 컨텍스트 윈도우를 설정](https://code.claude.com/docs/ko/model-config.md#correct-the-window-for-a-gateway-or-custom-model-id)하거나 v2.1.299 이상으로 [업데이트](https://code.claude.com/docs/ko/setup.md#update-claude-code)하세요. v2.1.299 이전에는 Claude Code가 가정된 200K 윈도우 근처에서 요청을 보내는 대신 해당 메시지와 함께 턴을 종료했습니다.2517 * 사용자 지정 [`ANTHROPIC_BASE_URL`](https://code.claude.com/docs/ko/env-vars)을 사용하고 오류가 `Prompt is too long · automatic compaction failed`로 시작하면 [모델의 컨텍스트 윈도우를 설정](https://code.claude.com/docs/ko/model-config.md#correct-the-window-for-a-gateway-or-custom-model-id)하거나 v2.1.299 이상으로 [업데이트](https://code.claude.com/docs/ko/setup.md#update-claude-code)하십시오. v2.1.299 이전에는 Claude Code가 가정된 200K 윈도우 근처에서 요청을 보내지 않고 이 메시지와 함께 턴을 종료했습니다.
2486* Claude가 대화를 압축하는 동안 중지한 직후에 오류가 나타났다면, 대화는 변경되지 않았으며 여전히 압축이 필요할 만큼 큽니다. `/compact`를 실행하고 메시지를 다시 보내세요. 오류가 재발하지 않도록 하려면 v2.1.304 이상으로 [Claude Code를 업데이트](https://code.claude.com/docs/ko/setup.md#update-claude-code)하세요. v2.1.304 이전에는 이 시점에 중지하면 이 오류와 함께 턴이 종료될 수 있었습니다.2518* Claude가 대화를 압축하는 동안 중지한 직후에 오류가 나타났다면, 대화는 변경되지 않았으며 여전히 압축이 필요할 만큼 큽니다. `/compact`를 실행하고 메시지를 다시 보내세요. 오류가 재발하지 않도록 하려면 v2.1.304 이상으로 [Claude Code를 업데이트](https://code.claude.com/docs/ko/setup.md#update-claude-code)하세요. v2.1.304 이전에는 이 시점에 중지하면 이 오류와 함께 턴이 종료될 수 있었습니다.
2487* v2.1.305에서 MCP 도구가 많고 Anthropic API에 직접 연결된 경우, 이 오류가 API의 관련 없는 400 또는 422 오류를 가릴 수 있습니다. 원래 오류를 확인하려면 v2.1.306 이상으로 [Claude Code를 업데이트](https://code.claude.com/docs/ko/setup.md#update-claude-code)하세요.2519* v2.1.305에서 MCP 도구가 많고 Anthropic API에 직접 연결된 경우, 이 오류가 API의 관련 없는 400 또는 422 오류를 가릴 수 있습니다. 원래 오류를 확인하려면 v2.1.306 이상으로 [Claude Code를 업데이트](https://code.claude.com/docs/ko/setup.md#update-claude-code)하세요.
2488 2520
3173 3205
3174## 명령줄 오류3206## 명령줄 오류
3175 3207
3176이 오류는 `claude` 명령줄과 그 하위 명령, 프롬프트에서 제출한 명령 이름, 그리고 `/security-review`처럼 프롬프트가 실행되기 전에 셸 명령을 실행하여 컨텍스트를 수집하는 명령에서 발생합니다. CLI를 다시 실행하는 `/tui`에서도 발생합니다.3208이 오류는 `claude` 명령줄과 그 하위 명령, 프롬프트에서 제출한 명령 이름, 그리고 `/security-review`처럼 프롬프트가 실행되기 전에 셸 명령을 실행해 컨텍스트를 수집하는 명령에서 발생합니다. CLI를 다시 실행하는 `/tui`에서도 발생합니다.
3177 3209
3178### `--bg`와 `--print` 충돌3210### `--bg`와 `--print` 간의 충돌
3179 3211
3180이 메시지는 Claude Code v2.1.198 이상이 필요합니다. 동일한 `claude` 호출에서 `--bg`를 `-p` 또는 `--print`와 함께 사용했습니다. `--bg`는 나중에 `claude agents`로 연결하는 [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md#from-your-shell)을 시작하는 반면, `--print`는 [비대화형으로](https://code.claude.com/docs/ko/headless.md) 실행되며 `claude agents`가 연결하는 대화형 세션을 시작하지 않습니다. v2.1.198 이전에는 이 조합이 연결할 수 없는 백그라운드 작업을 조용히 생성했습니다.3212이 메시지는 Claude Code v2.1.198 이상이 필요합니다. 같은 `claude` 호출에서 `--bg`를 `-p` 또는 `--print`와 함께 사용한 경우입니다. `--bg`는 나중에 `claude agents`로 연결하는 [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md#from-your-shell)을 시작하는 반면, `--print`는 [비대화형으로](https://code.claude.com/docs/ko/headless.md) 실행되며 `claude agents`가 연결하는 대화형 세션을 시작하지 않습니다. v2.1.198 이전에는 이 조합이 연결할 수 없는 백그라운드 작업을 아무 알림 없이 생성했습니다.
3181 3213
3182```text theme={null}3214```text theme={null}
3183--bg and --print conflict: --print never starts the interactive session that `claude agents` attaches to, so the job would be unattachable. The prompt is the positional — drop --print: `claude --bg '<task>'`.3215--bg and --print conflict: --print never starts the interactive session that `claude agents` attaches to, so the job would be unattachable. The prompt is the positional — drop --print: `claude --bg '<task>'`.
3185 3217
3186**해결 방법:**3218**해결 방법:**
3187 3219
3188* `-p` 또는 `--print`를 제거합니다. `--bg`는 프롬프트를 위치 인수로 받으므로 `claude --bg "<task>"`가 완전한 명령입니다. [셸에서 새 에이전트 디스패치하기](https://code.claude.com/docs/ko/agent-view.md#from-your-shell)를 참조하세요.3220* `-p` 또는 `--print`를 제거합니다. `--bg`는 프롬프트를 위치 인수로 받으므로 `claude --bg "<task>"`가 완전한 명령입니다. [셸에서 새 에이전트 디스패치하기](https://code.claude.com/docs/ko/agent-view.md#from-your-shell)를 참조하십시오.
3189* 백그라운드 세션을 생성하는 대신 프롬프트를 비대화형으로 실행하고 결과를 출력하려면 `--bg`를 제거하고 `claude -p "<task>"`를 실행합니다3221* 백그라운드 세션을 생성하는 대신 프롬프트를 비대화형으로 실행하고 결과를 출력하려면 `--bg`를 제거하고 `claude -p "<task>"`를 실행합니다
3190 3222
3191### Couldn't tell whether `--bg` is a flag or text3223### Couldn't tell whether `--bg` is a flag or text
3192 3224
3193Claude Code가 백그라운드 플래그로 의도한 것인지 텍스트로 의도한 것인지 구분할 수 없는 위치에 `--bg` 또는 `--background`를 넣어 `claude`를 실행했습니다. 명령은 아무것도 시작하지 않고 다음 줄을 출력한 후 종료 코드 1로 종료되었습니다:3225Claude Code가 백그라운드 플래그로 의도한 것인지 텍스트로 의도한 것인지 구분할 수 없는 위치에 `--bg` 또는 `--background`를 넣어 `claude`를 실행한 경우입니다. 명령은 아무것도 시작하지 않고 다음 줄을 출력한 뒤 종료 코드 1로 종료되었습니다:
3194 3226
3195```text theme={null}3227```text theme={null}
3196Couldn't tell whether --bg is a flag or text here, so nothing was started. To start a background session put it first: claude --bg <prompt>3228Couldn't tell whether --bg is a flag or text here, so nothing was started. To start a background session put it first: claude --bg <prompt>
3197```3229```
3198 3230
3199`--background`를 입력한 경우 이 줄에는 대신 `--background`가 표시됩니다.3231`--background`를 입력한 경우 이 줄에는 `--background`가 대신 표시됩니다.
3200 3232
3201**해결 방법:**3233**해결 방법:**
3202 3234
3203* [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md#from-your-shell)을 시작하려면 플래그를 맨 앞에 두고 셸에서 명령을 다시 실행합니다: `claude --bg --name nightly-audit "<task>"`3235* [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md#from-your-shell)을 시작하려면 셸에서 플래그를 맨 앞에 두고 명령을 다시 실행합니다: `claude --bg --name nightly-audit "<task>"`
3204 3236
3205### 시스템 프롬프트 플래그와 파일 형식 플래그 간의 충돌3237### 시스템 프롬프트 플래그와 해당 파일 형식 간의 충돌
3206 3238
3207하나의 `claude` 호출에서 [`--append-subagent-system-prompt`](https://code.claude.com/docs/ko/cli-reference#cli-flags)를 `--append-subagent-system-prompt-file`과 함께 전달했으므로, `claude`는 세션을 시작하지 않고 종료 코드 1로 종료됩니다:3239하나의 `claude` 호출에서 [`--append-subagent-system-prompt`](https://code.claude.com/docs/ko/cli-reference#cli-flags)를 `--append-subagent-system-prompt-file`과 함께 전달했기 때문에 `claude`가 세션을 시작하지 않고 종료 코드 1로 종료됩니다:
3208 3240
3209```text theme={null}3241```text theme={null}
3210Error: Cannot use both --append-subagent-system-prompt and --append-subagent-system-prompt-file. Please use only one.3242Error: Cannot use both --append-subagent-system-prompt and --append-subagent-system-prompt-file. Please use only one.
3211```3243```
3212 3244
3213v2.1.283 이전에는 `--system-prompt`를 `--system-prompt-file`과 함께, 또는 `--append-system-prompt`를 `--append-system-prompt-file`과 함께 전달한 경우에도 `claude`가 같은 방식으로 종료되었습니다. 해당 쌍이 [결합](https://code.claude.com/docs/ko/cli-reference.md#system-prompt-flags)되지 않고 충돌했기 때문입니다. 이러한 버전에서는 메시지에 사용자가 함께 사용한 쌍이 표시됩니다.3245v2.1.283 이전에는 `--system-prompt`를 `--system-prompt-file`과 함께, 또는 `--append-system-prompt`를 `--append-system-prompt-file`과 함께 전달한 경우에도 `claude`가 같은 방식으로 종료되었습니다. 해당 쌍이 [결합](https://code.claude.com/docs/ko/cli-reference.md#system-prompt-flags)되지 않고 충돌했기 때문입니다. 해당 버전에서는 메시지에 함께 사용한 쌍의 이름이 표시됩니다.
3214 3246
3215**해결 방법:**3247**해결 방법:**
3216 3248
3217* 플래그의 한 가지 형식만 유지하고 다른 형식은 제거합니다. 고정된 프롬프트 파일과 실행별 텍스트를 결합하려면 두 플래그를 모두 전달하는 대신 실행하기 전에 텍스트를 파일에 병합합니다3249* 플래그의 한 가지 형식만 유지하고 다른 하나는 제거합니다. 고정된 프롬프트 파일과 실행별 텍스트를 결합하려면 두 플래그를 모두 전달하는 대신 실행 전에 텍스트를 파일에 병합합니다
3218 3250
3219### Invalid `--agents` configuration3251### Invalid `--agents` configuration
3220 3252
3221`--agents`에 전달한 값이 유효하지 않으므로 `claude`는 세션을 시작하지 않고 종료 코드 1로 종료됩니다. `--safe-mode`를 전달하거나 [`CLAUDE_CODE_SAFE_MODE`](https://code.claude.com/docs/ko/env-vars#variables)를 설정하면 Claude Code는 `--agents`를 완전히 무시합니다. `--resume` 또는 `--continue`를 사용하면 인라인 JSON 값은 검사되지 않고 세션이 시작되지만, 파일에서 읽은 값은 실행할 때마다 검사됩니다. v2.1.242 이전에는 Claude Code가 그대로 세션을 시작했습니다.3253`--agents`에 전달한 값이 유효하지 않아 `claude`가 세션을 시작하지 않고 종료 코드 1로 종료됩니다. `--safe-mode`를 전달하거나 [`CLAUDE_CODE_SAFE_MODE`](https://code.claude.com/docs/ko/env-vars#variables)를 설정하면 Claude Code는 `--agents`를 완전히 무시합니다. `--resume` 또는 `--continue`와 함께 사용하면 인라인 JSON 값은 검사되지 않고 세션이 시작되지만, 파일에서 읽은 값은 실행할 때마다 검사됩니다. v2.1.242 이전에는 Claude Code가 그래도 세션을 시작했습니다.
3222 3254
3223```text theme={null}3255```text theme={null}
3224Error: Invalid --agents configuration:3256Error: Invalid --agents configuration:
3225<what failed>3257<what failed>
3226```3258```
3227 3259
3228첫 번째 줄 다음에 오는 내용은 값이 어떻게 실패했는지에 따라 달라집니다. Claude Code는 다음 검사를 순서대로 실행하고 처음 실패한 검사에서 중단합니다. 값에 두 종류의 문제가 있는 경우 첫 번째 문제를 해결한 후에야 두 번째 문제가 표시됩니다:3260첫 줄 다음에 오는 내용은 값이 실패한 방식에 따라 다릅니다. Claude Code는 다음 검사를 순서대로 실행하며 처음 실패한 검사에서 멈춥니다. 값에 두 종류의 문제가 있으면 첫 번째 문제를 수정한 후에야 두 번째 문제가 표시됩니다:
3229 3261
32301. 값이 `{`로 시작하지만 JSON으로 파싱되지 않거나 `--agents` 파일의 내용이 파싱되지 않으면, Claude Code는 JSON 파서 자체의 메시지가 담긴 `invalid JSON:` 줄 하나를 출력합니다32621. 값이 `{`로 시작하지만 JSON으로 파싱되지 않거나 `--agents` 파일의 내용이 파싱되지 않으면, Claude Code는 JSON 파서 자체의 메시지를 담은 `invalid JSON:` 줄 하나를 출력합니다
32312. 파싱은 되지만 에이전트 정의가 [CLI로 정의된 서브에이전트](https://code.claude.com/docs/ko/sub-agents.md#choose-the-subagent-scope)의 스키마와 일치하지 않으면, Claude Code는 문제마다 한 줄씩 출력합니다32632. 파싱은 되지만 에이전트 정의가 [CLI에서 정의한 서브에이전트](https://code.claude.com/docs/ko/sub-agents.md#choose-the-subagent-scope)의 스키마와 일치하지 않으면, Claude Code는 문제마다 한 줄씩 출력합니다
32323. 에이전트 이름이 `-`로 시작하면 Claude Code는 `<name>: agent names must not start with '-'`를 출력합니다32643. 에이전트 이름이 `-`로 시작하면 Claude Code는 `<name>: agent names must not start with '-'`를 출력합니다
3233 3265
3234문제 줄이 20개를 초과하면 Claude Code는 처음 20개를 출력하고 나머지는 `…and N more`로 대체합니다.3266문제 줄이 20개를 넘으면 Claude Code는 처음 20개를 출력하고 나머지는 `…and N more`로 대체합니다.
3235 3267
3236`--print`와 함께 사용할 때 `--agents`는 인라인 객체 대신 [JSON 파일의 경로](https://code.claude.com/docs/ko/sub-agents.md#choose-the-subagent-scope)도 받습니다. v2.1.281 이전에는 `--agents`가 인라인 JSON만 받았으며 파일 경로를 유효하지 않은 JSON으로 처리했습니다. 파일 형식에는 이 메시지 대신 출력되는 자체 거부 메시지가 있으며, 다음이 포함됩니다:3268`--print`와 함께 사용하면 `--agents`는 인라인 객체 대신 [JSON 파일 경로](https://code.claude.com/docs/ko/sub-agents.md#choose-the-subagent-scope)도 받습니다. v2.1.281 이전에는 `--agents`가 인라인 JSON만 받았고 파일 경로는 유효하지 않은 JSON으로 처리했습니다. 파일 형식에는 자체적인 거부 메시지가 있으며, 이 메시지 대신 출력됩니다. 다음과 같은 메시지가 포함됩니다:
3237 3269
3238* **`Error: --agents takes a JSON object, or a file path only with --print (-p)`**: Claude Code가 대화형 세션에서 값을 파일 경로로 읽었습니다. 정의를 인라인 JSON으로 전달하거나, 파일에서 읽으려면 `-p`를 추가합니다.3270* **`Error: --agents takes a JSON object, or a file path only with --print (-p)`**: Claude Code가 대화형 세션에서 값을 파일 경로로 읽었습니다. 정의를 인라인 JSON으로 전달하거나, 파일에서 읽으려면 `-p`를 추가합니다.
3239* **`Error: --agents file not found: <path>`**: 해당 경로에 파일이 없습니다. `{`로 시작하지 않고 유효한 JSON이 아닌 값은 경로로 읽히므로, 셸이 손상시킨 인라인 JSON도 이런 방식으로 실패할 수 있습니다. 경로나 따옴표 처리를 확인하고 명령을 다시 실행합니다.3271* **`Error: --agents file not found: <path>`**: 해당 경로에 파일이 없습니다. `{`로 시작하지 않고 유효한 JSON도 아닌 값은 경로로 읽히므로, 셸이 훼손한 인라인 JSON도 이런 방식으로 실패할 수 있습니다. 경로나 따옴표 처리를 확인하고 명령을 다시 실행합니다.
3240 3272
3241**해결 방법:**3273**해결 방법:**
3242 3274
3243* 메시지에 나열된 각 문제를 해결한 다음 명령을 다시 실행합니다. [CLI로 정의된 서브에이전트가 받는 필드](https://code.claude.com/docs/ko/sub-agents.md#choose-the-subagent-scope)를 참조하세요.3275* 메시지에 나열된 각 문제를 수정한 뒤 명령을 다시 실행합니다. [CLI에서 정의한 서브에이전트가 받는 필드](https://code.claude.com/docs/ko/sub-agents.md#choose-the-subagent-scope)를 참조하십시오.
3244 3276
3245### Cloud sessions cannot be created from a `--restricted` session3277### Cloud sessions cannot be created from a `--restricted` session
3246 3278
3247[`--restricted`](https://code.claude.com/docs/ko/cli-reference#cli-flags)로 세션을 시작하면, Claude Code는 그 세션에서 [클라우드 세션](https://code.claude.com/docs/ko/claude-code-on-the-web.md#from-terminal-to-cloud)을 생성하는 것을 거부합니다. 새 세션은 제한된 프로세스 밖에서 실행되어 제한 모드를 적용하지 않기 때문입니다. Claude Code는 서버에 연결하기 전에 클라이언트에서 거부하므로 클라우드 세션이 생성되지 않습니다:3279[`--restricted`](https://code.claude.com/docs/ko/cli-reference#cli-flags)로 세션을 시작하면 Claude Code는 해당 세션에서 [클라우드 세션](https://code.claude.com/docs/ko/claude-code-on-the-web.md#from-terminal-to-cloud)을 생성하는 것을 거부합니다. 새 세션이 제한된 프로세스 밖에서 실행되어 제한 모드를 적용하지 않기 때문입니다. Claude Code는 서버에 연결하기 전에 클라이언트에서 거부하므로 클라우드 세션은 생성되지 않습니다:
3248 3280
3249```text theme={null}3281```text theme={null}
3250Cloud sessions cannot be created from a --restricted session: they would not enforce it.3282Cloud sessions cannot be created from a --restricted session: they would not enforce it.
3253**해결 방법:**3285**해결 방법:**
3254 3286
3255* 제한된 세션에서 작업을 로컬로 실행합니다3287* 제한된 세션에서 작업을 로컬로 실행합니다
3256* 세션이 실행되는 방식을 제어할 수 있다면 `--restricted` 없이 새 `claude` 세션을 시작하고 그곳에서 클라우드 세션을 생성합니다3288* 세션이 시작되는 방식을 제어할 수 있다면 `--restricted` 없이 새 `claude` 세션을 시작하고 그곳에서 클라우드 세션을 생성합니다
3257 3289
3258v2.1.248 이전에는 Claude Code에 `--restricted` 플래그가 없었으며, 이전 버전은 알 수 없는 옵션 오류로 플래그 자체를 거부합니다.3290v2.1.248 이전에는 Claude Code에 `--restricted` 플래그가 없었으며, 이전 버전에서는 알 수 없는 옵션 오류로 플래그 자체를 거부합니다.
3259 3291
3260### Cloud sessions are disabled by your organization's policy3292### Cloud sessions are disabled by your organization's policy
3261 3293
3262조직의 `allow_remote_sessions` 정책이 꺼져 있으므로 [클라우드 세션](https://code.claude.com/docs/ko/claude-code-on-the-web.md)과 이를 사용하는 명령을 사용할 수 없습니다:3294조직의 `allow_remote_sessions` 정책이 꺼져 있어 [클라우드 세션](https://code.claude.com/docs/ko/claude-code-on-the-web.md)과 이를 사용하는 명령을 사용할 수 없습니다:
3263 3295
3264```text theme={null}3296```text theme={null}
3265Cloud sessions are disabled by your organization's policy. Contact your organization admin to enable them.3297Cloud sessions are disabled by your organization's policy. Contact your organization admin to enable them.
3266```3298```
3267 3299
3268이 메시지는 [터미널에서 클라우드 세션을 생성할 때](https://code.claude.com/docs/ko/claude-code-on-the-web.md#from-terminal-to-cloud)와 `/teleport`, `/remote-env`, `/web-setup`처럼 클라우드 세션이 필요한 명령을 제출할 때 표시됩니다. v2.1.268 이전에는 이러한 명령 중 하나를 제출하면 대신 [`Unknown command`](#unknown-command)가 반환되었습니다.3300이 메시지는 [터미널에서 클라우드 세션을 생성할 때](https://code.claude.com/docs/ko/claude-code-on-the-web.md#from-terminal-to-cloud)와 `/teleport`, `/remote-env`, `/web-setup`처럼 클라우드 세션이 필요한 명령을 제출할 때 나타납니다. v2.1.268 이전에는 이러한 명령을 제출하면 대신 [`Unknown command`](#unknown-command)가 반환되었습니다.
3269 3301
3270메시지가 대신 이 세션에서 사용 중인 자격 증명을 언급하고 `Cloud sessions use your claude.ai login.`으로 끝나는 경우, [Cloud sessions use your claude.ai login](#cloud-sessions-use-your-claude-ai-login)을 참조하세요. Claude Code가 조직의 정책을 전혀 불러오지 못한 경우에는 대신 [다른 메시지](#couldnt-verify-your-organizations-policy-for-cloud-sessions)가 표시됩니다.3302메시지가 대신 이 세션에서 사용 중인 자격 증명을 명시하고 `Cloud sessions use your claude.ai login.`으로 끝나는 경우 [Cloud sessions use your claude.ai login](#cloud-sessions-use-your-claude-ai-login)을 참조하십시오. Claude Code가 조직의 정책을 전혀 불러오지 못한 경우에는 대신 [다른 메시지](#couldnt-verify-your-organizations-policy-for-cloud-sessions)가 표시됩니다.
3271 3303
3272**해결 방법:**3304**해결 방법:**
3273 3305
3275 3307
3276### Cloud sessions use your claude.ai login3308### Cloud sessions use your claude.ai login
3277 3309
3278[정책 거부 메시지](#cloud-sessions-are-disabled-by-your-organizations-policy)가 이 세션에서 사용 중인 자격 증명을 언급하고 이 문장으로 끝나는 경우, Claude Code는 해당 자격 증명을 발급한 조직의 클라우드 세션 정책을 확인한 것입니다. 그 조직은 claude.ai 로그인이 속한 조직과 다를 수 있습니다:3310[정책 거부](#cloud-sessions-are-disabled-by-your-organizations-policy) 메시지가 이 세션에서 사용 중인 자격 증명을 명시하고 이 문장으로 끝나는 경우, Claude Code는 해당 자격 증명을 발급한 조직의 클라우드 세션 정책을 확인한 것입니다. 이 조직은 claude.ai 로그인이 속한 조직과 다를 수 있습니다:
3279 3311
3280```text theme={null}3312```text theme={null}
3281Cloud sessions are disabled by your organization's policy. This session is using ANTHROPIC_API_KEY, so Claude Code checked the policy for the organization that key belongs to. Cloud sessions use your claude.ai login.3313Cloud sessions are disabled by your organization's policy. This session is using ANTHROPIC_API_KEY, so Claude Code checked the policy for the organization that key belongs to. Cloud sessions use your claude.ai login.
3282```3314```
3283 3315
3284마지막 문장은 클라우드 세션이 해당 자격 증명이 아닌 claude.ai 로그인으로 실행된다는 의미입니다. 이 형식은 `--cloud` 또는 `--teleport`처럼 셸에서 클라우드 세션을 시작하거나, 재개하거나, 메시지를 보낼 때 표시됩니다. v2.1.296 이전에는 이 경우에도 Claude Code가 조직 관리자에게 문의하라는 형식을 출력했습니다.3316마지막 문장은 클라우드 세션이 해당 자격 증명이 아니라 claude.ai 로그인으로 실행된다는 의미입니다. 이 형식은 `--cloud` 또는 `--teleport` 등을 사용해 셸에서 클라우드 세션을 시작하거나, 재개하거나, 메시지를 보낼 때 나타납니다. v2.1.296 이전에는 이 경우에도 Claude Code가 조직 관리자에게 문의하라는 형식을 출력했습니다.
3285 3317
3286### Couldn't verify your organization's policy for cloud sessions3318### Couldn't verify your organization's policy for cloud sessions
3287 3319
3288이 메시지는 Claude Code가 조직의 정책을 불러오지 못했다는 의미입니다. Claude Code는 [클라우드 세션](https://code.claude.com/docs/ko/claude-code-on-the-web.md)을 생성하거나, 재개하거나, 메시지를 보내기 전에 이 정책을 확인합니다. 정책 요청이 완료되지 않은 동안에는 메시지가 다음과 같습니다:3320이 메시지들은 Claude Code가 조직의 정책을 불러오지 못했다는 의미입니다. Claude Code는 [클라우드 세션](https://code.claude.com/docs/ko/claude-code-on-the-web.md)을 생성하거나, 재개하거나, 메시지를 보내기 전에 이 정책을 확인합니다. 정책 요청이 아직 완료되지 않은 동안 표시되는 메시지는 다음과 같습니다:
3289 3321
3290```text theme={null}3322```text theme={null}
3291Couldn't verify your organization's policy for cloud sessions. Check your network connection and try again.3323Couldn't verify your organization's policy for cloud sessions. Check your network connection and try again.
3292```3324```
3293 3325
3294세션 내에서는 `/teleport` 또는 `/web-setup`처럼 클라우드 세션이 필요한 명령도 이 메시지를 표시합니다. 셸에서라면 `Cloud sessions aren't available:` 형식이 출력될 상황에서도 마찬가지이며, 두 번째 문장은 `Check your network connection, then restart Claude Code and try again.`입니다.3326세션 내에서 `/teleport`나 `/web-setup`처럼 클라우드 세션이 필요한 명령도 이 메시지를 표시합니다. 셸에서라면 `Cloud sessions aren't available:` 형식이 출력될 상황에서도 마찬가지이며, 두 번째 문장은 `Check your network connection, then restart Claude Code and try again.`으로 표시됩니다.
3295 3327
3296정책 요청이 실패하면 메시지에 무엇이 실패했는지 표시됩니다. 이는 `--cloud` 또는 `--teleport` 같은 플래그로 셸에서 클라우드 세션을 시작하거나, 재개하거나, 메시지를 보낼 때 적용됩니다. API로의 경로가 없으면 다음과 같이 표시됩니다:3328정책 요청이 실패한 후에는 메시지에 무엇이 실패했는지 표시됩니다. 이는 `--cloud` 또는 `--teleport` 같은 플래그로 셸에서 클라우드 세션을 시작하거나, 재개하거나, 메시지를 보낼 때 적용됩니다. API에 연결할 경로가 없으면 다음과 같이 표시됩니다:
3297 3329
3298```text theme={null}3330```text theme={null}
3299Cloud sessions aren't available: couldn't reach api.anthropic.com to load your organization's policy. Check your network or proxy.3331Cloud sessions aren't available: couldn't reach api.anthropic.com to load your organization's policy. Check your network or proxy.
3300```3332```
3301 3333
3302다른 실패도 같은 시작 문구 뒤에 HTTP 403으로 요청을 거부한 프록시, 서버 오류, API가 받아들이지 않은 자격 증명 등 각자의 원인을 표시합니다. `ANTHROPIC_API_KEY` 환경 변수처럼 이 세션이 claude.ai 로그인 대신 사용하는 자격 증명을 API가 받아들이지 않은 경우, 메시지에 해당 자격 증명이 표시되고 이를 해제하라는 안내가 포함될 수도 있습니다:3334다른 실패도 같은 시작 문구 뒤에 각자의 원인을 표시합니다. 예를 들어 HTTP 403으로 요청을 거부한 프록시, 서버 오류, API가 받아들이지 않은 자격 증명 등이 있습니다. `ANTHROPIC_API_KEY` 환경 변수처럼 이 세션이 claude.ai 로그인 대신 사용하는 자격 증명을 API가 받아들이지 않은 경우, 메시지에 해당 자격 증명이 명시되고 설정을 해제하라는 안내가 포함될 수도 있습니다:
3303 3335
3304```text theme={null}3336```text theme={null}
3305Cloud sessions aren't available: api.anthropic.com didn't accept this session's credentials when Claude Code asked for your organization's policy. Cloud sessions use your claude.ai login. ANTHROPIC_API_KEY is set, so this session is using API-key auth — unset it (or run in a shell without it) to use cloud sessions.3337Cloud sessions aren't available: api.anthropic.com didn't accept this session's credentials when Claude Code asked for your organization's policy. Cloud sessions use your claude.ai login. ANTHROPIC_API_KEY is set, so this session is using API-key auth — unset it (or run in a shell without it) to use cloud sessions.
3306```3338```
3307 3339
3308v2.1.296 이전에는 이러한 실패에도 `Couldn't verify` 메시지가 출력되었습니다.3340v2.1.296 이전에는 이러한 실패에서도 `Couldn't verify` 메시지가 출력되었습니다.
3309 3341
3310**해결 방법:**3342**해결 방법:**
3311 3343
3312* `Couldn't verify` 메시지의 경우 네트워크 연결을 확인하고 다시 시도합니다. 세션 내에서는 먼저 Claude Code를 다시 시작합니다3344* `Couldn't verify` 메시지의 경우 네트워크 연결을 확인하고 다시 시도합니다. 세션 내에서는 먼저 Claude Code를 다시 시작합니다
3313* `Cloud sessions aren't available:` 메시지의 경우 프록시를 확인하거나 메시지에 표시된 자격 증명을 해제하는 등 원인에 맞는 조치를 취한 다음 명령을 다시 실행합니다3345* `Cloud sessions aren't available:` 메시지의 경우 프록시를 확인하거나 메시지에 명시된 자격 증명의 설정을 해제하는 등 원인에 맞는 조치를 취한 뒤 명령을 다시 실행합니다
3314 3346
3315### Nothing was stashed because a folder replaced a tracked file3347### 폴더가 추적 중인 파일을 대체하여 아무것도 stash되지 않음
3316 3348
3317이 메시지는 체크아웃에서 git이 추적하던 파일이나 링크가 있던 자리에 이제 폴더가 있다는 의미입니다. 예를 들어 `claude --teleport` 또는 `/teleport`로 [클라우드 세션](https://code.claude.com/docs/ko/claude-code-on-the-web.md#from-cloud-to-terminal)을 터미널로 가져오는 동안 stash 옵션을 선택하면 표시됩니다. 이 상태를 stash하면 폴더 안의 파일이 삭제될 수 있으므로, Claude Code는 stash를 거부하고 체크아웃과 인덱스를 변경하지 않은 채로 둡니다:3349이 메시지는 체크아웃에서 git이 추적하던 파일이나 링크가 있던 자리에 이제 폴더가 있다는 의미입니다. 예를 들어 `claude --teleport` 또는 `/teleport`로 [클라우드 세션](https://code.claude.com/docs/ko/claude-code-on-the-web.md#from-cloud-to-terminal)을 터미널로 가져오는 중 stash 옵션을 선택한 후에 나타납니다. 이 상태를 stash하면 폴더 안의 파일이 삭제될 수 있으므로, Claude Code는 stash를 거부하고 체크아웃과 인덱스를 변경하지 않은 상태로 둡니다:
3318 3350
3319```text wrap theme={null}3351```text wrap theme={null}
3320Error: Nothing was stashed: "f" is now a folder in place of a tracked file or link, and stashing could delete what's in it for good. Commit the change or move the folder somewhere else, then try again.3352Error: Nothing was stashed: "f" is now a folder in place of a tracked file or link, and stashing could delete what's in it for good. Commit the change or move the folder somewhere else, then try again.
3322 3354
3323**해결 방법:**3355**해결 방법:**
3324 3356
3325* 메시지에 안내된 대로 변경 사항을 커밋하거나 폴더를 다른 곳으로 옮긴 다음 Teleport를 다시 실행합니다3357* 메시지 안내대로 변경 사항을 커밋하거나 폴더를 다른 곳으로 옮긴 뒤 teleport를 다시 실행합니다
3326 3358
3327### The `--json-schema` value is not a valid JSON Schema3359### `--json-schema` 값이 유효한 JSON Schema가 아님
3328 3360
3329[비대화형 모드](https://code.claude.com/docs/ko/headless.md#get-structured-output)에서 [`--json-schema`](https://code.claude.com/docs/ko/cli-reference#cli-flags)에 전달한 스키마가 JSON Schema 컴파일에 실패했으므로, `claude`는 프롬프트를 실행하지 않고 종료 코드 1로 종료됩니다. v2.1.205 이전에는 유효하지 않은 스키마가 오류 없이 구조화되지 않은 출력을 생성했으며, `format` 키워드를 사용하는 모든 스키마는 유효하지 않은 것으로 처리되었습니다.3361[비대화형 모드](https://code.claude.com/docs/ko/headless.md#get-structured-output)에서 [`--json-schema`](https://code.claude.com/docs/ko/cli-reference#cli-flags)에 전달한 스키마가 JSON Schema 컴파일에 실패하여, `claude`가 프롬프트를 실행하지 않고 종료 코드 1로 종료됩니다. v2.1.205 이전에는 유효하지 않은 스키마가 오류 없이 구조화되지 않은 출력을 생성했으며, `format` 키워드를 사용하는 스키마는 모두 유효하지 않은 것으로 처리되었습니다.
3330 3362
3331```text theme={null}3363```text theme={null}
3332Error: --json-schema is not a valid JSON Schema: data/type must be equal to one of the allowed values3364Error: --json-schema is not a valid JSON Schema: data/type must be equal to one of the allowed values
3333```3365```
3334 3366
3335두 번째 콜론 뒤의 텍스트는 검사기의 진단 메시지이며, 실패한 키워드나 위치를 알려 줍니다. `"format": "email"`처럼 `format` 키워드를 사용하는 스키마는 유효합니다. Claude Code는 `format`을 주석으로 받아들이며 이를 강제하지 않습니다.3367두 번째 콜론 뒤의 텍스트는 검증기의 진단 메시지이며 실패한 키워드나 위치를 명시합니다. `"format": "email"`처럼 `format` 키워드를 사용하는 스키마는 유효합니다. Claude Code는 `format`을 주석으로 받아들이며 이를 강제하지 않습니다.
3336 3368
3337Claude Code는 스키마 컴파일 전에 두 가지 검사를 실행합니다. 파싱할 수 없는 JSON 값은 `Error: --json-schema is not valid JSON`으로 거부하고, 객체가 아닌 유효한 JSON은 `Error: --json-schema must be a JSON object`로 거부합니다.3369Claude Code는 스키마 컴파일 전에 두 가지 검사를 실행합니다. 파싱할 수 없는 JSON 값은 `Error: --json-schema is not valid JSON`으로, 객체가 아닌 유효한 JSON은 `Error: --json-schema must be a JSON object`로 거부합니다.
3338 3370
3339**해결 방법:**3371**해결 방법:**
3340 3372
3341* 진단 메시지가 가리키는 스키마 부분을 수정한 다음 명령을 다시 실행합니다3373* 진단 메시지가 명시한 스키마 부분을 수정한 뒤 명령을 다시 실행합니다
3342* 동작하는 스키마와 명령은 [구조화된 출력 받기](https://code.claude.com/docs/ko/headless.md#get-structured-output)를 참조하세요3374* 동작하는 스키마와 명령은 [구조화된 출력 얻기](https://code.claude.com/docs/ko/headless.md#get-structured-output)를 참조하십시오
3343 3375
3344### Settings file exceeds the 2MiB limit3376### Settings file exceeds the 2MiB limit
3345 3377
3346[`--settings`](https://code.claude.com/docs/ko/cli-reference#cli-flags)에 전달한 파일이 2 MiB보다 크므로, `claude`는 파일을 불러오지 않고 시작 시 종료 코드 1로 종료됩니다. v2.1.214 이전에는 Claude Code가 크기 검사 없이 파일을 읽었으며, 수 기가바이트 파일이나 `/dev/zero` 같은 장치 파일로 인해 메모리가 한없이 증가했습니다.3378[`--settings`](https://code.claude.com/docs/ko/cli-reference#cli-flags)에 전달한 파일이 2 MiB보다 커서 `claude`가 파일을 불러오지 않고 시작 시 종료 코드 1로 종료됩니다. v2.1.214 이전에는 Claude Code가 크기 검사 없이 파일을 읽었으며, 수 기가바이트 크기의 파일이나 `/dev/zero` 같은 장치 파일로 인해 메모리가 무한정 증가했습니다.
3347 3379
3348```text theme={null}3380```text theme={null}
3349Error: Settings file exceeds the 2MiB limit: /path/to/settings.json3381Error: Settings file exceeds the 2MiB limit: /path/to/settings.json
3350```3382```
3351 3383
3352Claude Code는 일반 파일이 아닌 `--settings` 경로도 같은 방식으로 거부합니다. 장치, FIFO 또는 소켓은 `Error: Cannot use settings file (Not a regular file (device, FIFO, or socket))`와 그 뒤에 경로를 표시하고, 디렉터리는 `EISDIR` 사유를 표시합니다.3384Claude Code는 일반 파일이 아닌 `--settings` 경로도 같은 방식으로 거부합니다. 장치, FIFO 또는 소켓은 `Error: Cannot use settings file (Not a regular file (device, FIFO, or socket))` 뒤에 경로를 표시하며, 디렉터리는 `EISDIR` 사유를 표시합니다.
3353 3385
3354**해결 방법:**3386**해결 방법:**
3355 3387
3356* `--settings`가 2 MiB 미만의 일반 JSON 설정 파일을 가리키도록 합니다. 형식은 [설정](https://code.claude.com/docs/ko/settings.md)을 참조하세요.3388* `--settings`가 2 MiB 미만의 일반 JSON 설정 파일을 가리키도록 합니다. 형식은 [설정](https://code.claude.com/docs/ko/settings.md)을 참조하십시오.
3357 3389
3358### Configuration error in \~/.claude.json3390### Configuration error in \~/.claude.json
3359 3391
3360Claude Code가 계정 정보, MCP 서버, 프로젝트별 상태를 담고 있는 파일인 `~/.claude.json`을 파싱하지 못했습니다. `claude -p` 같은 [비대화형](https://code.claude.com/docs/ko/headless.md) 시작은 종료 코드 1로 종료됩니다.3392Claude Code가 계정 정보, MCP 서버, 프로젝트별 상태를 보관하는 파일인 `~/.claude.json`을 파싱하지 못했습니다. `claude -p` 같은 [비대화형](https://code.claude.com/docs/ko/headless.md) 시작은 종료 코드 1로 종료됩니다.
3361 3393
3362Claude Code가 [백업](https://code.claude.com/docs/ko/claude-directory.md#cleaned-up-automatically)을 찾으면, 출력에 해당 백업이 표시되고 이를 다시 복사하는 `cp` 줄이 출력됩니다:3394Claude Code가 [백업](https://code.claude.com/docs/ko/claude-directory.md#cleaned-up-automatically)을 찾으면 출력에 해당 백업이 명시되고, 백업을 다시 복사하는 `cp` 줄이 출력됩니다:
3363 3395
3364```text wrap theme={null}3396```text wrap theme={null}
3365Claude configuration file at /home/user/.claude.json is corrupted: <JSON parser's message>3397Claude configuration file at /home/user/.claude.json is corrupted: <JSON parser's message>
3372 3404
3373**해결 방법:**3405**해결 방법:**
3374 3406
3375* **출력에 `cp` 줄이 있는 경우**: 해당 줄을 터미널에서 실행합니다. Windows에서는 PowerShell에서 실행합니다.3407* **출력에 `cp` 줄이 있는 경우**: 터미널에서 해당 줄을 실행합니다. Windows에서는 PowerShell에서 실행합니다.
3376* **출력에 `cp` 줄이 없거나, 실행한 후에도 오류가 다시 나타나는 경우**: `~/.claude.json`에 구성이 아직 남아 있다면 JSON을 수정합니다. 수정할 수 없다면 [`~/.claude/backups/`](https://code.claude.com/docs/ko/claude-directory#cleaned-up-automatically)에 다른 `.claude.json.backup.<timestamp>` 파일이 있을 경우 이를 덮어쓰거나, 파일 이름을 변경합니다. `~/.claude.json`에 파일이 없으면 Claude Code는 기본 설정으로 시작하며 파일에 있던 내용은 모두 사라집니다.3408* **출력에 `cp` 줄이 없거나, 실행한 후에도 오류가 다시 발생하는 경우**: `~/.claude.json`에 구성이 아직 남아 있다면 JSON을 수정합니다. 수정할 수 없다면 [`~/.claude/backups/`](https://code.claude.com/docs/ko/claude-directory#cleaned-up-automatically)에 다른 `.claude.json.backup.<timestamp>` 파일이 있는 경우 그 파일로 덮어쓰거나, 파일 이름을 변경합니다. `~/.claude.json`에 파일이 없으면 Claude Code는 기본 설정으로 시작하며, 파일에 있던 내용은 모두 사라집니다.
3377* **`~/.claude.json`에 더 이상 구성이 없는 경우**: [`~/.claude/backups/`](https://code.claude.com/docs/ko/claude-directory#cleaned-up-automatically)나 홈 디렉터리에서 구성이 남아 있는 `.claude.json.corrupted.<timestamp>` 파일을 찾습니다. JSON을 수정한 다음 `~/.claude.json` 위에 복사합니다. 해당 파일을 찾거나 수정할 수 없다면, 구성이 남아 있는 `.claude.json.backup.<timestamp>` 파일로 같은 단계를 시도합니다. 그런 파일도 없다면 `~/.claude.json`의 이름을 변경하고 [`claude mcp add`](https://code.claude.com/docs/ko/mcp#installing-mcp-servers)로 MCP 서버를 다시 추가합니다.3409* **`~/.claude.json`에 더 이상 구성이 없는 경우**: [`~/.claude/backups/`](https://code.claude.com/docs/ko/claude-directory#cleaned-up-automatically) 또는 홈 디렉터리에서 구성이 아직 남아 있는 `.claude.json.corrupted.<timestamp>` 파일을 찾습니다. 해당 파일의 JSON을 수정한 뒤 `~/.claude.json` 위에 복사합니다. 그런 파일을 찾거나 수정할 수 없다면 구성이 남아 있는 `.claude.json.backup.<timestamp>` 파일로 같은 단계를 시도합니다. 그런 파일도 없다면 `~/.claude.json`의 이름을 변경하고 [`claude mcp add`](https://code.claude.com/docs/ko/mcp#installing-mcp-servers)로 MCP 서버를 다시 추가합니다.
3378 3410
3379### Claude configuration file was empty and no backup holds anything3411### Claude configuration file was empty and no backup holds anything
3380 3412
3381시작 시 이 메시지가 표시되면 메시지에 표시된 파일이 비어 있었고, 해당 파일의 [`.backup` 사본](https://code.claude.com/docs/ko/claude-directory#cleaned-up-automatically) 중 어느 것에도 내용이 없다는 의미입니다. Claude Code는 해당 파일이 담는 내용을 기본값으로 설정하고 시작했습니다. `settings.json` 파일과 `.mcp.json`은 별도의 파일입니다.3413시작 시 이 메시지가 표시되면 메시지에 명시된 파일이 비어 있었고, 해당 파일의 [`.backup` 사본](https://code.claude.com/docs/ko/claude-directory#cleaned-up-automatically) 중 어느 것에도 내용이 없다는 의미입니다. Claude Code는 해당 파일이 보관하는 내용에 대해 기본값으로 시작했습니다. `settings.json` 파일과 `.mcp.json`은 별도의 파일입니다.
3382 3414
3383```text wrap theme={null}3415```text wrap theme={null}
3384Claude configuration file at /home/user/.claude.json was empty and no backup holds anything: starting with defaults.3416Claude configuration file at /home/user/.claude.json was empty and no backup holds anything: starting with defaults.
3389* 해당 파일에 구성해 두었던 내용을 다시 설정합니다. 예를 들어 터미널에서 `claude mcp add`로 `user` 및 `local` 범위의 [MCP 서버](https://code.claude.com/docs/ko/mcp.md#mcp-installation-scopes)를 추가합니다.3421* 해당 파일에 구성해 두었던 내용을 다시 설정합니다. 예를 들어 터미널에서 `claude mcp add`로 `user` 및 `local` 범위의 [MCP 서버](https://code.claude.com/docs/ko/mcp.md#mcp-installation-scopes)를 추가합니다.
3390* Claude Code가 요청하면 다시 로그인합니다3422* Claude Code가 요청하면 다시 로그인합니다
3391 3423
3392v2.1.318 이전에는 Claude Code가 백업이 없는 빈 파일을 [손상된](#configuration-error-in-claude-json) 파일로 보고했습니다.3424v2.1.318 이전에는 Claude Code가 백업이 없는 빈 파일을 [손상된 것](#configuration-error-in-claude-json)으로 보고했습니다.
3393 3425
3394### The current directory no longer exists3426### The current directory no longer exists
3395 3427
3396셸이 진입한 후 삭제되거나 이동된 디렉터리(예: 다른 셸이 제거한 worktree 또는 임시 디렉터리)에서 `claude`를 시작했습니다. Claude Code가 작업 디렉터리를 읽을 수 없으므로 대화형 모드와 [비대화형](https://code.claude.com/docs/ko/headless.md) 모드 모두에서 세션을 시작하기 전에 종료 코드 1로 종료됩니다. v2.1.239 이전에는 이 메시지 대신 Claude Code가 축소된 번들 소스와 원시 `ENOENT ... uv_cwd` 스택을 stderr에 출력하며 비정상 종료되었습니다.3428셸이 진입한 후 삭제되거나 이동된 디렉터리(예: 다른 셸이 제거한 worktree나 임시 디렉터리)에서 `claude`를 시작한 경우입니다. Claude Code는 작업 디렉터리를 읽을 수 없으므로, 대화형 모드와 [비대화형](https://code.claude.com/docs/ko/headless.md) 모드 모두에서 세션을 시작하기 전에 종료 코드 1로 종료됩니다. v2.1.239 이전에는 Claude Code가 이 메시지 대신 축소된 번들 소스와 원시 `ENOENT ... uv_cwd` 스택을 stderr에 출력하며 비정상 종료되었습니다.
3397 3429
3398```text theme={null}3430```text theme={null}
3399The current directory no longer exists (it was deleted or moved). Start Claude Code from an existing directory.3431The current directory no longer exists (it was deleted or moved). Start Claude Code from an existing directory.
3400error: The current working directory was deleted, so that command didn't work. Please cd into a different directory and try again.3432error: The current working directory was deleted, so that command didn't work. Please cd into a different directory and try again.
3401```3433```
3402 3434
3403두 형식의 원인과 해결 방법은 동일합니다.3435두 형식의 원인과 해결 방법은 같습니다.
3404 3436
3405권한 변경 등 다른 이유로 Claude Code가 작업 디렉터리를 읽을 수 없는 경우, 메시지에는 대신 오류 코드가 표시됩니다: `Can't read the current directory (EACCES). Start Claude Code from a different directory.`3437권한 변경 등 다른 이유로 Claude Code가 작업 디렉터리를 읽을 수 없는 경우 메시지에 대신 오류 코드가 표시됩니다: `Can't read the current directory (EACCES). Start Claude Code from a different directory.`
3406 3438
3407macOS에서 `~/Desktop`, `~/Documents`, `~/Downloads` 또는 iCloud Drive의 디렉터리에 대해 `EPERM`이 발생하면, 대개 macOS가 터미널 앱의 해당 폴더 접근을 차단하고 있다는 의미입니다. 해당 폴더를 읽는 다른 명령도 같은 방식으로 실패합니다. 그 위치에서 `ls`를 실행하면 `sudo`를 사용하더라도 `Operation not permitted`가 보고됩니다.3439macOS에서 `~/Desktop`, `~/Documents`, `~/Downloads` 또는 iCloud Drive의 디렉터리에 대해 `EPERM`이 표시되면 대개 macOS가 터미널 앱의 해당 폴더 접근을 차단하고 있다는 의미입니다. 해당 폴더를 읽는 다른 명령도 같은 방식으로 실패합니다. 그 위치에서 `ls`를 실행하면 `sudo`를 사용하더라도 `Operation not permitted`가 보고됩니다.
3408 3440
3409**해결 방법:**3441**해결 방법:**
3410 3442
3411* 홈 디렉터리나 프로젝트 디렉터리처럼 존재하는 디렉터리로 이동한 다음 `claude`를 다시 실행합니다3443* 홈 디렉터리나 프로젝트 디렉터리처럼 존재하는 디렉터리로 이동한 뒤 `claude`를 다시 실행합니다
3412* 디렉터리가 같은 경로에 다시 생성된 경우에도 셸은 여전히 삭제된 디렉터리를 가리키고 있습니다. `cd "$PWD"`를 실행하거나 디렉터리를 나갔다가 다시 들어간 다음 `claude`를 다시 실행합니다3444* 디렉터리가 같은 경로에 다시 생성된 경우 셸은 여전히 삭제된 디렉터리를 붙잡고 있습니다. `cd "$PWD"`를 실행하거나 디렉터리에서 나갔다가 다시 들어간 뒤 `claude`를 다시 실행합니다
3413* macOS에서 `EPERM`이 발생하면 Cmd+Q로 터미널 앱을 종료하고, 다시 연 다음 해당 폴더로 돌아가 `claude`를 실행합니다. 해당 폴더에서 `ls`가 여전히 실패하면 **System Settings > Privacy & Security > Files and Folders**를 열고 터미널 앱에 대해 해당 폴더를 켠 다음 터미널을 다시 엽니다3445* macOS에서 `EPERM`이 표시되는 경우 Cmd+Q로 터미널 앱을 종료하고 다시 연 뒤 해당 폴더로 돌아가 `claude`를 실행합니다. 해당 폴더에서 `ls`가 여전히 실패하면 **시스템 설정 > 개인정보 보호 및 보안 > 파일 및 폴더**를 열고 터미널 앱에 대해 해당 폴더를 켠 뒤 터미널을 다시 엽니다
3414 3446
3415### 임시 디렉터리가 거부되었거나 생성할 수 없음3447### 임시 디렉터리가 거부되었거나 생성할 수 없음
3416 3448
3417macOS와 Linux에서 Claude Code는 시작 시 시스템 임시 디렉터리 또는 [`CLAUDE_CODE_TMPDIR`](https://code.claude.com/docs/ko/env-vars) 재정의 위치 아래에 `claude-<uid>`라는 비공개 임시 디렉터리를 생성합니다. 디렉터리를 생성할 수 없거나 해당 경로에 이미 있는 항목이 안전 검사를 통과하지 못하면, Claude Code는 세션을 시작하지 않고 실패 내용을 stderr에 출력한 후 종료 코드 1로 종료됩니다:3449macOS와 Linux에서 Claude Code는 시작 시 시스템 임시 디렉터리 또는 [`CLAUDE_CODE_TMPDIR`](https://code.claude.com/docs/ko/env-vars) 재정의 아래에 전용 임시 디렉터리 `claude-<uid>`를 생성합니다. 디렉터리를 생성할 수 없거나, 해당 경로에 이미 있는 항목이 안전 검사를 통과하지 못하면 Claude Code는 실패 내용을 stderr에 출력하고 세션을 시작하지 않고 종료 코드 1로 종료됩니다:
3418 3450
3419```text wrap theme={null}3451```text wrap theme={null}
3420Claude Code's temporary directory /tmp/claude-501 could not be created: the volume holding /tmp is full (ENOSPC). Free space on that volume, or set CLAUDE_CODE_TMPDIR to a directory on another one, then try again.3452Claude Code's temporary directory /tmp/claude-501 could not be created: the volume holding /tmp is full (ENOSPC). Free space on that volume, or set CLAUDE_CODE_TMPDIR to a directory on another one, then try again.
3428 3460
3429**해결 방법:**3461**해결 방법:**
3430 3462
3431* `could not be created` 뒤에 `is full (ENOSPC)`가 오는 경우 메시지에 표시된 볼륨의 디스크 공간을 확보합니다. 대신 `your disk quota on the volume holding /tmp is used up (EDQUOT)`가 표시되면 해당 볼륨에서 더 이상 필요하지 않은 본인 파일을 삭제합니다3463* `could not be created` 뒤에 `is full (ENOSPC)`가 표시되는 경우 메시지에 명시된 볼륨의 디스크 공간을 확보합니다. 대신 `your disk quota on the volume holding /tmp is used up (EDQUOT)`가 표시되는 경우 해당 볼륨에서 더 이상 필요하지 않은 본인 파일을 삭제합니다
3432* `Refusing to use it` 형식의 경우 링크가 가리키는 대상이 아니라 메시지에 표시된 항목 자체를 제거하고 Claude Code를 다시 시작합니다. `owned by uid` 형식의 경우 관리자나 해당 사용자만 이를 제거할 수 있습니다3464* `Refusing to use it` 형식의 경우 링크가 가리키는 대상이 아니라 명시된 항목 자체를 제거한 뒤 Claude Code를 다시 시작합니다. `owned by uid` 형식의 경우 관리자나 해당 사용자만 그 항목을 제거할 수 있습니다
3433* `is not readable`의 경우 표시된 디렉터리에 `chmod 0700`을 실행하거나, 디렉터리를 제거하고 다시 시작합니다3465* `is not readable`의 경우 명시된 디렉터리에 `chmod 0700`을 실행하거나, 디렉터리를 제거하고 다시 시작합니다
3434* 어떤 경우든 거부된 경로는 그대로 두고, [`CLAUDE_CODE_TMPDIR`](https://code.claude.com/docs/ko/env-vars)를 직접 제어할 수 있는 디렉터리로 설정한 다음 Claude Code를 다시 시작할 수 있습니다3466* 어느 경우에도 [`CLAUDE_CODE_TMPDIR`](https://code.claude.com/docs/ko/env-vars)를 사용자가 제어하는 디렉터리로 설정하고 Claude Code를 다시 시작할 수 있으며, 거부된 경로는 그대로 둡니다
3435 3467
3436v2.1.309 이전에는 볼륨이 가득 찼거나 할당량을 모두 사용한 경우 Claude Code가 운영 체제의 오류 텍스트만 출력했습니다. 예를 들면 `ENOSPC: no space left on device, mkdir '/tmp/claude-501'`이며, 같은 단계가 적용됩니다.3468v2.1.309 이전에는 볼륨이 가득 찼거나 할당량을 모두 사용한 경우 Claude Code가 운영 체제의 오류 텍스트만 출력했습니다. 예를 들어 `ENOSPC: no space left on device, mkdir '/tmp/claude-501'`이 출력되며, 해결 단계는 동일합니다.
3437 3469
3438### Claude Code could not save because the disk is full3470### 디스크가 가득 차서 Claude Code가 저장하지 못함
3439 3471
3440[`claude -p`](https://code.claude.com/docs/ko/headless) 실행 후 stderr에 이 줄이 표시되면 디스크가 가득 찼거나 디스크 할당량을 모두 사용하여 Claude Code가 실행 내용을 모두 저장하지 못했다는 의미입니다:3472[`claude -p`](https://code.claude.com/docs/ko/headless) 실행 후 stderr에 이 줄이 표시되면 디스크가 가득 찼거나 디스크 할당량을 모두 사용하여 Claude Code가 실행 내용을 모두 저장하지 못했다는 의미입니다:
3441 3473
3443Error: Claude Code could not save all of this session's transcript under /Users/you/.claude because the disk is full (ENOSPC). If you resume this session, part of the conversation may be missing. Free up space on that disk before the next run.3475Error: Claude Code could not save all of this session's transcript under /Users/you/.claude because the disk is full (ENOSPC). If you resume this session, part of the conversation may be missing. Free up space on that disk before the next run.
3444```3476```
3445 3477
3446텍스트 또는 `json` 출력에서는 실행이 종료 코드 1로 종료되며, 답변은 이미 출력된 상태입니다. `stream-json` 출력에서는 실행이 평소의 종료 코드를 유지하며, 답변도 그대로 전달됩니다.3478텍스트 또는 `json` 출력에서는 실행이 종료 코드 1로 종료되며, 응답은 이미 출력된 상태입니다. `stream-json` 출력에서는 실행이 평소의 종료 코드를 유지하며, 응답도 여전히 전달됩니다.
3447 3479
3448**해결 방법:**3480**해결 방법:**
3449 3481
3450* **`the disk is full (ENOSPC)`**: 다음 실행 전에 메시지의 경로를 담고 있는 디스크의 공간을 확보합니다3482* **`the disk is full (ENOSPC)`**: 다음 실행 전에 메시지의 경로가 있는 디스크의 공간을 확보합니다
3451* **`your disk quota is used up (EDQUOT)`**: 다음 실행 전에 공간을 확보하거나 더 큰 할당량을 요청합니다3483* **`your disk quota is used up (EDQUOT)`**: 다음 실행 전에 공간을 확보하거나 더 큰 할당량을 요청합니다
3452 3484
3453### Directory couldn't be resolved to a real location3485### 디렉터리를 실제 위치로 확인할 수 없음
3454 3486
3455작업 디렉터리의 하위 디렉터리에 대해 `/add-dir`을 실행했는데, Claude Code가 디렉터리를 실제 위치로 확인할 수 없었습니다.3487작업 디렉터리의 하위 디렉터리에 대해 `/add-dir`을 실행했는데, Claude Code가 해당 디렉터리를 실제 위치로 확인하지 못한 경우입니다.
3456 3488
3457작업 디렉터리의 하위 디렉터리에는 이미 파일 접근 권한이 있으므로 `/add-dir`은 해당 디렉터리의 스킬, 명령, 에이전트만 불러옵니다. 불러오기 전에 Claude Code는 심볼릭 링크를 모두 확인한 디렉터리의 실제 위치가 작업 디렉터리 안에 있는지 검사합니다. Claude Code가 해당 위치를 확인할 수 없으면 아무것도 불러오지 않고 다음 메시지를 표시합니다:3489작업 디렉터리의 하위 디렉터리에는 이미 파일 접근 권한이 있으므로 `/add-dir`은 해당 디렉터리의 스킬, 명령, 에이전트만 불러옵니다. Claude Code는 이를 불러오기 전에 심볼릭 링크를 모두 확인한 디렉터리의 실제 위치가 작업 디렉터리 안에 있는지 검사합니다. Claude Code가 그 위치를 확인할 수 없으면 아무것도 불러오지 않고 다음 메시지를 표시합니다:
3458 3490
3459```text theme={null}3491```text theme={null}
3460packages/app couldn't be resolved to a real location, so its skills, commands, and agents weren't loaded. Check that it is a directory inside the working directory and try again.3492packages/app couldn't be resolved to a real location, so its skills, commands, and agents weren't loaded. Check that it is a directory inside the working directory and try again.
3462 3494
3463**해결 방법:**3495**해결 방법:**
3464 3496
3465* 경로가 작업 디렉터리 안의 실제 디렉터리를 가리키는지 확인한 다음 `/add-dir`을 다시 실행합니다3497* 경로가 작업 디렉터리 안의 실제 디렉터리를 가리키는지 확인한 뒤 `/add-dir`을 다시 실행합니다
3466* 이 메시지는 파일 접근 권한을 변경하지 않습니다. 디렉터리의 `.claude/` 콘텐츠를 불러오지 않았다는 것만 알려 줍니다3498* 이 메시지는 파일 접근 권한을 변경하지 않으며, 해당 디렉터리의 `.claude/` 콘텐츠가 불러와지지 않았음을 알릴 뿐입니다
3467 3499
3468v2.1.261 이전에는 작업 디렉터리가 `/net/<host>` 자동 마운트에 있을 때 모든 `/add-dir <subdirectory>`에 대해서도 이 메시지가 표시되었습니다. 이 경우 Claude Code는 의도적으로 경로 확인을 하지 않으며, 디렉터리에는 문제가 없고 재시도해도 도움이 되지 않았습니다.3500v2.1.261 이전에는 작업 디렉터리가 `/net/<host>` 자동 마운트에 있을 때 모든 `/add-dir <subdirectory>`에 대해서도 이 메시지가 나타났습니다. 이 경우 Claude Code는 설계상 경로 확인을 하지 않으며, 디렉터리에는 문제가 없었고 재시도해도 소용이 없었습니다.
3469 3501
3470### Workspace not trusted when starting Remote Control3502### Remote Control 시작 시 워크스페이스가 신뢰되지 않음
3471 3503
3472> [!NOTE]3504> [!NOTE]
3473>3505>
3474> `claude ultrareview`가 `Error: Workspace not trusted`를 출력한 경우에는 대신 [Workspace not trusted when running claude ultrareview](#workspace-not-trusted-when-running-claude-ultrareview)를 참조하세요.3506> `claude ultrareview`가 `Error: Workspace not trusted`를 출력한 경우에는 대신 [claude ultrareview 실행 시 워크스페이스가 신뢰되지 않음](#workspace-not-trusted-when-running-claude-ultrareview)을 참조하십시오.
3475 3507
3476신뢰하지 않은 디렉터리에서 `claude remote-control` 또는 그 별칭인 `claude rc`로 [Remote Control](https://code.claude.com/docs/ko/remote-control.md) 서버 모드를 시작했으며, 명령이 해당 디렉터리를 신뢰할지 물어볼 수 없었습니다. 예를 들어 표준 입력이나 표준 출력 중 하나가 리디렉션되거나 파이프로 연결되어 터미널이 아닌 경우입니다. 명령은 종료 코드 1로 종료됩니다:3508신뢰하지 않은 디렉터리에서 `claude remote-control` 또는 그 별칭인 `claude rc`로 [Remote Control](https://code.claude.com/docs/ko/remote-control.md) 서버 모드를 시작했는데, 명령이 해당 디렉터리를 신뢰할지 물을 수 없었던 경우입니다. 예를 들어 명령의 표준 입력이나 표준 출력 중 하나가 리디렉션되거나 파이프로 연결되어 터미널이 아닌 경우입니다. 명령은 종료 코드 1로 종료됩니다:
3477 3509
3478```text theme={null}3510```text theme={null}
3479Error: Workspace not trusted. Please run `claude` in /Users/you/project first to review and accept the workspace trust dialog.3511Error: Workspace not trusted. Please run `claude` in /Users/you/project first to review and accept the workspace trust dialog.
3480```3512```
3481 3513
3482역시 `Error: Workspace not trusted.`로 시작하는 두 가지 변형은, 디렉터리를 신뢰하면 켜지는 항목을 표시하기에 너무 작은 터미널이나 크기를 보고하지 않는 터미널에서 표시됩니다. 창을 키우거나 일반 터미널 창으로 전환한 다음 `claude rc`를 다시 실행합니다.3514역시 `Error: Workspace not trusted.`로 시작하는 두 가지 변형은 디렉터리를 신뢰할 때 켜지는 항목을 표시하기에 터미널이 너무 작거나, 터미널이 크기를 보고하지 않을 때 나타납니다. 창을 키우거나 일반 터미널 창으로 전환한 뒤 `claude rc`를 다시 실행합니다.
3483 3515
3484홈 디렉터리에서는 메시지가 다릅니다. 워크스페이스 신뢰 대화 상자는 홈 디렉터리에 대한 신뢰를 저장하지 않으므로, 그곳에서 수락해도 이 검사를 통과할 수 없기 때문입니다. v2.1.214 이전에는 홈 디렉터리에서도 위의 메시지가 표시되었는데, 그 안내는 홈 디렉터리에서는 성공할 수 없습니다.3516홈 디렉터리에서는 메시지가 다릅니다. 워크스페이스 신뢰 대화 상자는 홈 디렉터리에 대한 신뢰를 절대 저장하지 않으므로, 그곳에서 수락해도 이 검사를 통과할 수 없기 때문입니다. v2.1.214 이전에는 홈 디렉터리에서 위의 메시지가 표시되었으며, 그 안내는 그곳에서 성공할 수 없었습니다.
3485 3517
3486```text theme={null}3518```text theme={null}
3487Error: Workspace not trusted. /Users/you is your home directory, and for security home-directory trust is never saved, so running `claude` here first won't help. Run `claude rc` from a project directory instead (run `claude` there once to accept the trust dialog).3519Error: Workspace not trusted. /Users/you is your home directory, and for security home-directory trust is never saved, so running `claude` here first won't help. Run `claude rc` from a project directory instead (run `claude` there once to accept the trust dialog).
3488```3520```
3489 3521
3490[`Trust <directory>?` 질문](https://code.claude.com/docs/ko/remote-control#requirements)에 `n`으로 답하거나 Enter를 누르면, 명령은 디렉터리를 표시하는 `Remote Control did not start` 메시지를 출력하고 종료 코드 1로 종료됩니다. `claude rc`를 다시 실행하여 `y`로 답합니다.3522[`Trust <directory>?` 질문](https://code.claude.com/docs/ko/remote-control#requirements)에 `n`으로 답하거나 Enter를 누르면 명령은 디렉터리를 명시하는 `Remote Control did not start` 메시지를 출력하고 종료 코드 1로 종료됩니다. `y`로 답하려면 `claude rc`를 다시 실행합니다.
3491 3523
3492**해결 방법:**3524**해결 방법:**
3493 3525
3494* 먼저 터미널에서 디렉터리를 신뢰합니다. 해당 위치에서 `claude rc`를 실행하고 `y`로 답하거나, `claude`를 실행하고 [워크스페이스 신뢰 대화 상자](https://code.claude.com/docs/ko/permissions.md#project-allow-rules-and-workspace-trust)를 수락한 다음, 원래 명령을 다시 실행합니다3526* 먼저 터미널에서 디렉터리를 신뢰합니다. 그곳에서 `claude rc`를 실행하고 `y`로 답하거나, `claude`를 실행하고 [워크스페이스 신뢰 대화 상자](https://code.claude.com/docs/ko/permissions.md#project-allow-rules-and-workspace-trust)를 수락한 뒤 원래 명령을 다시 실행합니다
3495* 홈 디렉터리에 있는 경우 프로젝트 디렉터리로 이동하여 그곳에서 Remote Control을 시작합니다3527* 홈 디렉터리에 있는 경우 프로젝트 디렉터리로 이동하여 그곳에서 Remote Control을 시작합니다
3496 3528
3497v2.1.284 이전에는 터미널에서도 명령이 묻지 않았습니다.3529v2.1.284 이전에는 터미널에서도 명령이 묻지 않았습니다.
3498 3530
3499### Workspace not trusted when running claude ultrareview3531### claude ultrareview 실행 시 워크스페이스가 신뢰되지 않음
3500 3532
3501신뢰하지 않은 폴더에서 [`claude ultrareview`](https://code.claude.com/docs/ko/ultrareview#trust-the-folder-before-the-review-runs)가 해당 폴더를 신뢰하는지 물어볼 수 없으면, 리뷰가 시작되기 전에 실행이 종료 코드 1로 종료됩니다:3533신뢰하지 않은 폴더에서 [`claude ultrareview`](https://code.claude.com/docs/ko/ultrareview#trust-the-folder-before-the-review-runs)가 해당 폴더를 신뢰하는지 물을 수 없으면, 리뷰가 시작되기 전에 실행이 종료 코드 1로 종료됩니다:
3502 3534
3503```text theme={null}3535```text theme={null}
3504Error: Workspace not trusted. Please run `claude` in /Users/you/project first to review and accept the workspace trust dialog. Or, in a script or CI job, pass `--trust-workspace` to trust the folder for this run only.3536Error: Workspace not trusted. Please run `claude` in /Users/you/project first to review and accept the workspace trust dialog. Or, in a script or CI job, pass `--trust-workspace` to trust the folder for this run only.
3505```3537```
3506 3538
3507예를 들어 표준 입력이나 표준 출력이 터미널이 아니면 하위 명령이 물어볼 수 없습니다. `claude ultrareview --json > findings.json`처럼 출력을 파일로 보내면 표준 출력은 터미널이 아니게 됩니다.3539예를 들어 표준 입력이나 표준 출력이 터미널이 아니면 이 하위 명령은 물을 수 없습니다. `claude ultrareview --json > findings.json`처럼 출력을 파일로 보내면 표준 출력이 터미널이 아니게 됩니다.
3508 3540
3509**해결 방법:**3541**해결 방법:**
3510 3542
3511* 스크립트나 CI 작업에서는 `--trust-workspace`를 추가하여 해당 실행에 대해 폴더를 신뢰합니다: `claude ultrareview --trust-workspace`. 이 경우 git과 Claude Code가 폴더의 git 구성과 프로젝트 설정에 지정된 프로그램을 실행할 수 있으므로, 신뢰하는 코드에 대해서만 추가합니다. 코드를 신뢰할 수 없는 풀 리퀘스트의 경우 [신뢰하는 브랜치에서 리뷰를 실행](https://code.claude.com/docs/ko/ultrareview.md#trust-the-folder-before-the-review-runs)합니다.3543* 스크립트나 CI 작업에서는 `--trust-workspace`를 덧붙여 해당 실행에 대해 폴더를 신뢰합니다: `claude ultrareview --trust-workspace`. 이 플래그를 덧붙이면 git과 Claude Code가 폴더의 git 구성과 프로젝트 설정에 지정된 프로그램을 실행할 수 있으므로, 신뢰하는 코드에 대해서만 덧붙입니다. 코드를 신뢰하지 않는 풀 리퀘스트의 경우 [신뢰하는 브랜치에서 리뷰를 실행](https://code.claude.com/docs/ko/ultrareview.md#trust-the-folder-before-the-review-runs)합니다.
3512* 본인 컴퓨터에서는 해당 폴더에서 `claude`를 실행하고 [워크스페이스 신뢰 대화 상자](https://code.claude.com/docs/ko/permissions.md#project-allow-rules-and-workspace-trust)를 수락한 다음, 원래 명령을 다시 실행합니다3544* 본인의 컴퓨터에서는 해당 폴더에서 `claude`를 실행하고 [워크스페이스 신뢰 대화 상자](https://code.claude.com/docs/ko/permissions.md#project-allow-rules-and-workspace-trust)를 수락한 뒤 원래 명령을 다시 실행합니다
3513 3545
3514`claude ultrareview`의 다음 메시지는 모두 리뷰가 시작되지 않았으며 종료 코드가 1이라는 의미입니다:3546`claude ultrareview`에서 나오는 다음 메시지들은 모두 리뷰가 시작되지 않았고 종료 코드가 1이라는 의미입니다:
3515 3547
3516* **`Error: Workspace not trusted. This terminal ...`**: 터미널이 행과 열 수를 보고하지 않았거나, 신뢰 질문과 경고를 표시할 수 없습니다. 터미널을 키우거나 크기를 보고하는 터미널을 사용한 다음 `claude ultrareview`를 다시 실행합니다. 홈 디렉터리가 아닌 곳에서는 해당 폴더에서 `claude`를 한 번 실행하고 신뢰 대화 상자를 수락하여 이후 실행에서 묻지 않도록 할 수도 있습니다.3548* **`Error: Workspace not trusted. This terminal ...`**: 터미널이 행과 열 수를 보고하지 않았거나, 신뢰 질문과 경고를 표시할 공간이 부족합니다. 터미널을 키우거나 크기를 보고하는 터미널을 사용한 뒤 `claude ultrareview`를 다시 실행합니다. 홈 디렉터리 밖에서는 해당 폴더에서 `claude`를 한 번 실행하고 신뢰 대화 상자를 수락하여 이후 그곳에서의 실행에서 묻지 않도록 할 수도 있습니다.
3517* **`Error: Workspace not trusted. <folder> is your home directory`**: 홈 디렉터리에 대한 신뢰는 저장되지 않으므로, 그곳에서 먼저 `claude`를 실행해도 도움이 되지 않습니다. 대신 프로젝트 디렉터리에서 `claude`를 한 번 실행하여 신뢰 대화 상자를 수락한 후 그곳에서 `claude ultrareview`를 실행하거나, `--trust-workspace`를 추가합니다.3549* **`Error: Workspace not trusted. <folder> is your home directory`**: 홈 디렉터리에 대한 신뢰는 절대 저장되지 않으므로, 그곳에서 먼저 `claude`를 실행해도 소용이 없습니다. 대신 프로젝트 디렉터리에서 `claude`를 한 번 실행해 신뢰 대화 상자를 수락한 뒤 그곳에서 `claude ultrareview`를 실행하거나, `--trust-workspace`를 덧붙입니다.
3518* **`No answer in time.` 다음에 `Error: Workspace not trusted`**: `Trust <folder>? [y/N]` 질문에 5분 동안 응답이 없었습니다. `claude ultrareview`를 다시 실행하고 질문에 답합니다.3550* **`No answer in time.` 뒤에 `Error: Workspace not trusted`**: `Trust <folder>? [y/N]` 질문에 5분 동안 답이 없었습니다. `claude ultrareview`를 다시 실행하고 질문에 답합니다.
3519* **`Ultrareview did not start: <folder> is not trusted`**: 예를 들어 `n`으로 답하거나 Enter를 눌러 `Trust <folder>? [y/N]` 질문을 거절했습니다. 리뷰를 시작하려면 `claude ultrareview`를 다시 실행하고 `y`로 답합니다.3551* **`Ultrareview did not start: <folder> is not trusted`**: 예를 들어 `n`으로 답하거나 Enter를 눌러 `Trust <folder>? [y/N]` 질문에서 거절했습니다. 리뷰를 시작하려면 `claude ultrareview`를 다시 실행하고 `y`로 답합니다.
3520* **``Ultrareview did not start: `--trust-workspace` takes no value``**: PR 번호나 `false`처럼 플래그가 아닌 것이 `--trust-workspace` 뒤에 옵니다. 폴더를 신뢰하지 않는다면 플래그를 빼세요. 이번 실행에 대해 신뢰하려면 PR 번호나 기본 브랜치를 플래그 앞에 둡니다: `claude ultrareview 1234 --trust-workspace`.3552* **``Ultrareview did not start: `--trust-workspace` takes no value``**: PR 번호나 `false`처럼 플래그가 아닌 것이 `--trust-workspace` 뒤에 왔습니다. 폴더를 신뢰하지 않는다면 플래그를 빼십시오. 이번 실행에 대해 신뢰하려면 PR 번호나 기준 브랜치를 플래그 앞에 둡니다: `claude ultrareview 1234 --trust-workspace`.
3521 3553
3522v2.1.309 이전에는 `claude ultrareview`가 `--trust-workspace`를 받지 않았습니다.3554v2.1.309 이전에는 `claude ultrareview`가 `--trust-workspace`를 받지 않았습니다.
3523 3555
3524### Remote Control did not start because a question got no answer3556### 질문에 답이 없어 Remote Control이 시작되지 않음
3525 3557
3526이 메시지는 [`claude remote-control`](https://code.claude.com/docs/ko/remote-control)이 메시지에 인용된 최초 실행 질문을 했지만 응답을 받지 못했다는 의미입니다:3558이 메시지는 [`claude remote-control`](https://code.claude.com/docs/ko/remote-control)이 메시지에 인용된 최초 실행 질문을 했지만 답을 받지 못했다는 의미입니다:
3527 3559
3528```text theme={null}3560```text theme={null}
3529Remote Control did not start: "Enable Remote Control?" got no answer. Run `claude remote-control` at a terminal and answer y once; it won't ask again.3561Remote Control did not start: "Enable Remote Control?" got no answer. Run `claude remote-control` at a terminal and answer y once; it won't ask again.
3532 3564
3533**해결 방법:**3565**해결 방법:**
3534 3566
3535* **`Enable Remote Control?`**: 스크립트나 서비스에서는 누군가 응답하기 전에 표준 입력이 끝납니다. 스크립트나 서비스가 실행되는 사용자로 터미널에서 `claude remote-control`을 한 번 실행하고 `y`로 답합니다.3567* **`Enable Remote Control?`**: 스크립트나 서비스에서는 누군가 답하기 전에 표준 입력이 끝납니다. 스크립트나 서비스가 실행되는 사용자로 터미널에서 `claude remote-control`을 한 번 실행하고 `y`로 답합니다.
3536* **`Choose [1/2] (default: 1):`**: `claude remote-control`을 다시 실행하여 [생성 모드를 선택](https://code.claude.com/docs/ko/remote-control.md#set-the-default-spawn-mode-for-a-project)하거나, [`--spawn=same-dir` 또는 `--spawn=worktree`](https://code.claude.com/docs/ko/remote-control#start-a-remote-control-session)를 전달하여 질문을 건너뜁니다3568* **`Choose [1/2] (default: 1):`**: `claude remote-control`을 다시 실행하고 [스폰 모드를 선택](https://code.claude.com/docs/ko/remote-control.md#set-the-default-spawn-mode-for-a-project)하거나, [`--spawn=same-dir` 또는 `--spawn=worktree`](https://code.claude.com/docs/ko/remote-control#start-a-remote-control-session)를 전달하여 질문을 건너뜁니다
3537 3569
3538### Not carried over to the sessions Remote Control starts3570### Remote Control이 시작하는 세션에 전달되지 않음
3539 3571
3540`remote-control` 동사 앞에 전역 `claude` 플래그를 두고 [Remote Control](https://code.claude.com/docs/ko/remote-control.md)을 시작했으며, 그 플래그는 `--settings`, `--setting-sources`, `--permission-mode`, `--disallowed-tools`, `--mcp-config`처럼 Remote Control이 시작하는 세션을 제한하거나 구성하는 플래그입니다. 동사 앞에 둔 플래그는 해당 세션에 전달되지 않습니다. 대신 Claude Code는 플래그 이름을 표시하며 시작을 거부합니다:3572`remote-control` 동사 앞에 전역 `claude` 플래그를 넣어 [Remote Control](https://code.claude.com/docs/ko/remote-control.md)을 시작한 경우입니다. 이 플래그는 `--settings`, `--setting-sources`, `--permission-mode`, `--disallowed-tools`, `--mcp-config`처럼 Remote Control이 시작하는 세션을 제한하거나 구성하는 플래그입니다. 동사 앞에 둔 플래그는 해당 세션에 전달되지 않습니다. 대신 Claude Code는 플래그를 명시하며 시작을 거부합니다:
3541 3573
3542```text theme={null}3574```text theme={null}
3543Error: `--settings` before `remote-control` is not carried over to the sessions Remote Control starts, so Remote Control refuses to start rather than drop it — remove it, and give Remote Control's own options after the verb (see `claude remote-control --help`). Pass settings with `claude remote-control --settings <file>`.3575Error: `--settings` before `remote-control` is not carried over to the sessions Remote Control starts, so Remote Control refuses to start rather than drop it — remove it, and give Remote Control's own options after the verb (see `claude remote-control --help`). Pass settings with `claude remote-control --settings <file>`.
3544```3576```
3545 3577
3546`--verbose`, `--model`, 또는 래퍼가 주입한 `--session-id`나 `--plugin-dir`처럼 무시해도 문제없는 전역 플래그는 Claude Code가 거부하지 않습니다. 이러한 플래그는 무시되고 Remote Control이 시작됩니다.3578Claude Code는 `--verbose`, `--model`, 또는 래퍼가 삽입한 `--session-id`나 `--plugin-dir`처럼 제거해도 무해한 전역 플래그는 거부하지 않습니다. 이러한 플래그는 무시되며 Remote Control이 시작됩니다.
3547 3579
3548Claude Code는 아직 무해하다고 인식하지 못한 전역 플래그에 대해서도 시작을 거부하므로, 새 릴리스에서 추가된 플래그는 이후 릴리스에서 무해한 것으로 표시될 때까지 이 메시지에 나타날 수 있습니다.3580Claude Code는 아직 무해하다고 인식하지 못한 전역 플래그에 대해서도 시작을 거부하므로, 최신 릴리스에서 추가된 플래그는 이후 릴리스에서 무해한 것으로 표시될 때까지 이 메시지에 나타날 수 있습니다.
3549 3581
3550**해결 방법:**3582**해결 방법:**
3551 3583
3552* 동사 앞에서 플래그를 제거하고 [Remote Control 자체 옵션](https://code.claude.com/docs/ko/remote-control.md#start-a-remote-control-session)을 동사 뒤에 전달합니다. `claude remote-control --help`에 옵션이 나열되어 있습니다3584* 동사 앞에서 플래그를 제거하고 [Remote Control 자체 옵션](https://code.claude.com/docs/ko/remote-control.md#start-a-remote-control-session)을 동사 뒤에 전달합니다. `claude remote-control --help`에서 옵션 목록을 확인할 수 있습니다
3553* 거부된 플래그가 `--permission-mode`인 경우 `claude remote-control --permission-mode <mode>`를 실행하여 Remote Control이 시작하는 세션의 권한 모드를 설정합니다3585* 거부된 플래그가 `--permission-mode`인 경우 `claude remote-control --permission-mode <mode>`를 실행하여 Remote Control이 시작하는 세션의 권한 모드를 설정합니다
3554 3586
3555v2.1.248 이전에는 전역 플래그가 먼저 오면 `claude remote-control`이 자체 플래그를 받지 않았으며, 명령이 `unknown option` 오류로 실패했습니다.3587v2.1.248 이전에는 전역 플래그가 먼저 오면 `claude remote-control`이 자체 플래그를 받지 않았으며, 명령이 `unknown option` 오류로 실패했습니다.
3564 3596
3565**해결 방법:**3597**해결 방법:**
3566 3598
3567* 메시지에 언급된 문제를 수정한 후 `claude remote-control` 명령을 다시 실행합니다3599* 메시지가 명시한 문제를 수정한 뒤 `claude remote-control` 명령을 다시 실행합니다
3568 3600
3569### Remote Control 시작 이후 설정 파일이 변경됨3601### The settings file has changed since Remote Control started
3570 3602
3571`claude remote-control`을 실행 중인 터미널에 이 메시지가 표시되면, [`--settings`](https://code.claude.com/docs/ko/remote-control#start-a-remote-control-session)에 전달한 파일의 현재 상태로는 세션이 시작되지 않는다는 의미입니다:3603`claude remote-control`을 실행 중인 터미널에 이 메시지가 표시되면 [`--settings`](https://code.claude.com/docs/ko/remote-control#start-a-remote-control-session)에 전달한 파일의 현재 상태로는 세션이 시작되지 않는다는 의미입니다:
3572 3604
3573```text theme={null}3605```text theme={null}
3574Session failed: Error: The settings file /path/to/settings.json has changed since Remote Control started, so this session did not start. Restart `claude remote-control` to use it as it is now.3606Session failed: Error: The settings file /path/to/settings.json has changed since Remote Control started, so this session did not start. Restart `claude remote-control` to use it as it is now.
3576 3608
3577**해결 방법:**3609**해결 방법:**
3578 3610
3579* 파일을 현재 상태로 사용하려면 `claude remote-control`을 중지하고 같은 명령을 다시 실행합니다. 서버가 제공하던 세션을 다시 불러오려면 [서버 중지 후 세션 재개하기](https://code.claude.com/docs/ko/remote-control.md#resume-sessions-after-stopping-the-server)를 참조하세요.3611* 파일을 현재 상태로 사용하려면 `claude remote-control`을 중지하고 같은 명령을 다시 실행합니다. 서버가 제공하던 세션을 다시 불러오려면 [서버 중지 후 세션 재개하기](https://code.claude.com/docs/ko/remote-control.md#resume-sessions-after-stopping-the-server)를 참조하십시오.
3580* Remote Control이 시작될 때의 설정을 유지하려면 파일 내용을 원래대로 되돌린 다음, `claude remote-control`이 종료된 경우 명령을 다시 실행합니다3612* Remote Control이 시작할 때의 설정을 유지하려면 파일 내용을 원래대로 되돌린 뒤, `claude remote-control`이 종료된 경우 명령을 다시 실행합니다
3581 3613
3582### `--sandbox` or `--no-sandbox` is not supported by claude remote-control3614### `--sandbox` or `--no-sandbox` is not supported by claude remote-control
3583 3615
3584이 오류는 [Remote Control](https://code.claude.com/docs/ko/remote-control.md) 서버를 시작하는 명령이 `remote-control` 뒤에 `--sandbox` 또는 `--no-sandbox`를 전달하는데, `claude remote-control`은 두 플래그 모두 받지 않는다는 의미입니다. 서버는 시작하지 않고 종료 코드 1로 종료됩니다:3616이 오류는 [Remote Control](https://code.claude.com/docs/ko/remote-control.md) 서버를 시작하는 명령이 `remote-control` 뒤에 `--sandbox` 또는 `--no-sandbox`를 전달하는데, `claude remote-control`은 두 플래그 모두 받지 않는다는 의미입니다. 서버는 시작되지 않고 종료 코드 1로 종료됩니다:
3585 3617
3586```text theme={null}3618```text theme={null}
3587Error: --sandbox is not supported by claude remote-control. The flag had no effect and was removed. To sandbox sessions, set sandbox.enabled to true in settings.3619Error: --sandbox is not supported by claude remote-control. The flag had no effect and was removed. To sandbox sessions, set sandbox.enabled to true in settings.
3590 3622
3591**해결 방법:**3623**해결 방법:**
3592 3624
3593* 서버를 대신 시작하는 스크립트나 서비스 정의를 포함하여 명령에서 플래그를 제거한 다음 다시 실행합니다3625* 서버를 대신 시작하는 스크립트나 서비스 정의를 포함하여 명령에서 플래그를 제거한 뒤 다시 실행합니다
3594* 서버가 시작하는 세션을 샌드박스에서 실행하려면 [설정 파일](https://code.claude.com/docs/ko/settings.md#where-settings-live)에서 [`sandbox.enabled`](https://code.claude.com/docs/ko/settings-reference#sandbox-enabled)를 `true`로 설정하여 [샌드박싱](https://code.claude.com/docs/ko/sandboxing.md)을 켭니다3626* 서버가 시작하는 세션을 샌드박스에서 실행하려면 [설정 파일](https://code.claude.com/docs/ko/settings.md#where-settings-live)에서 [`sandbox.enabled`](https://code.claude.com/docs/ko/settings-reference#sandbox-enabled)를 `true`로 설정하여 [샌드박싱](https://code.claude.com/docs/ko/sandboxing.md)을 켭니다
3595 3627
3596두 플래그 모두 v2.1.300에서 `claude remote-control`에서 제거되었으므로, 이전 버전용으로 작성된 명령에는 여전히 둘 중 하나가 포함되어 있을 수 있습니다.3628두 플래그 모두 v2.1.300에서 `claude remote-control`에서 제거되었으므로, 이전 버전용으로 작성된 명령에는 여전히 둘 중 하나가 포함되어 있을 수 있습니다.
3597 3629
3598### claude import is not yet available in this build3630### claude import is not yet available in this build
3599 3631
3600[`claude import`](https://code.claude.com/docs/ko/cli-reference#cli-commands)를 실행했는데 Claude Code가 가져오기 흐름이 꺼져 있음을 확인했으므로, 명령은 가져오기를 시작하지 않고 종료 코드 1로 종료됩니다. v2.1.222 이전에는 가져오기 흐름이 꺼진 빌드에서 `import`를 프롬프트로 처리하여 이 메시지를 출력하는 대신 대화형 세션을 시작했습니다.3632[`claude import`](https://code.claude.com/docs/ko/cli-reference#cli-commands)를 실행했는데 Claude Code가 가져오기 흐름이 꺼져 있음을 확인하여, 명령이 가져오기를 시작하지 않고 종료 코드 1로 종료됩니다. v2.1.222 이전에는 가져오기 흐름이 꺼진 빌드에서 `import`를 프롬프트로 처리하여 이 메시지를 출력하는 대신 대화형 세션을 시작했습니다.
3601 3633
3602```text theme={null}3634```text theme={null}
3603`claude import` is not yet available in this build. Run `claude` and use /mcp or edit ~/.claude/settings.json directly.3635`claude import` is not yet available in this build. Run `claude` and use /mcp or edit ~/.claude/settings.json directly.
3605 3637
3606Claude Code는 Anthropic에서 가져와 디스크에 캐시하는 기능 플래그를 통해 `claude import`를 켭니다. 이 메시지는 캐시된 값이 꺼져 있다는 의미입니다. 원인은 대개 다음 중 하나입니다:3638Claude Code는 Anthropic에서 가져와 디스크에 캐시하는 기능 플래그를 통해 `claude import`를 켭니다. 이 메시지는 캐시된 값이 꺼져 있다는 의미입니다. 원인은 대개 다음 중 하나입니다:
3607 3639
3608* 설치 후 아직 세션을 시작하지 않아 Claude Code가 플래그를 가져오지 않았습니다. 기능을 사용할 수 있는 경우에도 첫 번째 `claude import`에서 이 메시지가 출력될 수 있습니다.3640* 설치 후 아직 세션을 시작하지 않아 Claude Code가 플래그를 가져오지 않았습니다. 기능을 사용할 수 있는 경우에도 첫 `claude import`에서 이 메시지가 출력될 수 있습니다.
3609* Amazon Bedrock, Google Cloud의 Agent Platform, Microsoft Foundry, Claude Platform on AWS를 통해, 또는 [Claude apps 게이트웨이](https://code.claude.com/docs/ko/claude-apps-gateway#availability-and-limitations)를 통해 Claude Code를 사용합니다. 이러한 세션에서는 Claude Code가 기능 플래그를 가져오지 않으므로 `claude import`를 계속 사용할 수 없습니다.3641* Amazon Bedrock, Google Cloud의 Agent Platform, Microsoft Foundry, Claude Platform on AWS를 통해서나 [Claude apps gateway](https://code.claude.com/docs/ko/claude-apps-gateway#availability-and-limitations)를 통해 Claude Code를 사용하고 있습니다. 이러한 세션에서는 Claude Code가 기능 플래그를 가져오지 않으므로 `claude import`를 계속 사용할 수 없습니다.
3610* 기능 플래그 가져오기를 끄는 `DISABLE_TELEMETRY`, `DO_NOT_TRACK`, [`CLAUDE_CODE_DISABLE_FEATURE_FLAGS`](https://code.claude.com/docs/ko/env-vars#variables), `DISABLE_GROWTHBOOK` 또는 [`CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`](https://code.claude.com/docs/ko/env-vars)를 설정했으므로 `claude import`를 계속 사용할 수 없습니다.3642* 기능 플래그 가져오기를 끄는 `DISABLE_TELEMETRY`, `DO_NOT_TRACK`, [`CLAUDE_CODE_DISABLE_FEATURE_FLAGS`](https://code.claude.com/docs/ko/env-vars#variables), `DISABLE_GROWTHBOOK`, 또는 [`CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC`](https://code.claude.com/docs/ko/env-vars)를 설정했으므로 `claude import`를 계속 사용할 수 없습니다.
3611 3643
3612**해결 방법:**3644**해결 방법:**
3613 3645
3614* 새로 설치한 경우 `claude`를 시작하고 세션이 로드될 때까지 기다린 다음 종료하고 `claude import`를 다시 실행합니다3646* 새로 설치한 경우 `claude`를 시작하고 세션이 로드될 때까지 기다린 뒤 종료하고 `claude import`를 다시 실행합니다
3615* 기능 플래그 가져오기가 계속 꺼져 있는 경우 구성을 직접 설정합니다. [`claude mcp add`](https://code.claude.com/docs/ko/mcp#installing-mcp-servers)로 MCP 서버를 추가하고, 가져오려는 [`CLAUDE.md` 파일](https://code.claude.com/docs/ko/memory#how-claude-md-files-load), [스킬과 명령](https://code.claude.com/docs/ko/skills.md#where-skills-live), [서브에이전트](https://code.claude.com/docs/ko/sub-agents.md#choose-the-subagent-scope)를 생성합니다. 메시지에는 `~/.claude/settings.json`도 언급됩니다. `claude import`가 가져오는 구성 중 이 파일에는 [권한 모드](https://code.claude.com/docs/ko/settings-reference.md#permission-settings)만 들어 있으며, Claude Code는 이 파일에서 MCP 서버를 읽지 않습니다.3647* 기능 플래그 가져오기가 계속 꺼져 있는 환경에서는 구성을 직접 설정합니다. [`claude mcp add`](https://code.claude.com/docs/ko/mcp#installing-mcp-servers)로 MCP 서버를 추가하고, 옮겨 오려는 [`CLAUDE.md` 파일](https://code.claude.com/docs/ko/memory#how-claude-md-files-load), [스킬과 명령](https://code.claude.com/docs/ko/skills.md#where-skills-live), [서브에이전트](https://code.claude.com/docs/ko/sub-agents.md#choose-the-subagent-scope)를 생성합니다. 메시지에는 `~/.claude/settings.json`도 언급됩니다. `claude import`가 옮기는 구성 중 이 파일에는 [권한 모드](https://code.claude.com/docs/ko/settings-reference.md#permission-settings)만 들어 있으며, Claude Code는 이 파일에서 MCP 서버를 읽지 않습니다.
3616 3648
3617### Could not read Claude Code config3649### Could not read Claude Code config
3618 3650
3619Claude Code가 계정 정보와 프로젝트별 상태를 저장하는 파일인 `~/.claude.json`을 파싱할 수 없는 상태에서 [`claude import`](https://code.claude.com/docs/ko/cli-reference#cli-commands)를 실행했습니다. 이 하위 명령은 사용 가능 여부를 확인하기 위해 해당 파일을 읽지만, 대화형 세션이 표시하는 복구 대화 상자는 표시하지 않으므로 종료 코드 1로 종료됩니다. v2.1.222 이전에는 읽을 수 없는 설정 파일이 있을 때 `claude import`가 대화형 세션을 시작했으며, 그 세션의 복구 대화 상자가 파일을 처리했습니다.3651Claude Code가 계정 정보와 프로젝트별 상태를 저장하는 파일인 `~/.claude.json`을 파싱하지 못하는 상태에서 [`claude import`](https://code.claude.com/docs/ko/cli-reference#cli-commands)를 실행한 경우입니다. 이 하위 명령은 사용 가능 여부를 확인하기 위해 해당 파일을 읽지만, 대화형 세션이 표시하는 복구 대화 상자를 표시하지 않으므로 종료 코드 1로 종료됩니다. v2.1.222 이전에는 읽을 수 없는 설정 파일이 있을 때 `claude import`가 대화형 세션을 시작했으며, 그 세션의 복구 대화 상자가 파일을 처리했습니다.
3620 3652
3621```text theme={null}3653```text theme={null}
3622Could not read Claude Code config — run `claude` with no arguments to recover it.3654Could not read Claude Code config — run `claude` with no arguments to recover it.
3624 3656
3625**해결 방법:**3657**해결 방법:**
3626 3658
3627* 인수 없이 `claude`를 실행합니다. Claude Code가 유효하지 않은 파일을 감지하고 재설정을 제안합니다. 그런 다음 `claude import`를 다시 실행합니다.3659* 인수 없이 `claude`를 실행합니다. Claude Code가 유효하지 않은 파일을 감지하고 초기화를 제안합니다. 그런 다음 `claude import`를 다시 실행합니다.
3628* 직접 편집한 내용을 유지하려면 대신 편집기에서 `~/.claude.json`의 JSON 구문을 수정한 다음 `claude import`를 다시 실행합니다3660* 직접 편집한 내용을 유지하려면 대신 편집기에서 `~/.claude.json`의 JSON 구문을 수정한 뒤 `claude import`를 다시 실행합니다
3629 3661
3630### Could not import a server from Claude Desktop3662### Claude Desktop에서 서버를 가져올 수 없음
3631 3663
3632Claude Code가 `claude mcp add-from-claude-desktop`에서 선택한 서버 중 하나를 추가하지 못했습니다. 명령은 선택한 다른 서버는 계속 가져오며, 추가하지 못한 서버마다 한 줄씩 출력합니다. v2.1.205 이전에는 처음 실패한 서버에서 가져오기가 중단되었습니다.3664Claude Code가 `claude mcp add-from-claude-desktop`에서 선택한 서버 중 하나를 추가하지 못했습니다. 명령은 선택한 다른 서버는 계속 가져오며, 추가하지 못한 서버마다 한 줄씩 출력합니다. v2.1.205 이전에는 처음 실패한 서버에서 가져오기가 중단되었습니다.
3633 3665
3635Could not import my server: Invalid name my server. Names can only contain letters, numbers, hyphens, and underscores.3667Could not import my server: Invalid name my server. Names can only contain letters, numbers, hyphens, and underscores.
3636```3668```
3637 3669
3638서버 이름 뒤의 텍스트가 사유입니다. 가장 흔한 사유는 이름 검사입니다. Claude Desktop은 서버 이름에 공백이나 마침표 같은 문자를 허용하지만, `claude mcp`는 문자, 숫자, 하이픈, 밑줄로 제한합니다. 그 밖의 사유로는 검증에 실패한 서버 구성과 조직의 [MCP 정책](https://code.claude.com/docs/ko/managed-mcp.md)에 의해 차단된 서버가 있습니다.3670서버 이름 뒤의 텍스트가 사유입니다. 가장 흔한 사유는 이름 검사입니다. Claude Desktop은 서버 이름에 공백이나 마침표 같은 문자를 허용하지만, `claude mcp`는 문자, 숫자, 하이픈, 밑줄로 제한합니다. 다른 사유로는 검증에 실패한 서버 구성, 그리고 조직의 [MCP 정책](https://code.claude.com/docs/ko/managed-mcp.md)에 의해 차단된 서버가 있습니다.
3639 3671
3640**해결 방법:**3672**해결 방법:**
3641 3673
3642* `claude_desktop_config.json`에서 서버 이름을 문자, 숫자, 하이픈, 밑줄만 사용하도록 변경한 다음 `claude mcp add-from-claude-desktop`을 다시 실행합니다3674* `claude_desktop_config.json`에서 서버 이름을 문자, 숫자, 하이픈, 밑줄만 사용하도록 변경한 뒤 `claude mcp add-from-claude-desktop`을 다시 실행합니다
3643* 또는 유효한 이름으로 `claude mcp add` 또는 `claude mcp add-json`을 사용하여 해당 서버를 직접 추가합니다. [Claude Desktop에서 MCP 서버 가져오기](https://code.claude.com/docs/ko/mcp.md#import-mcp-servers-from-claude-desktop)를 참조하세요.3675* 유효한 이름으로 `claude mcp add` 또는 `claude mcp add-json`을 사용해 해당 서버를 직접 추가합니다. [Claude Desktop에서 MCP 서버 가져오기](https://code.claude.com/docs/ko/mcp.md#import-mcp-servers-from-claude-desktop)를 참조하십시오.
3644 3676
3645### Cannot add MCP server to the managed scope3677### managed 범위에 MCP 서버를 추가할 수 없음
3646 3678
3647`--scope managed`로 `claude mcp add` 또는 `claude mcp add-json`을 실행했습니다. 이 범위에는 조직이 [`managedMcpServers`](https://code.claude.com/docs/ko/settings-reference#managedmcpservers) 관리형 설정을 통해 제공하는 서버가 들어 있습니다. Claude Code는 이 서버를 관리형 설정에서만 읽으므로, 명령으로 이 범위에 서버를 기록할 수 없습니다.3679`--scope managed`로 `claude mcp add` 또는 `claude mcp add-json`을 실행한 경우입니다. 이 범위에는 조직이 [`managedMcpServers`](https://code.claude.com/docs/ko/settings-reference#managedmcpservers) 관리형 설정을 통해 제공하는 서버가 들어 있습니다. Claude Code는 이 서버들을 관리형 설정에서만 읽으므로, 명령으로 해당 범위에 서버를 기록할 수 없습니다.
3648 3680
3649```text theme={null}3681```text theme={null}
3650Cannot add MCP server to scope: managed3682Cannot add MCP server to scope: managed
3652 3684
3653**해결 방법:**3685**해결 방법:**
3654 3686
3655* 기록할 수 있는 범위인 `local`, `user` 또는 `project`에 서버를 추가합니다. `--scope` 없이 실행하면 명령은 `local`을 사용합니다. [MCP 설치 범위](https://code.claude.com/docs/ko/mcp.md#mcp-installation-scopes)를 참조하세요3687* 기록할 수 있는 범위인 `local`, `user`, `project`에 서버를 추가합니다. `--scope` 없이 실행하면 명령은 `local`을 사용합니다. [MCP 설치 범위](https://code.claude.com/docs/ko/mcp.md#mcp-installation-scopes)를 참조하십시오
3656* 조직의 모든 사용자에게 서버를 제공하려면 배포하는 관리형 설정의 [`managedMcpServers`](https://code.claude.com/docs/ko/settings-reference#managedmcpservers)에 추가합니다3688* 조직의 모든 사용자에게 서버를 제공하려면 배포하는 관리형 설정의 [`managedMcpServers`](https://code.claude.com/docs/ko/settings-reference#managedmcpservers)에 서버를 추가합니다
3657 3689
3658### Cannot add MCP server when managed settings allow only plugin servers3690### 관리형 설정이 플러그인 서버만 허용할 때 MCP 서버를 추가할 수 없음
3659 3691
3660조직의 관리형 설정이 [`strictPluginOnlyCustomization`](https://code.claude.com/docs/ko/settings-reference#strictpluginonlycustomization)을 `true`로 설정하거나 `mcp`를 포함하는 목록으로 설정한 상태에서 `claude mcp add` 또는 `claude mcp add-json`을 실행했습니다. 이 설정이 적용되면 Claude Code는 `~/.claude.json`이나 `.mcp.json`에서 MCP 서버를 불러오지 않으므로, 명령은 절대 불러와지지 않을 서버를 저장하는 대신 종료 코드 1로 종료됩니다:3692조직의 관리형 설정이 [`strictPluginOnlyCustomization`](https://code.claude.com/docs/ko/settings-reference#strictpluginonlycustomization)을 `true` 또는 `mcp`를 포함하는 목록으로 설정한 상태에서 `claude mcp add` 또는 `claude mcp add-json`을 실행한 경우입니다. 이 설정에서는 Claude Code가 `~/.claude.json`이나 `.mcp.json`에서 MCP 서버를 불러오지 않으므로, 명령은 절대 로드되지 않을 서버를 저장하는 대신 종료 코드 1로 종료됩니다:
3661 3693
3662```text theme={null}3694```text theme={null}
3663Cannot add MCP server: your organization's managed settings allow only MCP servers that plugins provide. Install a plugin that provides this server, or ask your administrator to make it available.3695Cannot add MCP server: your organization's managed settings allow only MCP servers that plugins provide. Install a plugin that provides this server, or ask your administrator to make it available.
3664```3696```
3665 3697
3666`claude mcp add-from-claude-desktop`은 선택한 각 서버를 가져오지 못한 것으로 보고하며, 이 메시지를 사유로 표시합니다. [`/import`](https://code.claude.com/docs/ko/commands#all-commands)는 추가하려는 각 MCP 서버에 대해 이 메시지를 보고하며, 찾은 다른 항목은 계속 가져옵니다.3698`claude mcp add-from-claude-desktop`은 선택한 각 서버를 가져오지 않은 것으로 보고하며, 이 메시지를 사유로 표시합니다. [`/import`](https://code.claude.com/docs/ko/commands#all-commands)는 추가하려는 각 MCP 서버에 대해 이 메시지를 보고하며, 발견한 다른 항목은 계속 가져옵니다.
3667 3699
3668v2.1.284 이전에는 이러한 명령이 서버를 저장하고 성공을 보고했지만, 서버는 절대 불러와지지 않았습니다.3700v2.1.284 이전에는 이러한 명령이 서버를 저장하고 성공을 보고했지만, 서버는 절대 로드되지 않았습니다.
3669 3701
3670**해결 방법:**3702**해결 방법:**
3671 3703
3672* 서버를 제공하는 [플러그인](https://code.claude.com/docs/ko/plugins/install.md)을 설치합니다3704* 서버를 제공하는 [플러그인](https://code.claude.com/docs/ko/plugins/install.md)을 설치합니다
3673* 관리자에게 서버를 [플러그인](https://code.claude.com/docs/ko/plugins/org.md)으로 배포하도록 요청하거나, 원격 HTTP 또는 SSE 서버인 경우 [`managedMcpServers`](https://code.claude.com/docs/ko/settings-reference#managedmcpservers)를 통해 제공하도록 요청합니다3705* 관리자에게 [플러그인](https://code.claude.com/docs/ko/plugins/org.md)으로 서버를 배포하거나, 원격 HTTP 또는 SSE 서버인 경우 [`managedMcpServers`](https://code.claude.com/docs/ko/settings-reference#managedmcpservers)를 통해 제공하도록 요청합니다
3674 3706
3675### Can't read .mcp.json3707### Can't read .mcp.json
3676 3708
3677`--scope project`를 사용한 `claude mcp add` 또는 `claude mcp add-json`이나 `claude mcp remove`처럼 프로젝트의 [`.mcp.json`](https://code.claude.com/docs/ko/mcp#project-scope)을 읽는 명령이 현재 디렉터리의 파일이 일반 파일이 아니거나 2 MiB보다 크다는 것을 발견했으므로, 파일을 읽지 않고 이 오류와 함께 종료됩니다.3709`--scope project`를 사용한 `claude mcp add`나 `claude mcp add-json`, 또는 `claude mcp remove`처럼 프로젝트의 [`.mcp.json`](https://code.claude.com/docs/ko/mcp#project-scope)을 읽는 명령이 현재 디렉터리의 파일이 일반 파일이 아니거나 2 MiB보다 크다는 것을 발견하여, 파일을 읽지 않고 이 오류와 함께 종료됩니다.
3678 3710
3679```text theme={null}3711```text theme={null}
3680Can't read .mcp.json: it isn't a regular file or is larger than 2097152 bytes. Fix or remove it, then run the command again.3712Can't read .mcp.json: it isn't a regular file or is larger than 2097152 bytes. Fix or remove it, then run the command again.
3681```3713```
3682 3714
3683v2.1.257 이전에는 `.mcp.json` 위치의 FIFO로 인해 명령이 출력 없이 영원히 대기했으며, `/dev/zero` 같은 장치 파일을 가리키는 심볼릭 링크로 인해 프로세스가 종료될 때까지 메모리가 증가했습니다.3715v2.1.257 이전에는 `.mcp.json` 위치에 FIFO가 있으면 명령이 출력 없이 무한정 대기했으며, `/dev/zero` 같은 장치 파일에 대한 심볼릭 링크가 있으면 프로세스가 강제 종료될 때까지 메모리가 증가했습니다.
3684 3716
3685**해결 방법:**3717**해결 방법:**
3686 3718
3687* 현재 디렉터리의 `.mcp.json`에 무엇이 있는지 확인합니다. [프로젝트 범위 형식](https://code.claude.com/docs/ko/mcp.md#project-scope)의 일반 JSON 파일로 대체하거나 삭제한 다음 명령을 다시 실행합니다.3719* 현재 디렉터리의 `.mcp.json` 위치에 무엇이 있는지 확인합니다. 이를 [프로젝트 범위 형식](https://code.claude.com/docs/ko/mcp.md#project-scope)의 일반 JSON 파일로 교체하거나 삭제한 뒤 명령을 다시 실행합니다.
3688 3720
3689### MCP server was not saved or removed3721### MCP 서버가 저장되거나 제거되지 않음
3690 3722
3691이 오류는 `claude mcp add` 또는 `claude mcp remove` 같은 명령이 변경 사항을 `~/.claude.json`에 반영하지 못했다는 의미입니다. 다른 Claude Code 프로세스가 파일을 잠근 상태로 유지했거나, 파일이 읽기 전용이거나 샌드박스로 보호되어 있을 수 있습니다.3723이 오류는 `claude mcp add` 또는 `claude mcp remove` 같은 명령이 변경 사항을 `~/.claude.json`에 반영하지 못했다는 의미입니다. 다른 Claude Code 프로세스가 파일을 잠근 상태로 유지했거나, 파일이 읽기 전용이거나 샌드박스로 보호되어 있을 수 있습니다.
3692 3724
3694MCP server "example" was not saved to /home/user/.claude.json. If other Claude Code processes use that file, they may have kept it locked: add the server again, with CLAUDE_CODE_CONFIG_LOCK_WAIT_MS=60000 set to wait up to a minute. If that file is read-only or protected by a sandbox, make it writable or run the command outside the sandbox first.3726MCP server "example" was not saved to /home/user/.claude.json. If other Claude Code processes use that file, they may have kept it locked: add the server again, with CLAUDE_CODE_CONFIG_LOCK_WAIT_MS=60000 set to wait up to a minute. If that file is read-only or protected by a sandbox, make it writable or run the command outside the sandbox first.
3695```3727```
3696 3728
3697제거 후에는 메시지에 `was not saved to` 대신 `was not removed from`이, `add the server again` 대신 `remove the server again`이 표시됩니다. `local` 범위 서버의 경우 경로 뒤에 해당 항목이 속한 프로젝트 디렉터리가 `(local scope for /path/to/project)` 형식으로 표시됩니다.3729제거 후에는 메시지가 `was not saved to` 대신 `was not removed from`으로, `add the server again` 대신 `remove the server again`으로 표시됩니다. `local` 범위 서버의 경우 경로 뒤에 해당 항목이 속한 프로젝트 디렉터리가 `(local scope for /path/to/project)` 형태로 표시됩니다.
3698 3730
3699**해결 방법:**3731**해결 방법:**
3700 3732
3701* **다른 Claude Code 프로세스가 실행 중인 경우**: 명령은 파일 잠금을 약 10\~20초 동안 기다린 후 기록하지 않고 포기합니다. [`CLAUDE_CODE_CONFIG_LOCK_WAIT_MS`](https://code.claude.com/docs/ko/env-vars#variables)를 `60000`처럼 더 긴 대기 시간(밀리초)으로 설정하여 같은 명령을 다시 실행합니다.3733* **다른 Claude Code 프로세스가 실행 중인 경우**: 명령은 파일 잠금을 약 10\~20초 동안 기다린 뒤 기록하지 않고 포기합니다. [`CLAUDE_CODE_CONFIG_LOCK_WAIT_MS`](https://code.claude.com/docs/ko/env-vars#variables)를 `60000`처럼 밀리초 단위의 더 긴 대기 시간으로 설정하고 같은 명령을 다시 실행합니다.
3702* **파일이 읽기 전용이거나 샌드박스로 보호된 경우**: 메시지에 표시된 파일을 쓰기 가능하게 만들고 같은 추가 또는 제거 명령을 다시 실행하거나, 해당 명령을 샌드박스 밖에서 실행합니다.3734* **파일이 읽기 전용이거나 샌드박스로 보호된 경우**: 메시지가 명시한 파일을 쓰기 가능하게 만들고 같은 추가 또는 제거 명령을 다시 실행하거나, 해당 명령을 샌드박스 밖에서 실행합니다.
3703 3735
3704v2.1.283 이전에는 변경 사항이 파일에 반영되지 않은 경우에도 `claude mcp add`, `claude mcp add-json`, `claude mcp remove`가 성공을 보고했습니다. v2.1.318 이전에는 메시지에 잠금이 언급되지 않았으며, Claude Code가 [`CLAUDE_CODE_CONFIG_LOCK_WAIT_MS`](https://code.claude.com/docs/ko/env-vars#variables)를 읽지 않았습니다.3736v2.1.283 이전에는 변경 사항이 파일에 반영되지 않은 경우에도 `claude mcp add`, `claude mcp add-json`, `claude mcp remove`가 성공을 보고했습니다. v2.1.318 이전에는 메시지에 잠금에 대한 언급이 없었으며, Claude Code가 [`CLAUDE_CODE_CONFIG_LOCK_WAIT_MS`](https://code.claude.com/docs/ko/env-vars#variables)를 읽지 않았습니다.
3705 3737
3706### MCP server may not have been saved or removed3738### MCP 서버가 저장되거나 제거되지 않았을 수 있음
3707 3739
3708`user` 또는 `local` [범위](https://code.claude.com/docs/ko/mcp.md#mcp-installation-scopes)의 서버에 대해 `claude mcp add`, `claude mcp add-json` 또는 `claude mcp remove`를 실행했는데, Claude Code가 변경 사항을 확인하기 위해 `~/.claude.json`을 다시 읽을 수 없었습니다. 변경 사항이 디스크에 반영되었을 수도 있고 그렇지 않을 수도 있습니다. `to confirm the change` 뒤의 괄호 안에 사유가 표시됩니다.3740`user` 또는 `local` [범위](https://code.claude.com/docs/ko/mcp.md#mcp-installation-scopes)의 서버에 대해 `claude mcp add`, `claude mcp add-json`, 또는 `claude mcp remove`를 실행했는데, Claude Code가 변경 사항을 확인하기 위해 `~/.claude.json`을 다시 읽지 못한 경우입니다. 변경 사항이 디스크에 반영되었을 수도 있고 아닐 수도 있습니다. `to confirm the change` 뒤의 괄호 안에 사유가 표시됩니다.
3709 3741
3710```text theme={null}3742```text theme={null}
3711MCP server "example" may not have been saved: /home/user/.claude.json could not be read to confirm the change (EACCES: permission denied, open '/home/user/.claude.json'). Run `claude mcp get example` to check, then add the server again if it is missing.3743MCP server "example" may not have been saved: /home/user/.claude.json could not be read to confirm the change (EACCES: permission denied, open '/home/user/.claude.json'). Run `claude mcp get example` to check, then add the server again if it is missing.
3712```3744```
3713 3745
3714제거 후에는 메시지에 `may not have been removed`가 표시되고 `then remove the server again if it is still listed`로 끝납니다. 사유가 `the file was not found`인 경우 서버가 여전히 구성되어 있을 수 있습니다.3746제거 후에는 메시지가 `may not have been removed`로 표시되고 `then remove the server again if it is still listed`로 끝납니다. 사유가 `the file was not found`인 경우 서버가 여전히 구성되어 있을 수 있습니다.
3715 3747
3716v2.1.283 이전에는 변경 사항을 확인할 수 없는 경우에도 명령이 성공을 보고했습니다.3748v2.1.283 이전에는 변경 사항을 확인할 수 없는 경우에도 명령이 성공을 보고했습니다.
3717 3749
3718**해결 방법:**3750**해결 방법:**
3719 3751
3720* `claude mcp get <name>`을 실행하여 변경 사항이 디스크에 반영되었는지 확인합니다. `local` 범위 서버의 경우 로컬 범위는 프로젝트별이므로 서버가 속한 프로젝트 디렉터리에서 실행합니다.3752* `claude mcp get <name>`을 실행하여 변경 사항이 디스크에 반영되었는지 확인합니다. `local` 범위 서버의 경우 로컬 범위는 프로젝트별이므로 서버가 속한 프로젝트 디렉터리에서 실행합니다.
3721* 추가 후에 서버가 없거나 제거 후에도 여전히 나열되어 있으면 같은 추가 또는 제거 명령을 다시 실행합니다.3753* 추가 후 서버가 없거나 제거 후에도 여전히 목록에 있으면 같은 추가 또는 제거 명령을 다시 실행합니다.
3722 3754
3723### Server is Anthropic-hosted and doesn't support local OAuth3755### Server is Anthropic-hosted and doesn't support local OAuth
3724 3756
3725URL이 서드 파티 ID 공급자를 통해 인증하는 Anthropic 호스팅 커넥터 호스트를 가리키는 MCP 서버에 대해 로그인을 시작했습니다. 이러한 호스트에는 `microsoft365.mcp.claude.com`, `gmail.mcp.claude.com`, `gcal.mcp.claude.com`이 포함됩니다. [이러한 호스트의 로그인은 claude.ai를 통해서만 동작](https://code.claude.com/docs/ko/mcp.md#use-mcp-servers-from-claude-ai)하므로, Claude Code는 `/mcp` 패널과 `claude mcp login` 모두에서 이러한 호스트에 대한 로컬 OAuth 흐름 시작을 거부합니다.3757URL이 서드파티 ID 공급자를 통해 인증하는 Anthropic 호스팅 커넥터 호스트를 가리키는 MCP 서버에 대해 로그인을 시작한 경우입니다. 이러한 호스트에는 `microsoft365.mcp.claude.com`, `gmail.mcp.claude.com`, `gcal.mcp.claude.com`이 포함됩니다. [이 호스트들의 로그인은 claude.ai를 통해서만 동작](https://code.claude.com/docs/ko/mcp.md#use-mcp-servers-from-claude-ai)하므로, Claude Code는 `/mcp` 패널과 `claude mcp login` 모두에서 이 호스트들에 대한 로컬 OAuth 흐름 시작을 거부합니다.
3726 3758
3727```text theme={null}3759```text theme={null}
3728"gmail" is Anthropic-hosted and doesn't support local OAuth. Connect it via Settings → Connectors on claude.ai (requires `claude login`), then it'll be available here automatically.3760"gmail" is Anthropic-hosted and doesn't support local OAuth. Connect it via Settings → Connectors on claude.ai (requires `claude login`), then it'll be available here automatically.
3731**해결 방법:**3763**해결 방법:**
3732 3764
3733* 같은 URL의 claude.ai 커넥터를 가리지 않도록 `claude mcp remove <name>`으로 항목을 제거합니다3765* 같은 URL의 claude.ai 커넥터를 가리지 않도록 `claude mcp remove <name>`으로 항목을 제거합니다
3734* 제거한 후 Claude Code에서 사용하는 계정으로 로그인한 상태에서 [claude.ai/customize/connectors](https://claude.ai/customize/connectors)에서 서비스를 연결합니다. 연결되면 활성 인증 방식이 claude.ai 구독 로그인인 경우 [커넥터가 Claude Code에 자동으로 표시](https://code.claude.com/docs/ko/mcp.md#use-mcp-servers-from-claude-ai)됩니다3766* 제거한 후 Claude Code에서 사용하는 계정으로 로그인한 상태에서 [claude.ai/customize/connectors](https://claude.ai/customize/connectors)에서 서비스를 연결합니다. 연결되면 현재 인증 방식이 claude.ai 구독 로그인인 경우 [커넥터가 Claude Code에 자동으로 나타납니다](https://code.claude.com/docs/ko/mcp.md#use-mcp-servers-from-claude-ai)
3735 3767
3736### Server rejected the Authorization header minted by the configured headersHelper3768### Server rejected the Authorization header minted by the configured headersHelper
3737 3769
3738[`headersHelper`](https://code.claude.com/docs/ko/mcp#use-dynamic-headers-for-custom-authentication)가 `Authorization` 헤더를 제공하는 MCP 서버가 연결에 HTTP 401 또는 403으로 응답했으므로, Claude Code는 연결이 실패한 것으로 보고합니다. 헬퍼가 `Authorization` 헤더를 제공하므로 Claude Code는 해당 서버에 대해 [OAuth로 폴백하지 않습니다](https://code.claude.com/docs/ko/mcp.md#authenticate-with-remote-mcp-servers):3770[`headersHelper`](https://code.claude.com/docs/ko/mcp#use-dynamic-headers-for-custom-authentication)가 `Authorization` 헤더를 제공하는 MCP 서버가 연결에 HTTP 401 또는 403으로 응답하여, Claude Code가 연결을 실패로 보고합니다. 헬퍼가 `Authorization` 헤더를 제공하므로 Claude Code는 해당 서버에 대해 [OAuth로 폴백하지 않습니다](https://code.claude.com/docs/ko/mcp.md#authenticate-with-remote-mcp-servers):
3739 3771
3740```text theme={null}3772```text theme={null}
3741Server rejected the Authorization header minted by the configured headersHelper (HTTP 401). Check that the helper command returns a valid credential for this MCP endpoint — OAuth fallback is disabled when the helper supplies Authorization.3773Server rejected the Authorization header minted by the configured headersHelper (HTTP 401). Check that the helper command returns a valid credential for this MCP endpoint — OAuth fallback is disabled when the helper supplies Authorization.
3742```3774```
3743 3775
3744Claude Code는 연결을 시도할 때마다 헬퍼를 다시 실행하므로, 토큰 교체 경합 같은 일시적인 거부 후에는 재시도 시 새 자격 증명으로 성공할 수 있습니다.3776Claude Code는 연결 시도마다 헬퍼를 다시 실행하므로, 토큰 교체 경쟁 상태 같은 일시적인 거부 후의 재시도는 새 자격 증명으로 성공할 수 있습니다.
3745 3777
3746**해결 방법:**3778**해결 방법:**
3747 3779
3748* Claude Code가 실행하는 방식 그대로 `headersHelper` 명령을 직접 실행합니다. 즉, [Claude Code가 헬퍼를 실행하는 디렉터리](https://code.claude.com/docs/ko/mcp.md#where-the-helper-runs)에서, [Claude Code가 설정하는 환경 변수](https://code.claude.com/docs/ko/mcp.md#use-dynamic-headers-for-custom-authentication)와 함께, 그리고 프로젝트 `.mcp.json`, 플러그인 또는 프로젝트 에이전트 파일의 서버라면 [Claude Code가 제거하는 자격 증명 변수](https://code.claude.com/docs/ko/mcp.md#which-variables-a-helper-can-read) 없이 실행합니다. 서버의 엔드포인트가 받아들이는 `Authorization` 값을 출력하는지 확인합니다3780* Claude Code가 실행하는 방식 그대로 `headersHelper` 명령을 직접 실행합니다. [Claude Code가 실행하는 디렉터리](https://code.claude.com/docs/ko/mcp.md#where-the-helper-runs)에서, [Claude Code가 설정하는 환경 변수](https://code.claude.com/docs/ko/mcp.md#use-dynamic-headers-for-custom-authentication)와 함께, 그리고 프로젝트 `.mcp.json`, 플러그인 또는 프로젝트 에이전트 파일에서 온 서버의 경우 [Claude Code가 제거하는 자격 증명 변수](https://code.claude.com/docs/ko/mcp.md#which-variables-a-helper-can-read) 없이 실행합니다. 서버의 엔드포인트가 받아들이는 `Authorization` 값을 출력하는지 확인합니다
3749* 헬퍼나 자격 증명 소스를 수정한 후 `/mcp`에서 서버를 선택하고 **Reconnect**를 선택합니다3781* 헬퍼나 자격 증명 소스를 수정한 후 `/mcp`에서 서버를 선택하고 **Reconnect**를 선택합니다
3750 3782
3751v2.1.248 이전에는 헬퍼가 `Authorization` 헤더를 제공하는 서버에 대해 Claude Code가 OAuth 검색을 실행했습니다. 그 검색은 거부된 자격 증명을 보고하는 대신 `Incompatible auth server: does not support dynamic client registration`으로 실패할 수 있었습니다.3783v2.1.248 이전에는 헬퍼가 `Authorization` 헤더를 제공하는 서버에 대해서도 Claude Code가 OAuth 검색을 실행했습니다. 이 검색은 거부된 자격 증명을 보고하는 대신 `Incompatible auth server: does not support dynamic client registration`으로 실패할 수 있었습니다.
3752 3784
3753### MCP server rejected the elicitation capability3785### MCP 서버가 elicitation 기능을 거부함
3754 3786
3755Java MCP SDK 0.11.0\~0.17.0으로 빌드된 MCP 서버가 연결을 거부했습니다. 이러한 SDK 버전은 Claude Code가 핸드셰이크에서 선언하는 `form` 및 `url` [elicitation 모드](https://code.claude.com/docs/ko/mcp.md#elicitation-modes-claude-code-declares)를 파싱할 수 없습니다. 메시지는 다음과 같습니다:3787Java MCP SDK 0.11.0부터 0.17.0 사이 버전으로 만든 MCP 서버가 연결을 거부했습니다. 해당 SDK 버전은 Claude Code가 핸드셰이크에서 선언하는 `form` 및 `url` [elicitation 모드](https://code.claude.com/docs/ko/mcp.md#elicitation-modes-claude-code-declares)를 파싱할 수 없습니다. 메시지는 다음과 같습니다:
3756 3788
3757```text theme={null}3789```text theme={null}
3758This server (Java MCP SDK 0.17.0 or older) rejected Claude Code's elicitation capability. Set "bareElicitationCapability": true for it, or upgrade to Java MCP SDK 0.17.1+ (Spring AI 1.0.7+ or 1.1.6+).3790This server (Java MCP SDK 0.17.0 or older) rejected Claude Code's elicitation capability. Set "bareElicitationCapability": true for it, or upgrade to Java MCP SDK 0.17.1+ (Spring AI 1.0.7+ or 1.1.6+).
3760 3792
3761**해결 방법:**3793**해결 방법:**
3762 3794
3763* 서버를 Java MCP SDK 0.17.1 이상 또는 메시지에 표시된 Spring AI 릴리스 중 하나로 업그레이드합니다3795* 서버를 Java MCP SDK 0.17.1 이상, 또는 메시지에 명시된 Spring AI 릴리스 중 하나로 업그레이드합니다
3764* 또는 MCP 구성에서 해당 서버 항목에 `"bareElicitationCapability": true`를 추가한 다음 Claude Code를 다시 시작합니다. 이 필드는 stdio, `sse`, `http`, `ws` 항목에서 사용할 수 있으며 Claude Code v2.1.281 이상이 필요합니다3796* 또는 MCP 구성에서 해당 서버 항목에 `"bareElicitationCapability": true`를 추가한 뒤 Claude Code를 다시 시작합니다. 이 필드는 stdio, `sse`, `http`, `ws` 항목에서 허용되며 Claude Code v2.1.281 이상이 필요합니다
3765 3797
3766다음 `.mcp.json` 항목은 하나의 HTTP 서버에 대해 이 필드를 설정합니다:3798다음 `.mcp.json` 항목은 하나의 HTTP 서버에 대해 이 필드를 설정합니다:
3767 3799
3777}3809}
3778```3810```
3779 3811
3780다시 시작한 후 `/mcp`에 서버가 연결된 것으로 표시됩니다. Claude Code는 해당 서버에만 form 모드를 선언하므로, 서버를 업그레이드한 후에는 이 필드를 제거합니다.3812다시 시작하면 `/mcp`에 서버가 연결된 것으로 표시됩니다. Claude Code는 해당 서버에만 form 모드를 선언하므로, 서버를 업그레이드한 후에는 이 필드를 제거합니다.
3781 3813
3782서버가 `Unrecognized field "form"`을 포함하는 메시지처럼 자체 오류 텍스트와 함께 실패할 수도 있습니다. 같은 해결 방법이 적용됩니다.3814서버가 `Unrecognized field "form"`을 포함하는 오류처럼 자체 오류 텍스트와 함께 실패할 수도 있습니다. 같은 해결 방법이 적용됩니다.
3783 3815
3784### MCP permission prompt tool not found3816### MCP 권한 프롬프트 도구를 찾을 수 없음
3785 3817
3786[`--permission-prompt-tool`](https://code.claude.com/docs/ko/cli-reference#cli-flags)에 전달한 도구가 실행에서 처음 권한 결정이 필요한 시점에 연결된 MCP 도구 중에 없었습니다. 서버가 연결되지 않았거나, 연결된 서버 중 해당 이름의 도구를 노출하는 서버가 없기 때문입니다. Claude Code는 여전히 프롬프트를 전송합니다. [비대화형](https://code.claude.com/docs/ko/headless.md) 실행은 첫 번째 도구 호출에서 이 오류와 종료 코드 1로 종료되므로, 요청이 이루어졌지만 답변은 생성되지 않습니다. 첫 번째 프롬프트 전에 Claude Code는 [`MCP_TIMEOUT`](https://code.claude.com/docs/ko/env-vars)으로 설정되는 서버별 연결 타임아웃인 30초까지 해당 서버의 연결을 기다립니다. v2.1.206 이전에는 시작 시 서버 연결이 완료되기를 기다리지 않았으므로, 시작이 느리지만 정상인 서버에서도 이 오류가 발생했습니다.3818실행에서 처음으로 권한 결정이 필요했을 때 [`--permission-prompt-tool`](https://code.claude.com/docs/ko/cli-reference#cli-flags)에 전달한 도구가 연결된 MCP 도구 중에 없었습니다. 서버가 연결되지 않았거나, 연결된 서버 중 해당 이름의 도구를 노출하는 서버가 없기 때문입니다. Claude Code는 그래도 프롬프트를 전송합니다. [비대화형](https://code.claude.com/docs/ko/headless.md) 실행은 첫 도구 호출에서 이 오류와 함께 종료 코드 1로 종료되므로, 요청은 이루어졌지만 응답은 생성되지 않습니다. 첫 프롬프트 전에 Claude Code는 [`MCP_TIMEOUT`](https://code.claude.com/docs/ko/env-vars)으로 설정된 서버별 연결 타임아웃인 30초까지 해당 서버가 연결되기를 기다립니다. v2.1.206 이전에는 시작 시 서버 연결 완료를 기다리지 않았으므로, 느리게 시작하지만 정상인 서버에서도 이 오류가 발생했습니다.
3787 3819
3788```text theme={null}3820```text theme={null}
3789Error: MCP tool mcp__permissions__approve (passed via --permission-prompt-tool) not found. Available MCP tools: none3821Error: MCP tool mcp__permissions__approve (passed via --permission-prompt-tool) not found. Available MCP tools: none
3790```3822```
3791 3823
3792`Available MCP tools:` 뒤의 목록에는 연결된 MCP 도구가 표시됩니다.3824`Available MCP tools:` 뒤의 목록에는 연결되었던 MCP 도구가 표시됩니다.
3793 3825
3794**해결 방법:**3826**해결 방법:**
3795 3827
3796* 서버가 시작되고 연결 상태를 유지하는지 확인합니다. 같은 디렉터리에서 `claude mcp list`를 실행하여 서버가 연결된 것으로 나열되는지 확인합니다3828* 서버가 시작되고 연결 상태를 유지하는지 확인합니다. 같은 디렉터리에서 `claude mcp list`를 실행하고 서버가 연결된 것으로 표시되는지 확인합니다
3797* 도구 이름이 서버가 노출하는 `mcp__<server>__<tool>` 이름과 일치하는지 확인합니다3829* 도구 이름이 서버가 노출하는 `mcp__<server>__<tool>` 이름과 일치하는지 확인합니다
3798* 서버가 시작하는 데 30초보다 오래 걸리면 [`MCP_TIMEOUT`](https://code.claude.com/docs/ko/env-vars)을 늘립니다3830* 서버가 시작하는 데 30초보다 오래 걸리면 [`MCP_TIMEOUT`](https://code.claude.com/docs/ko/env-vars)을 늘립니다
3799 3831
3800### OAuth callback port is already in use3832### OAuth callback port is already in use
3801 3833
3802OAuth로 원격 MCP 서버에 로그인하면 Claude Code는 로그인 콜백을 받기 위해 로컬 리스너를 시작합니다. 리스너에 필요한 포트를 다른 프로세스가 점유하고 있으면 로그인이 이 메시지와 함께 실패합니다. 이는 주로 [`MCP_OAUTH_CALLBACK_PORT`](https://code.claude.com/docs/ko/env-vars) 변수나 `--callback-port`로 [고정 콜백 포트](https://code.claude.com/docs/ko/mcp.md#use-a-fixed-oauth-callback-port)를 설정한 경우에 발생합니다. 고정 포트가 없으면 Claude Code가 사용 가능한 포트를 선택하기 때문입니다.3834OAuth로 원격 MCP 서버에 로그인하면 Claude Code는 로그인 콜백을 받기 위해 로컬 리스너를 시작합니다. 해당 리스너에 필요한 포트를 다른 프로세스가 점유하고 있으면 로그인이 이 메시지와 함께 실패합니다. 이는 주로 [`MCP_OAUTH_CALLBACK_PORT`](https://code.claude.com/docs/ko/env-vars) 변수나 `--callback-port`로 설정한 [고정 콜백 포트](https://code.claude.com/docs/ko/mcp.md#use-a-fixed-oauth-callback-port)에서 발생합니다. 고정 포트가 없으면 Claude Code가 사용 가능한 포트를 선택하기 때문입니다.
3803 3835
3804```text theme={null}3836```text theme={null}
3805OAuth callback port <port> is already in use — another process may be holding it. Run `lsof -ti:<port> -sTCP:LISTEN` to find it.3837OAuth callback port <port> is already in use — another process may be holding it. Run `lsof -ti:<port> -sTCP:LISTEN` to find it.
3810**해결 방법:**3842**해결 방법:**
3811 3843
3812* 메시지의 명령을 실행하여 포트를 점유한 프로세스를 찾고, 해당 프로세스를 중지하거나 종료될 때까지 기다립니다3844* 메시지의 명령을 실행하여 포트를 점유한 프로세스를 찾고, 해당 프로세스를 중지하거나 종료될 때까지 기다립니다
3813* 다른 프로그램이 해당 포트를 계속 필요로 하는 경우, 서버에 다른 리디렉션 URI를 등록하고 사용 중인 `MCP_OAUTH_CALLBACK_PORT` 또는 `--callback-port`로 해당 포트를 설정합니다3845* 다른 프로그램이 해당 포트를 계속 필요로 한다면 서버에 다른 리디렉션 URI를 등록하고, 사용하는 방식에 따라 `MCP_OAUTH_CALLBACK_PORT` 또는 `--callback-port`로 해당 포트를 설정합니다
3814* 그런 다음 `/mcp`에서 서버를 선택하는 등의 방법으로 로그인을 다시 시작합니다3846* 그런 다음 예를 들어 `/mcp`에서 서버를 선택하여 로그인을 다시 시작합니다
3815 3847
3816### No available ports for OAuth redirect3848### No available ports for OAuth redirect
3817 3849
3818[OAuth](https://code.claude.com/docs/ko/mcp.md#authenticate-with-remote-mcp-servers)로 원격 MCP 서버에 로그인하면 Claude Code는 로그인 콜백을 받기 위해 로컬 리스너를 시작합니다. Claude Code가 이를 위한 로컬 포트를 바인딩할 수 없으면 로그인이 이 메시지와 함께 실패합니다. 컴퓨터의 무언가가 `127.0.0.1`에서의 수신 대기를 막고 있는 것으로, 예를 들어 로컬 리스너를 거부하는 보안 소프트웨어나 샌드박스 정책이 있습니다.3850[OAuth](https://code.claude.com/docs/ko/mcp.md#authenticate-with-remote-mcp-servers)로 원격 MCP 서버에 로그인하면 Claude Code는 로그인 콜백을 받기 위해 로컬 리스너를 시작합니다. Claude Code가 이를 위한 로컬 포트를 바인딩할 수 없으면 로그인이 이 메시지와 함께 실패합니다. 예를 들어 로컬 리스너를 거부하는 보안 소프트웨어나 샌드박스 정책처럼, 컴퓨터의 무언가가 `127.0.0.1`에서의 수신을 막고 있습니다.
3819 3851
3820```text theme={null}3852```text theme={null}
3821No available ports for OAuth redirect3853No available ports for OAuth redirect
3822```3854```
3823 3855
3824v2.1.268 이전에는 Claude Code가 운영 체제가 할당하는 포트로 폴백하지 않았으므로, 자체적으로 선택한 포트만 바인딩할 수 없는 경우에도 이 메시지가 표시되었습니다. 이는 Hyper-V가 Claude Code가 선택하는 포트 범위를 포함하는 포트 범위를 예약하는 Windows 호스트에서 발생할 수 있습니다.3856v2.1.268 이전에는 Claude Code가 운영 체제가 할당하는 포트로 폴백하지 않았으므로, 자체적으로 선택한 포트만 바인딩할 수 없는 경우에도 이 메시지가 나타났습니다. 이는 Hyper-V가 Claude Code가 선택하는 포트를 포함하는 포트 범위를 예약하는 Windows 호스트에서 발생할 수 있습니다.
3825 3857
3826**해결 방법:**3858**해결 방법:**
3827 3859
3828* 보안 소프트웨어나 샌드박스 정책이 프로세스의 `127.0.0.1` 수신 대기를 차단하는지 확인하고, Claude Code가 로컬 포트를 바인딩하도록 허용합니다3860* 보안 소프트웨어나 샌드박스 정책이 프로세스의 `127.0.0.1` 수신을 차단하는지 확인하고, Claude Code가 로컬 포트를 바인딩할 수 있도록 허용합니다
3829* 그런 다음 `/mcp`에서 서버를 선택하는 등의 방법으로 로그인을 다시 시작합니다3861* 그런 다음 예를 들어 `/mcp`에서 서버를 선택하여 로그인을 다시 시작합니다
3830 3862
3831### origin/HEAD가 없어 /security-review 실패3863### origin/HEAD 없이 /security-review 실패
3832 3864
3833[`/security-review`](https://code.claude.com/docs/ko/commands#all-commands)는 `origin` 원격의 기본 브랜치를 기록하는 로컬 ref인 `origin/HEAD`와 현재 브랜치의 diff를 구하여 리뷰 컨텍스트를 구성합니다. 해당 ref가 없으면 diff를 수집하는 git 명령이 실패하고 리뷰가 시작되기 전에 중단됩니다.3865[`/security-review`](https://code.claude.com/docs/ko/commands#all-commands)는 `origin` 원격의 기본 브랜치를 기록하는 로컬 ref인 `origin/HEAD`와 현재 브랜치를 비교하는 diff로 리뷰 컨텍스트를 구성합니다. 해당 ref가 없으면 diff를 수집하는 git 명령이 실패하고, 리뷰는 시작되기 전에 중단됩니다.
3834 3866
3835```text theme={null}3867```text theme={null}
3836Error: Shell command failed for pattern "!`git diff --name-only origin/HEAD...`": [stderr]3868Error: Shell command failed for pattern "!`git diff --name-only origin/HEAD...`": [stderr]
3839'git <command> [<revision>...] -- [<file>...]'3871'git <command> [<revision>...] -- [<file>...]'
3840```3872```
3841 3873
3842메시지에는 대신 `git log`나 다른 `git diff`가 인용될 수도 있습니다. Git은 원격이 기본 브랜치를 알리고 fetch refspec이 이를 포함하는 경우에만 `origin/HEAD`를 생성하며, 커밋이 있는 원격을 전체 `git clone`하면 이 조건이 충족됩니다. 다음과 같은 설정에서는 ref가 없습니다:3874메시지에는 대신 `git log`나 다른 `git diff`가 인용될 수 있습니다. Git은 원격이 기본 브랜치를 알리고 fetch refspec이 이를 포함하는 경우에만 `origin/HEAD`를 생성하며, 커밋이 있는 원격을 전체 `git clone`하면 이 조건이 충족됩니다. 다음과 같은 설정에서는 ref가 없습니다:
3843 3875
3844* 너무 좁은 refspec을 가져오는 단일 브랜치 또는 CI 체크아웃3876* 너무 좁은 refspec을 가져오는 단일 브랜치 또는 CI 체크아웃
3845* 서버 측 HEAD가 아무도 푸시하지 않은 브랜치를 가리키는 원격3877* 서버 측 HEAD가 아무도 푸시하지 않은 브랜치를 가리키는 원격
3846* `origin` 원격이 없거나 한 번도 fetch하지 않은 저장소3878* `origin` 원격이 없거나 한 번도 fetch하지 않은 저장소
3847 3879
3848Claude Code는 [동적 컨텍스트를 주입](https://code.claude.com/docs/ko/skills.md#when-an-injected-command-fails)하는 모든 스킬에 대해 같은 오류를 표시하며, 주입된 명령이 실패하면 해당 스킬의 호출이 중단됩니다.3880Claude Code는 [동적 컨텍스트를 주입하는](https://code.claude.com/docs/ko/skills.md#when-an-injected-command-fails) 모든 스킬에 대해 같은 오류를 표시하며, 주입된 명령이 실패하면 해당 스킬의 호출이 중단됩니다.
3849 3881
3850다음 관련 메시지는 명령이 실행되기도 전에 표시됩니다:3882다음과 같은 유사한 문자열은 명령이 실행되기 전에 발생합니다:
3851 3883
3852* `Shell command permission check failed for pattern "..."`: 명령의 권한 검사가 이를 허용하지 않았습니다. [주입된 명령의 권한 검사](https://code.claude.com/docs/ko/skills.md#permission-checks-on-injected-commands)에서 각 권한 모드에서 어떤 결과가 중단을 일으키는지와 `allowed-tools`로 명령을 사전 승인하는 방법을 다룹니다3884* `Shell command permission check failed for pattern "..."`: 명령의 권한 검사에서 허용되지 않았습니다. 각 권한 모드에서 어떤 결과가 중단을 일으키는지, 그리고 `allowed-tools`가 언제 명령을 사전 승인하는지는 [주입된 명령에 대한 권한 검사](https://code.claude.com/docs/ko/skills.md#permission-checks-on-injected-commands)를 참조하십시오
3853* ``Skill <name> requires bash (`shell: bash` in frontmatter) but Git Bash was not found``: 스킬의 frontmatter가 bash가 없는 컴퓨터에서 bash를 요구합니다. Git for Windows를 설치하거나 frontmatter를 `shell: powershell`로 변경합니다. [주입된 명령이 실행되는 방식](https://code.claude.com/docs/ko/skills.md#how-injected-commands-run)을 참조하세요3885* ``Skill <name> requires bash (`shell: bash` in frontmatter) but Git Bash was not found``: 스킬의 frontmatter가 bash가 없는 컴퓨터에서 bash를 요구합니다. Git for Windows를 설치하거나 frontmatter를 `shell: powershell`로 변경합니다. [주입된 명령이 실행되는 방식](https://code.claude.com/docs/ko/skills.md#how-injected-commands-run)을 참조하십시오
3854 3886
3855**해결 방법:**3887**해결 방법:**
3856 3888
3857* 원격의 기본 브랜치를 지정하여 ref를 생성합니다: `git remote set-head origin <default-branch>`. 이 방법은 로컬 추적 ref `origin/<default-branch>`가 있으면 항상 동작합니다. 단일 브랜치 클론처럼 해당 ref가 없으면 먼저 브랜치를 fetch합니다. `git remote set-branches --add origin <branch>`를 실행하고, 이어서 `git fetch origin`을 실행한 다음, set-head 명령을 다시 실행합니다. 그리고 `/security-review`를 다시 실행합니다.3889* 원격의 기본 브랜치를 지정하여 ref를 생성합니다: `git remote set-head origin <default-branch>`. 이는 로컬 추적 ref `origin/<default-branch>`가 있을 때 항상 동작합니다. 단일 브랜치 클론처럼 해당 ref가 없다면 먼저 브랜치를 가져옵니다. `git remote set-branches --add origin <branch>`를 실행한 다음 `git fetch origin`을 실행하고, set-head 명령을 다시 실행합니다. 그런 다음 `/security-review`를 다시 실행합니다.
3858* 브랜치를 지정하지 않으려면 `git fetch origin`을 실행한 다음 `git remote set-head origin --auto`를 실행합니다. 이 명령은 원격에 기본 브랜치를 묻습니다. 원격이 비어 있거나 HEAD가 아무도 푸시하지 않은 브랜치를 가리켜 기본 브랜치를 알리지 않으면 `error: Cannot determine remote HEAD`로 실패하며, 이 경우 대신 브랜치를 명시적으로 지정합니다. 클론이 해당 브랜치를 fetch하지 않으면 `error: Not a valid ref`로 실패하며, 이 경우 먼저 위와 같이 refspec을 넓힙니다.3890* 브랜치를 지정하지 않으려면 `git fetch origin`을 실행한 다음 `git remote set-head origin --auto`를 실행합니다. 이 명령은 원격에 어떤 브랜치가 기본인지 묻습니다. 원격이 비어 있거나 HEAD가 아무도 푸시하지 않은 브랜치를 가리켜 기본 브랜치를 알리지 않으면 `error: Cannot determine remote HEAD`로 실패하며, 이 경우 브랜치를 명시적으로 지정합니다. 클론이 해당 브랜치를 가져오지 않으면 `error: Not a valid ref`로 실패하며, 이 경우 먼저 위와 같이 refspec을 넓힙니다.
3859* 저장소에 원격이 없으면 `git remote add origin <url>`로 원격을 추가하고 ref를 생성하기 전에 fetch합니다. 원격이 비어 있으면 먼저 `git push -u origin HEAD`로 브랜치를 푸시하고 set-head 명령에 해당 브랜치를 지정합니다. 그러면 `origin/HEAD`가 방금 푸시한 브랜치를 가리키므로, 브랜치가 분기되기 전까지 `/security-review`에는 빈 diff가 표시됩니다.3891* 저장소에 원격이 없으면 `git remote add origin <url>`로 원격을 추가하고 ref를 생성하기 전에 fetch합니다. 원격이 비어 있으면 먼저 `git push -u origin HEAD`로 브랜치를 푸시하고 set-head 명령에서 해당 브랜치를 지정합니다. 그러면 `origin/HEAD`가 방금 푸시한 브랜치를 가리키므로, 브랜치가 이와 달라질 때까지 `/security-review`는 빈 diff를 보게 됩니다.
3860 3892
3861### No shell command in a skill or command was run3893### 스킬 또는 명령의 셸 명령이 실행되지 않음
3862 3894
3863`No shell command in <name> was run`은 해당 스킬 또는 명령 파일의 `` !`<command>` `` [동적 컨텍스트 명령](https://code.claude.com/docs/ko/skills.md#inject-dynamic-context)에 Bash 또는 PowerShell 도구가 거부하는 문자가 포함되어 있다는 의미입니다:3895`No shell command in <name> was run`은 해당 스킬 또는 명령 파일의 `` !`<command>` `` [동적 컨텍스트 명령](https://code.claude.com/docs/ko/skills.md#inject-dynamic-context)에 Bash 또는 PowerShell 도구가 거부하는 문자가 포함되어 있다는 의미입니다:
3864 3896
3865* **두 도구 모두**: 탭이나 줄바꿈이 아닌 원시 제어 문자3897* **두 도구 모두**: 탭이나 줄바꿈 이외의 원시 제어 문자
3866* **PowerShell 도구**: 추가로 U+FEFF 또는 U+180E3898* **PowerShell 도구**: 추가로 U+FEFF 또는 U+180E
3867 3899
3868메시지는 거부된 명령으로 끝나며, 다음 Bash 도구 예시처럼 거부된 각 문자를 `�`로 표시합니다:3900메시지는 거부된 명령으로 끝나며, 거부된 각 문자는 다음 Bash 도구 예시처럼 `�`로 표시됩니다:
3869 3901
3870```text theme={null}3902```text theme={null}
3871No shell command in /my-skill was run, because the Bash tool does not accept one of them: command contains control characters that would be hidden in the approval dialog. Unprintable characters are shown as � below: remove them from the skill or command file, or from the arguments or options substituted into it.3903No shell command in /my-skill was run, because the Bash tool does not accept one of them: command contains control characters that would be hidden in the approval dialog. Unprintable characters are shown as � below: remove them from the skill or command file, or from the arguments or options substituted into it.
3876 3908
3877* 메시지 끝에 인용된 명령에서 각 `�`를 찾습니다. 해당 문자를 [스킬 또는 명령 파일](https://code.claude.com/docs/ko/skills.md#where-skills-live)에서, 또는 파일에 대입되는 인수나 [옵션](https://code.claude.com/docs/ko/plugins/manifest-reference.md#user-configuration)에서 제거합니다.3909* 메시지 끝에 인용된 명령에서 각 `�`를 찾습니다. 해당 문자를 [스킬 또는 명령 파일](https://code.claude.com/docs/ko/skills.md#where-skills-live)에서, 또는 파일에 대입되는 인수나 [옵션](https://code.claude.com/docs/ko/plugins/manifest-reference.md#user-configuration)에서 제거합니다.
3878 3910
3911### 4,000,000자 제한을 초과한 스킬, 명령 또는 훅
3912
3913`more than 4,000,000 characters`가 포함된 메시지는 스킬, 명령, 또는 [프롬프트 훅이나 에이전트 훅](https://code.claude.com/docs/ko/hooks.md#prompt-and-agent-hook-fields)이 실행되지 않았다는 의미입니다. 긴 텍스트를 인수로 붙여 넣었다면 이를 파일로 저장하고, 텍스트가 대화에 남아 있으므로 `/clear`를 실행한 뒤 파일 경로를 전달합니다. [Code Mode](https://code.claude.com/docs/ko/code-mode.md#tool-call-refused-by-a-hook) 밖에서는 제한을 초과한 `PreToolUse` 프롬프트 훅이나 에이전트 훅이 호출을 차단하지 않습니다. 이러한 제한이 없는 [명령 훅](https://code.claude.com/docs/ko/hooks.md#command-hook-fields)을 사용하십시오.
3914
3879### Input must be provided when using `--print`3915### Input must be provided when using `--print`
3880 3916
3881인수 없는 `claude`가 대화형 UI를 시작하려면 stdout이 터미널이어야 합니다. stdout이 리디렉션되었거나, PowerShell ISE나 일부 IDE 출력 창처럼 콘솔이 실제 터미널이 아니면 `claude`는 대신 [비대화형으로](https://code.claude.com/docs/ko/headless.md) 실행됩니다. 이는 프롬프트가 필요한 `claude -p`와 같은 모드이므로, 플래그를 전달하지 않았더라도 메시지에 `--print`가 표시됩니다. 프롬프트 없이, stdin으로 아무것도 파이프하지 않고 `-p`/`--print`를 전달하면 어디에서든 같은 오류가 발생합니다.3917인수 없는 `claude`는 대화형 UI를 시작하기 위해 stdout이 터미널이어야 합니다. stdout이 리디렉션되거나, PowerShell ISE 및 일부 IDE 출력 창처럼 콘솔이 실제 터미널이 아니면 `claude`는 대신 [비대화형으로](https://code.claude.com/docs/ko/headless.md) 실행됩니다. 이는 프롬프트가 필요한 `claude -p`와 같은 모드이므로, 플래그를 전달하지 않았더라도 메시지에 `--print`가 표시됩니다. 프롬프트 없이, 그리고 stdin으로 아무것도 파이프하지 않은 채 `-p`/`--print`를 전달하면 어디에서나 같은 오류가 발생합니다.
3882 3918
3883```text theme={null}3919```text theme={null}
3884Error: Input must be provided either through stdin or as a prompt argument when using --print3920Error: Input must be provided either through stdin or as a prompt argument when using --print
3891 3927
3892### Claude Code can't read the keyboard here3928### Claude Code can't read the keyboard here
3893 3929
3894[대화형 세션](https://code.claude.com/docs/ko/interactive-mode.md)을 시작하는 [`-p`](https://code.claude.com/docs/ko/headless) 없이 `claude`를 실행했지만, 표준 입력이 터미널이 아닙니다. 무언가가 파이프로 연결하거나 리디렉션했거나, `claude`를 실행한 프로그램이 자체 입력 스트림을 제공했습니다.3930[`-p`](https://code.claude.com/docs/ko/headless) 없이 `claude`를 실행하여 [대화형 세션](https://code.claude.com/docs/ko/interactive-mode.md)이 시작되었지만, 표준 입력이 터미널이 아닙니다. 무언가가 입력을 파이프하거나 리디렉션했거나, `claude`를 실행한 프로그램이 자체 입력 스트림을 제공했습니다.
3895 3931
3896대화형 세션은 키 입력을 읽을 터미널이 필요하며, 터미널이 없을 때 Claude Code의 동작은 플랫폼에 따라 다릅니다:3932대화형 세션에는 키 입력을 읽어 올 터미널이 필요하며, 터미널이 없을 때 Claude Code의 동작은 플랫폼에 따라 다릅니다:
3897 3933
3898* **Windows**: Claude Code는 인터페이스를 시작하지 않고 메시지를 stderr에 출력한 후 종료 코드 1로 종료됩니다3934* **Windows**: Claude Code는 인터페이스를 시작하는 대신 메시지를 stderr에 출력하고 코드 1로 종료합니다
3899* **macOS 및 Linux**: Claude Code는 `/dev/tty`에서 키 입력을 읽고 세션을 시작하며, 파이프된 텍스트가 있으면 첫 번째 프롬프트로 사용합니다. `/dev/tty`를 열 수 없으면 메시지가 표시되며, 첫 번째 줄에는 Windows 문구 대신 `/dev/tty`가 표시됩니다.3935* **macOS 및 Linux**: Claude Code는 `/dev/tty`에서 키 입력을 읽어 세션을 시작하며, 파이프된 텍스트는 첫 번째 프롬프트가 됩니다. 이 메시지는 `/dev/tty`를 열 수 없을 때 표시되며, 첫 줄에는 Windows 문구 대신 `/dev/tty`가 언급됩니다.
3900 3936
3901Windows에서 메시지는 다음과 같습니다:3937Windows에서는 메시지가 다음과 같습니다:
3902 3938
3903```text theme={null}3939```text theme={null}
3904Claude Code can't read the keyboard here: stdin is not a terminal (it is piped, redirected, or supplied by the program that launched claude), and on Windows it can't fall back to the console for input yet.3940Claude Code can't read the keyboard here: stdin is not a terminal (it is piped, redirected, or supplied by the program that launched claude), and on Windows it can't fall back to the console for input yet.
3908 3944
3909**해결 방법:**3945**해결 방법:**
3910 3946
3911* 대화형으로 작업하려면 입력을 파이프하거나 리디렉션하지 않고 터미널에서 `claude`를 직접 실행합니다3947* 대화형으로 작업하려면 입력을 파이프하거나 리디렉션하지 말고 터미널에서 `claude`를 직접 실행합니다
3912* 스크립트 등에서 대화형 인터페이스 없이 답변을 받으려면 `-p`를 추가하고 `claude -p "your question"` 또는 `echo "your question" | claude -p`처럼 프롬프트를 인수로 또는 stdin으로 전달합니다. `--continue` 및 `--resume <session-id>`에서도 같은 방식이 동작합니다.3948* 스크립트 등에서 대화형 인터페이스 없이 응답을 받으려면 `-p`를 추가하고 `claude -p "your question"` 또는 `echo "your question" | claude -p`처럼 프롬프트를 인수로 전달하거나 stdin으로 전달합니다. `--continue` 및 `--resume <session-id>`에서도 동일하게 작동합니다.
3913 3949
3914v2.1.287 이전에는 Claude Code가 이 메시지를 출력하는 대신 인터페이스를 시작한 다음, 화면에 아무것도 표시하지 않거나 `Raw mode is not supported`를 포함하는 오류로 실패했습니다.3950v2.1.287 이전에는 Claude Code가 이 메시지를 출력하는 대신 인터페이스를 시작한 뒤, 화면에 아무것도 표시하지 않거나 `Raw mode is not supported`를 포함한 오류와 함께 실패했습니다.
3915 3951
3916대신 `claude install` 중에 `Raw mode is not supported`가 표시되면 [설치 중 `Raw mode is not supported`](https://code.claude.com/docs/ko/troubleshoot-install#raw-mode-is-not-supported-during-install)를 참조하세요.3952대신 `claude install` 중에 `Raw mode is not supported`가 표시된다면 [설치 중 `Raw mode is not supported`](https://code.claude.com/docs/ko/troubleshoot-install#raw-mode-is-not-supported-during-install)를 참조하세요.
3917 3953
3918### Input contained only whitespace3954### Input contained only whitespace
3919 3955
3920[비대화형 모드](https://code.claude.com/docs/ko/headless.md)에서 Claude Code는 공백, 탭 또는 줄 바꿈으로만 이루어진 프롬프트를 전송하지 않고 거부합니다. API가 보이는 텍스트가 없는 메시지를 거부하기 때문입니다. 표시되는 메시지는 빈 프롬프트가 어디에서 왔는지에 따라 다릅니다.3956[비대화형 모드](https://code.claude.com/docs/ko/headless.md)에서 Claude Code는 공백, 탭 또는 줄 바꿈으로만 이루어진 프롬프트를 전송하지 않고 거부합니다. API가 보이는 텍스트가 없는 메시지를 거부하기 때문입니다. 표시되는 메시지는 빈 프롬프트가 어디에서 왔는지에 따라 다릅니다:
3921 3957
3922* **`claude -p`의 프롬프트 인수 또는 파이프된 stdin**: `claude`가 `Error: Input contained only whitespace. Provide a prompt with text through stdin or as a prompt argument when using --print` 메시지와 함께 종료됩니다3958* **`claude -p`의 프롬프트 인수 또는 파이프된 stdin**: `claude`가 `Error: Input contained only whitespace. Provide a prompt with text through stdin or as a prompt argument when using --print`와 함께 종료됩니다
3923* **실행 중인 `--input-format stream-json` 또는 [Agent SDK](https://code.claude.com/docs/ko/agent-sdk/overview.md) 세션에 제출된 메시지**: Claude Code는 모델을 호출하지 않고 턴을 종료하며, 세션은 계속 사용할 수 있습니다. 거부 내용은 정보 메시지와 해당 턴의 결과 텍스트로 전달됩니다: `Blank prompt — the message was only whitespace, so nothing was sent to the model.`3959* **실행 중인 `--input-format stream-json` 또는 [Agent SDK](https://code.claude.com/docs/ko/agent-sdk/overview.md) 세션에 제출된 메시지**: Claude Code는 모델을 호출하지 않고 턴을 종료하며 세션은 계속 사용할 수 있습니다. 거부 내용은 정보 메시지와 턴의 결과 텍스트로 전달됩니다: `Blank prompt — the message was only whitespace, so nothing was sent to the model.`
3924 3960
3925v2.1.229 이전에는 Claude Code가 공백만 있는 메시지를 API로 전송했고, API는 400 오류로 요청을 거부했습니다.3961v2.1.229 이전에는 Claude Code가 공백만 있는 메시지를 API로 전송했고, API는 400 오류로 요청을 거부했습니다.
3926 3962
3927**해결 방법:**3963**해결 방법:**
3928 3964
3929* 프롬프트에 보이는 텍스트를 포함합니다. 스크립트가 변수나 파일로 프롬프트를 구성하는 경우, Claude Code를 호출하기 전에 원본이 비어 있지 않은지 확인합니다.3965* 프롬프트에 보이는 텍스트를 포함합니다. 스크립트가 변수나 파일에서 프롬프트를 구성한다면 Claude Code를 호출하기 전에 소스가 비어 있지 않은지 확인합니다.
3930 3966
3931### stream-json input carried over 256M characters with no newline3967### stream-json input carried over 256M characters with no newline
3932 3968
3933프로그램이 `claude -p --input-format stream-json` 실행에 줄 바꿈 없이 268,435,456자를 초과하는 문자를 stdin으로 보냈기 때문에, Claude Code는 입력을 더 버퍼링하는 대신 이 오류를 stderr에 출력하고 코드 1로 종료합니다. 메시지에서는 이 한도를 `256M`으로 표시합니다. v2.1.257 이전에는 Claude Code가 이러한 입력을 제한 없이 버퍼링했기 때문에, 프로세스가 충돌하거나 강제 종료될 때까지 메모리 사용량이 계속 증가했습니다.3969프로그램이 `claude -p --input-format stream-json` 실행에 줄 바꿈 없이 268,435,456자를 초과하는 데이터를 stdin으로 보냈기 때문에, Claude Code는 더 많은 입력을 버퍼링하는 대신 이 오류를 stderr에 출력하고 코드 1로 종료합니다. 메시지에서는 이 한도를 `256M`으로 표시합니다. v2.1.257 이전에는 Claude Code가 이러한 입력을 제한 없이 버퍼링하여 프로세스가 충돌하거나 강제 종료될 때까지 메모리 사용량이 증가했습니다.
3934 3970
3935```text theme={null}3971```text theme={null}
3936Error: stream-json input carried over 256M characters with no newline. Each stream-json message must be a single newline-terminated JSON line: either the producer is not newline-terminating its messages, or one message exceeded this budget.3972Error: stream-json input carried over 256M characters with no newline. Each stream-json message must be a single newline-terminated JSON line: either the producer is not newline-terminating its messages, or one message exceeded this budget.
3937```3973```
3938 3974
3939줄 바꿈 없이 이렇게 긴 입력은 대개 입력을 생성하는 쪽이 애초에 stream-json 생성기가 아니라는 뜻입니다. 예를 들어 실수로 파이프된 바이너리 파일이나 일반 로그 출력이 이에 해당합니다. 한도를 초과하는 단일 메시지도 같은 검사에서 실패합니다.3975줄 바꿈 없이 이렇게 긴 입력은 대개 생산자가 애초에 stream-json 생산자가 아니라는 뜻입니다. 예를 들어 바이너리 파일이나 일반 로그 출력이 실수로 파이프된 경우입니다. 한도를 초과하는 단일 메시지도 같은 검사에서 실패합니다.
3940 3976
3941**해결 방법:**3977**해결 방법:**
3942 3978
3943* stdin으로 무엇이 파이프되는지 확인합니다. [`--input-format stream-json`](https://code.claude.com/docs/ko/cli-reference#cli-flags)을 사용할 때는 모든 메시지가 줄 바꿈으로 끝나는 한 줄의 JSON이어야 합니다3979* stdin으로 무엇이 파이프되는지 확인합니다. [`--input-format stream-json`](https://code.claude.com/docs/ko/cli-reference#cli-flags)을 사용할 때는 모든 메시지가 줄 바꿈으로 끝나는 하나의 JSON 줄이어야 합니다
3944* 대신 일반 텍스트를 보내려면 `--input-format stream-json`을 제거합니다. `claude -p`는 기본적으로 stdin에서 일반 텍스트 프롬프트를 읽습니다3980* 대신 일반 텍스트를 보내려면 `--input-format stream-json`을 제거합니다. `claude -p`는 기본적으로 stdin에서 일반 텍스트 프롬프트를 읽습니다
3945 3981
3946### Unknown command3982### Unknown command
3947 3983
3948대화형 터미널 세션에서 이 세션의 어떤 명령과도 일치하지 않는 `/` 이름을 제출했기 때문에, Claude Code는 아무것도 실행하지 않고 해당 이름을 보고합니다.3984대화형 터미널 세션에서 이 세션의 어떤 명령과도 일치하지 않는 `/` 이름을 제출했기 때문에, Claude Code는 아무것도 실행하지 않고 해당 이름을 알려 줍니다:
3949 3985
3950```text theme={null}3986```text theme={null}
3951Unknown command: /hepl. Did you mean /help?3987Unknown command: /hepl. Did you mean /help?
3952```3988```
3953 3989
3954Claude Code는 이 세션의 메뉴에 나열된 명령 이름이나 별칭 중 가장 가까운 것을 제안합니다. 가까운 것이 없으면 메시지는 이름 뒤에서 끝납니다. 원인은 대개 다음 중 하나입니다.3990Claude Code는 이 세션의 메뉴에 나열된 명령 이름이나 별칭 중 가장 가까운 것을 제안합니다. 가까운 것이 없으면 메시지는 이름 뒤에서 끝납니다. 원인은 대개 다음 중 하나입니다:
3955 3991
3956* `/help` 대신 `/hepl`처럼 입력한 오타. 제출하기 전에 가까운 항목을 선택하는 방법은 [명령 메뉴가 입력한 내용과 일치시키는 방식](https://code.claude.com/docs/ko/commands.md#how-the-command-menu-matches-what-you-type)에서 다룹니다3992* `/help`를 `/hepl`로 입력한 것과 같은 오타. [명령 메뉴가 입력 내용과 일치시키는 방식](https://code.claude.com/docs/ko/commands.md#how-the-command-menu-matches-what-you-type)에서 제출 전에 가까운 일치 항목을 선택하는 방법을 다룹니다
3957* 존재하지만 플랫폼, 요금제 또는 인증 방법 등의 요구 사항이 충족되지 않아 이 세션에서 사용할 수 없는 명령. [`/web-setup`](https://code.claude.com/docs/ko/web-quickstart#web-setup-shows-no-commands-match-or-unknown-command), [`/schedule`](https://code.claude.com/docs/ko/routines#schedule-returns-unknown-command) 또는 [`/auto-mode-setup`](https://code.claude.com/docs/ko/auto-mode-config#auto-mode-setup-returns-unknown-command) 항목을 참조하세요. 일부 명령은 조직의 정책으로 비활성화된 경우 [`Cloud sessions are disabled by your organization's policy`](#cloud-sessions-are-disabled-by-your-organizations-policy)처럼 자체 메시지로 응답합니다3993* 존재하지만 플랫폼, 요금제 또는 인증 방법 같은 요구 사항이 충족되지 않아 이 세션에서 사용할 수 없는 명령. [`/web-setup`](https://code.claude.com/docs/ko/web-quickstart#web-setup-shows-no-commands-match-or-unknown-command), [`/schedule`](https://code.claude.com/docs/ko/routines#schedule-returns-unknown-command) 또는 [`/auto-mode-setup`](https://code.claude.com/docs/ko/auto-mode-config#auto-mode-setup-returns-unknown-command) 항목을 참조하세요. 일부 명령은 조직 정책으로 비활성화된 경우 [`Cloud sessions are disabled by your organization's policy`](#cloud-sessions-are-disabled-by-your-organizations-policy)처럼 자체 메시지로 응답합니다
3958* 이 세션에 설치되거나 연결되지 않은 [플러그인](https://code.claude.com/docs/ko/plugins/overview.md) 또는 [MCP 서버](https://code.claude.com/docs/ko/mcp.md#use-mcp-prompts-as-commands)의 명령3994* 이 세션에 설치되지 않았거나 연결되지 않은 [플러그인](https://code.claude.com/docs/ko/plugins/overview.md) 또는 [MCP 서버](https://code.claude.com/docs/ko/mcp.md#use-mcp-prompts-as-commands)의 명령
3959 3995
3960Claude Code는 대화형 터미널 세션에서만 일치하지 않는 `/` 이름에 이런 방식으로 응답합니다. 그 외의 모든 세션에서는 명령이 실행되지 않았다는 안내와 해당 세션에서 Claude가 실행할 수 있는 명령 목록을 덧붙여, 프롬프트를 일반 메시지로 Claude에게 보냅니다. 이러한 세션은 다음과 같습니다.3996Claude Code는 대화형 터미널 세션에서만 일치하지 않는 `/` 이름에 이런 방식으로 응답합니다. 그 밖의 모든 세션에서는 명령이 실행되지 않았다는 안내와 세션에서 Claude가 실행할 수 있는 명령 목록과 함께 프롬프트를 일반 메시지로 Claude에 보냅니다. 해당 세션은 다음과 같습니다:
3961 3997
3962* `-p` 실행3998* `-p` 실행
3963* [Agent SDK](https://code.claude.com/docs/ko/agent-sdk/overview.md) 애플리케이션3999* [Agent SDK](https://code.claude.com/docs/ko/agent-sdk/overview.md) 애플리케이션
3965* [VS Code 확장 프로그램](https://code.claude.com/docs/ko/vs-code.md)의 채팅 패널4001* [VS Code 확장 프로그램](https://code.claude.com/docs/ko/vs-code.md)의 채팅 패널
3966* [클라우드 세션](https://code.claude.com/docs/ko/claude-code-on-the-web.md) 및 [클라우드 예약 작업](https://code.claude.com/docs/ko/routines.md)4002* [클라우드 세션](https://code.claude.com/docs/ko/claude-code-on-the-web.md) 및 [클라우드 예약 작업](https://code.claude.com/docs/ko/routines.md)
3967 4003
3968이러한 세션 중 하나에서 실행할 수 없는 기본 제공 명령의 경우, Claude Code는 여전히 명령을 Claude에게 보내지 않고 해당 명령을 사용할 수 없다고 응답합니다. v2.1.274 이전에는 클라우드 세션과 클라우드 예약 작업만 일치하지 않는 이름을 Claude에게 보냈습니다. v2.1.273 이전에는 이들도 `Unknown command`로 응답했습니다.4004이러한 세션 중 하나에서 실행할 수 없는 기본 제공 명령의 경우, Claude Code는 Claude에 보내는 대신 여전히 해당 명령을 사용할 수 없다고 응답합니다. v2.1.274 이전에는 클라우드 세션과 클라우드 예약 작업만 일치하지 않는 이름을 Claude에 보냈습니다. v2.1.273 이전에는 이들도 `Unknown command`로 응답했습니다.
3969 4005
3970Claude Code는 `/`로 시작하는 모든 프롬프트를 명령으로 취급하지는 않습니다. `/` 뒤의 첫 단어가 Lean 문서 주석을 여는 `/--`처럼 구두점으로 시작하거나 `/var/log/syslog` 같은 경로인 경우, 프롬프트를 일반 메시지로 Claude에게 보냅니다.4006Claude Code는 `/`로 시작하는 모든 프롬프트를 명령으로 취급하지는 않습니다. `/` 뒤의 첫 단어가 Lean 문서 주석을 여는 `/--`처럼 문장 부호로 시작하거나 `/var/log/syslog` 같은 경로인 경우, 프롬프트를 일반 메시지로 Claude에 보냅니다.
3971 4007
3972v2.1.236 이전에는 입력한 이름과 비슷한 항목이 명령 메뉴에 나열된 상태에서 `Enter`를 누르면 Claude Code가 그 항목을 실행했기 때문에, `/hepl` 같은 오타는 이 메시지를 표시하는 대신 `/help`를 실행했습니다.4008v2.1.236 이전에는 명령 메뉴에 입력한 이름과 가까운 항목이 나열된 상태에서 `Enter`를 누르면 Claude Code가 해당 항목을 실행했기 때문에, `/hepl` 같은 오타는 이 메시지를 표시하는 대신 `/help`를 실행했습니다.
3973 4009
3974**해결 방법:**4010**해결 방법:**
3975 4011
3976* 제안된 이름을 실행하거나, `/` 뒤에 이름의 일부를 입력하여 이 세션에서 사용할 수 있는 명령을 확인합니다4012* 제안된 이름을 실행하거나, `/` 다음에 이름의 일부를 입력하여 이 세션에서 사용할 수 있는 명령을 확인합니다
3977* 문서에 있는 명령을 Claude Code가 알 수 없는 명령으로 보고하는 경우, [명령 레퍼런스](https://code.claude.com/docs/ko/commands.md)에서 해당 명령의 행에 명시된 요구 사항을 확인합니다4013* Claude Code가 문서화된 명령을 알 수 없다고 보고하면 [명령 레퍼런스](https://code.claude.com/docs/ko/commands.md)에서 해당 행에 명시된 요구 사항을 확인합니다
3978 4014
3979### Diff is too large for ultrareview4015### Diff is too large for ultrareview
3980 4016
3981커밋되지 않은 변경 사항과 스테이징된 변경 사항을 포함한 현재 브랜치와 기본 브랜치 간의 diff가 [ultrareview](https://code.claude.com/docs/ko/ultrareview.md)의 크기 제한을 초과하므로, `/code-review ultra`와 `claude ultrareview` 하위 명령은 클라우드 세션이 시작되기 전에 리뷰를 거부합니다. 거부된 리뷰는 무료 실행 횟수를 사용하지 않으며 사용량 크레딧도 청구되지 않습니다. 메시지에는 적용 중인 제한, diff의 크기, 변경된 줄이 가장 많은 파일이 표시됩니다. v2.1.216 이전에는 메시지에 원시 diff 통계만 표시되었습니다.4017커밋되지 않은 변경 사항과 스테이징된 변경 사항을 포함하여 브랜치와 기본 브랜치 사이의 diff가 [ultrareview](https://code.claude.com/docs/ko/ultrareview.md)의 크기 제한을 초과하므로, `/code-review ultra`와 `claude ultrareview` 하위 명령은 클라우드 세션이 시작되기 전에 리뷰를 거부합니다. 거부된 리뷰는 무료 실행 횟수를 사용하지 않으며 사용량 크레딧도 청구되지 않습니다. 메시지에는 적용 중인 제한, diff의 크기, 변경된 줄이 가장 많은 파일이 표시됩니다. v2.1.216 이전에는 메시지에 원시 diff 통계만 표시되었습니다.
3982 4018
3983```text theme={null}4019```text theme={null}
3984Diff is too large for ultrareview: 812 files, 96,410 lines changed (limits: 500 files, 8,000 lines). Largest files: package-lock.json (41,904 lines), dist/bundle.js (18,210 lines), src/generated/api.ts (9,876 lines). Pass a closer base branch (`/code-review ultra <branch>`) to narrow the scope, or split the change.4020Diff is too large for ultrareview: 812 files, 96,410 lines changed (limits: 500 files, 8,000 lines). Largest files: package-lock.json (41,904 lines), dist/bundle.js (18,210 lines), src/generated/api.ts (9,876 lines). Pass a closer base branch (`/code-review ultra <branch>`) to narrow the scope, or split the change.
3985```4021```
3986 4022
3987풀 리퀘스트를 리뷰할 때도 같은 제한이 적용됩니다. 이 경우 메시지는 `PR #<N> is too large for ultrareview`로 시작하며 PR의 파일 수와 줄 수를 표시합니다.4023풀 리퀘스트를 리뷰할 때도 동일한 제한이 적용됩니다. 이 경우 메시지는 `PR #<N> is too large for ultrareview`로 시작하며 PR의 파일 수와 줄 수를 표시합니다.
3988 4024
3989**해결 방법:**4025**해결 방법:**
3990 4026
3991* `/code-review ultra develop`처럼 작업에 더 가까운 기본 브랜치를 전달하여, 리뷰가 해당 브랜치에 대한 diff만 다루도록 합니다4027* `/code-review ultra develop`처럼 작업에 더 가까운 기본 브랜치를 전달하여 해당 브랜치와의 diff만 리뷰하도록 합니다
3992* 변경 사항을 더 작은 브랜치로 나누고 각각 리뷰합니다. 메시지에 표시된 파일이 변경된 줄을 가장 많이 차지하므로, 먼저 해당 파일들을 별도의 브랜치로 옮깁니다.4028* 변경 사항을 더 작은 브랜치로 나누고 각각 리뷰합니다. 메시지에 표시된 파일이 변경된 줄을 가장 많이 차지하므로, 먼저 해당 파일들을 별도의 브랜치로 옮깁니다.
3993 4029
3994### Could not find merge-base with the base branch4030### Could not find merge-base with the base branch
3995 4031
3996`/code-review ultra`와 `claude ultrareview` 하위 명령은 현재 브랜치와 기본 브랜치 간의 diff를 리뷰하며, 이를 위해서는 두 브랜치가 공유하는 커밋이 필요합니다. `git merge-base`가 공유 커밋을 찾지 못하면 Claude Code는 클라우드 세션이 시작되기 전에 리뷰를 거부합니다. Claude Code가 완전한 클론임을 확인할 수 있고 브랜치가 하나 이상 있는 경우에는 거부하는 대신 [추적 중인 모든 파일을 리뷰](https://code.claude.com/docs/ko/ultrareview.md#diff-limits-and-fallbacks)하는 방식으로 대체합니다. 이 거부는 기본 브랜치를 전혀 찾을 수 없을 때, Claude Code가 클론이 완전한지 확인할 수 없을 때, 또는 SHA-256 객체 형식처럼 전체 트리 diff가 불가능한 드문 저장소에서 표시됩니다.4032`/code-review ultra`와 `claude ultrareview` 하위 명령은 브랜치와 기본 브랜치 사이의 diff를 리뷰하며, 이를 위해서는 두 브랜치가 공유하는 커밋이 필요합니다. `git merge-base`가 공유 커밋을 찾지 못하면 Claude Code는 클라우드 세션이 시작되기 전에 리뷰를 거부합니다. Claude Code가 완전함을 확인할 수 있고 브랜치가 하나 이상 있는 클론에서는 거부하는 대신 [추적되는 모든 파일을 리뷰](https://code.claude.com/docs/ko/ultrareview.md#diff-limits-and-fallbacks)하는 방식으로 대체합니다. 이 거부는 기본 브랜치를 전혀 찾을 수 없는 경우, Claude Code가 클론이 완전한지 확인할 수 없는 경우, 또는 SHA-256 객체 형식처럼 전체 트리 diff가 불가능한 드문 저장소에서 표시됩니다.
3997 4033
3998```text theme={null}4034```text theme={null}
3999Could not find merge-base with main. Pass the base branch explicitly (e.g. `/code-review ultra develop`) or make sure you're in a git repo with a main branch.4035Could not find merge-base with main. Pass the base branch explicitly (e.g. `/code-review ultra develop`) or make sure you're in a git repo with a main branch.
4000```4036```
4001 4037
4002첫 문장 뒤의 힌트는 Claude Code가 확인한 상황에 따라 달라집니다.4038첫 문장 뒤의 힌트는 Claude Code가 확인한 내용에 따라 달라집니다:
4003 4039
4004* **기본 브랜치를 전달하지 않은 경우**: Claude Code는 저장소의 기본 브랜치와 비교했으며, 위 예시처럼 기본 브랜치를 명시적으로 전달하도록 제안합니다4040* **기본 브랜치를 전달하지 않은 경우**: Claude Code는 저장소의 기본 브랜치와 비교했으며, 위 예시처럼 기본 브랜치를 명시적으로 전달하도록 제안합니다
4005* **클론에 이미 있던 기본 브랜치를 전달한 경우**: 힌트는 ``Make sure <branch> exists locally or on origin (try `git fetch origin <branch>`)``입니다4041* **이미 클론에 있던 기본 브랜치를 전달한 경우**: 힌트는 ``Make sure <branch> exists locally or on origin (try `git fetch origin <branch>`)``입니다
4006* **클론에 없던 기본 브랜치를 전달한 경우**: Claude Code는 비교하기 전에 origin에서 해당 브랜치를 가져왔습니다. 힌트는 ``<branch> was fetched from origin but shares no history with HEAD. If another branch is your real base, pass it explicitly (`/code-review ultra <branch>`)``이며, Claude Code가 클론이 얕은(shallow) 클론인지 판단할 수 없으면 대신 `git fetch --unshallow origin`을 제안합니다. v2.1.221 이전에는 가져온 모든 기본 브랜치에 대해 힌트가 `git fetch --unshallow origin`을 제안했으며, 완전한 클론에서는 이 명령이 `fatal: --unshallow on a complete repository does not make sense`와 함께 실패합니다.4042* **클론에 없던 기본 브랜치를 전달한 경우**: Claude Code는 비교 전에 origin에서 해당 브랜치를 가져왔습니다. 힌트는 ``<branch> was fetched from origin but shares no history with HEAD. If another branch is your real base, pass it explicitly (`/code-review ultra <branch>`)``입니다. Claude Code가 클론이 shallow 클론인지 판단할 수 없는 경우에는 대신 `git fetch --unshallow origin`을 제안합니다. v2.1.221 이전에는 가져온 모든 기본 브랜치에 대해 힌트가 `git fetch --unshallow origin`을 제안했으며, 완전한 클론에서는 이 명령이 `fatal: --unshallow on a complete repository does not make sense`와 함께 실패합니다.
4007 4043
4008**해결 방법:**4044**해결 방법:**
4009 4045
4012 4048
4013### Your checkout has no branches4049### Your checkout has no branches
4014 4050
4015체크아웃에는 커밋이 있지만 브랜치가 없을 수 있습니다. `git init`을 실행한 후 `git fetch <url>`과 `git checkout FETCH_HEAD`를 실행하면 ref가 없는 detached HEAD 상태가 됩니다. Claude Code는 [ultrareview](https://code.claude.com/docs/ko/ultrareview.md)를 위해 저장소를 업로드할 때 git 번들로 패키징하는데, 브랜치나 다른 ref가 없는 저장소는 번들로 만들 수 없으므로 `/code-review ultra`와 `claude ultrareview` 하위 명령은 클라우드 세션이 시작되기 전에 리뷰를 거부합니다.4051체크아웃에는 커밋이 있지만 브랜치가 없을 수 있습니다. `git init`을 실행한 뒤 `git fetch <url>`과 `git checkout FETCH_HEAD`를 실행하면 ref가 없는 detached HEAD 상태가 됩니다. Claude Code는 [ultrareview](https://code.claude.com/docs/ko/ultrareview.md)를 위해 저장소를 업로드할 때 git bundle로 패키징하는데, 브랜치나 다른 ref가 없는 저장소는 번들로 만들 수 없으므로 `/code-review ultra`와 `claude ultrareview` 하위 명령은 클라우드 세션이 시작되기 전에 리뷰를 거부합니다.
4016 4052
4017```text theme={null}4053```text theme={null}
4018Your checkout has no branches (detached HEAD only), which cloud review can't bundle. Create one first — `git checkout -b <name>` — then rerun /code-review ultra.4054Your checkout has no branches (detached HEAD only), which cloud review can't bundle. Create one first — `git checkout -b <name>` — then rerun /code-review ultra.
4019```4055```
4020 4056
4021v2.1.221 이전에는 Claude Code가 이 체크아웃에서 추적 중인 모든 파일을 리뷰하려고 시도했고, 업로드가 실패했습니다.4057v2.1.221 이전에는 Claude Code가 이 체크아웃에서 추적되는 모든 파일을 리뷰하려고 시도했고 업로드가 실패했습니다.
4022 4058
4023**해결 방법:**4059**해결 방법:**
4024 4060
4026 4062
4027### No GitHub account is connected to your Claude account4063### No GitHub account is connected to your Claude account
4028 4064
4029`/code-review ultra <PR#>` 또는 `claude ultrareview <PR#>`을 실행하면, Claude Code는 클라우드 세션을 만들기 전에 [Claude 계정에 연결된 GitHub 계정](https://code.claude.com/docs/ko/ultrareview.md#review-a-pull-request)이 PR의 저장소에 접근할 수 있는지 서버에 확인합니다. 연결된 계정이 없거나 연결이 만료되어 클라우드 클론이 실패할 것이므로 Claude Code가 실행을 거부합니다. 거부된 실행에 대해서는 무료 실행 횟수를 사용하거나 사용량 크레딧을 청구하지 않습니다.4065`/code-review ultra <PR#>` 또는 `claude ultrareview <PR#>`를 실행하면 Claude Code는 클라우드 세션을 만들기 전에 [Claude 계정에 연결된 GitHub 계정](https://code.claude.com/docs/ko/ultrareview.md#review-a-pull-request)이 PR의 저장소에 접근할 수 있는지 서버에 확인합니다. 연결된 계정이 없거나 연결이 만료되어 클라우드 클론이 실패할 것이므로 Claude Code는 실행을 거부합니다. 거부된 실행에 대해 Claude Code는 무료 실행 횟수를 사용하거나 사용량 크레딧을 청구하지 않습니다.
4030 4066
4031```text theme={null}4067```text theme={null}
4032Ultrareview clones <owner>/<repo> in the cloud with the GitHub account connected to your Claude account, and none is connected (or the connection expired). To fix: run /web-setup to reuse your GitHub CLI login, or connect an account at https://claude.ai/connect-github — then re-run /code-review ultra 1234 (allow a minute after connecting).4068Ultrareview clones <owner>/<repo> in the cloud with the GitHub account connected to your Claude account, and none is connected (or the connection expired). To fix: run /web-setup to reuse your GitHub CLI login, or connect an account at https://claude.ai/connect-github — then re-run /code-review ultra 1234 (allow a minute after connecting).
4033```4069```
4034 4070
4035세션에서 [`/web-setup`](https://code.claude.com/docs/ko/web-quickstart#connect-from-your-terminal)을 사용할 수 없는 경우, 메시지에는 claude.ai 링크만 표시됩니다.4071세션에서 [`/web-setup`](https://code.claude.com/docs/ko/web-quickstart#connect-from-your-terminal)을 사용할 수 없는 경우 메시지에는 claude.ai 링크만 표시됩니다.
4036 4072
4037**해결 방법:**4073**해결 방법:**
4038 4074
4039* `/web-setup`을 실행하여 GitHub CLI 로그인을 Claude 계정에 연결하거나, [claude.ai/connect-github](https://claude.ai/connect-github)에서 계정을 연결합니다4075* `/web-setup`을 실행하여 GitHub CLI 로그인을 Claude 계정에 연결하거나, [claude.ai/connect-github](https://claude.ai/connect-github)에서 계정을 연결합니다
4040* 연결하고 1분 정도 지난 후 리뷰를 다시 실행합니다4076* 연결 후 1분 정도 지나서 리뷰를 다시 실행합니다
4041 4077
4042v2.1.248 이전에는 Claude Code가 실행 전에 이를 확인하지 않았습니다.4078v2.1.248 이전에는 Claude Code가 실행 전에 이를 확인하지 않았습니다.
4043 4079
4044### Your connected GitHub account can't see the repository4080### Your connected GitHub account can't see the repository
4045 4081
4046`/code-review ultra <PR#>` 또는 `claude ultrareview <PR#>`을 실행했지만 [Claude 계정에 연결된 GitHub 계정](https://code.claude.com/docs/ko/ultrareview.md#review-a-pull-request)이 PR의 저장소를 읽을 수 없어 클라우드 클론이 실패할 것이므로 Claude Code가 실행을 거부합니다. 거부된 실행에 대해서는 무료 실행 횟수를 사용하거나 사용량 크레딧을 청구하지 않습니다.4082`/code-review ultra <PR#>` 또는 `claude ultrareview <PR#>`를 실행했지만 [Claude 계정에 연결된 GitHub 계정](https://code.claude.com/docs/ko/ultrareview.md#review-a-pull-request)이 PR의 저장소를 읽을 수 없어 클라우드 클론이 실패할 것이므로 Claude Code는 실행을 거부합니다. 거부된 실행에 대해 Claude Code는 무료 실행 횟수를 사용하거나 사용량 크레딧을 청구하지 않습니다.
4047 4083
4048```text theme={null}4084```text theme={null}
4049Your connected GitHub account can't see <owner>/<repo> — usually the Claude GitHub app isn't installed on <owner> or wasn't granted this repo (web-connected accounts need it for private repos), or a different GitHub account is connected. To fix: run /web-setup to reuse your GitHub CLI login, or install the app at https://github.com/apps/claude/installations/new — then re-run /code-review ultra 1234.4085Your connected GitHub account can't see <owner>/<repo> — usually the Claude GitHub app isn't installed on <owner> or wasn't granted this repo (web-connected accounts need it for private repos), or a different GitHub account is connected. To fix: run /web-setup to reuse your GitHub CLI login, or install the app at https://github.com/apps/claude/installations/new — then re-run /code-review ultra 1234.
4050```4086```
4051 4087
4052세션에서 [`/web-setup`](https://code.claude.com/docs/ko/web-quickstart#connect-from-your-terminal)을 사용할 수 없는 경우, 메시지에는 앱 설치 안내만 표시됩니다.4088세션에서 [`/web-setup`](https://code.claude.com/docs/ko/web-quickstart#connect-from-your-terminal)을 사용할 수 없는 경우 메시지에는 앱 설치 안내만 표시됩니다.
4053 4089
4054**해결 방법:**4090**해결 방법:**
4055 4091
4056* 로컬 `gh` CLI가 저장소를 읽을 수 있다면 `/web-setup`을 실행하여 해당 로그인을 Claude 계정에 연결합니다4092* 로컬 `gh` CLI가 저장소를 읽을 수 있다면 `/web-setup`을 실행하여 해당 로그인을 Claude 계정에 연결합니다
4057* 변경한 후 리뷰를 다시 실행합니다4093* 변경 후 리뷰를 다시 실행합니다
4058 4094
4059v2.1.248 이전에는 Claude Code가 실행 전에 이를 확인하지 않았습니다.4095v2.1.248 이전에는 Claude Code가 실행 전에 이를 확인하지 않았습니다.
4060 4096
4061### The GitHub App preflight failed transiently4097### The GitHub App preflight failed transiently
4062 4098
4063로컬 저장소에서 [클라우드 세션](https://code.claude.com/docs/ko/claude-code-on-the-web.md)을 시작했는데 두 단계가 함께 실패했습니다. Claude Code가 저장소의 번들을 빌드하거나 업로드하지 못했습니다. 업로드 전에 Claude Code는 클라우드 서비스가 GitHub에서 저장소를 클론할 수 있는지 확인했는데, 이 확인이 명확한 결과 대신 네트워크 오류, 시간 초과, 일시적인 서버 오류처럼 재시도하면 해결될 수 있는 오류로 끝났습니다. 전체 메시지는 `Could not upload repo bundle (<error>)`처럼 번들을 중단시킨 원인으로 시작하고 사전 확인에 관한 문장으로 끝납니다.4099로컬 저장소에서 [클라우드 세션](https://code.claude.com/docs/ko/claude-code-on-the-web.md)을 시작했는데 두 단계가 함께 실패했습니다. Claude Code가 저장소의 번들을 빌드하거나 업로드하지 못했습니다. 업로드 전에 Claude Code는 클라우드 서비스가 GitHub에서 저장소를 클론할 수 있는지 확인했는데, 이 확인은 명확한 답 대신 네트워크 오류, 시간 초과 또는 일시적인 서버 오류처럼 재시도로 해결될 수 있는 오류로 끝났습니다. 전체 메시지는 `Could not upload repo bundle (<error>)`처럼 번들을 중단시킨 원인으로 시작하고 사전 확인 문장으로 끝납니다:
4064 4100
4065```text theme={null}4101```text theme={null}
4066Could not upload repo bundle (<error>). The GitHub App preflight failed transiently (network or service hiccup) — retry in a moment to start from GitHub instead4102Could not upload repo bundle (<error>). The GitHub App preflight failed transiently (network or service hiccup) — retry in a moment to start from GitHub instead
4068 4104
4069**해결 방법:**4105**해결 방법:**
4070 4106
4071* 잠시 후 명령을 다시 실행합니다. GitHub 확인을 통과하면 Claude Code가 GitHub 클론에서 세션을 시작할 수 있으므로, 실패한 업로드가 더 이상 실행을 막지 않습니다4107* 잠시 후 명령을 다시 실행합니다. GitHub 확인이 통과하면 Claude Code는 GitHub 클론에서 세션을 시작할 수 있으므로, 실패한 업로드가 더 이상 실행을 막지 않습니다
4072* 재시도해도 계속 실패한다면 메시지의 앞부분에 업로드를 중단시킨 원인이 표시됩니다. 그 원인이 해결할 수 있는 것이라면 해결하여 세션이 로컬 저장소에서 시작될 수 있도록 합니다4108* 재시도가 계속 실패하면 메시지 앞부분에 업로드를 중단시킨 원인이 표시됩니다. 그 원인이 직접 해결할 수 있는 것이라면 해결하여 세션이 로컬 저장소에서 시작될 수 있도록 합니다
4073 4109
4074v2.1.251 이전에는 GitHub 확인이 일시적으로만 실패한 경우에도 Claude Code가 메시지를 `Please set up GitHub on https://claude.ai/code`로 끝냈으며, 설정 안내로는 일시적인 실패를 해결할 수 없습니다.4110v2.1.251 이전에는 GitHub 확인이 일시적으로만 실패한 경우에도 Claude Code가 메시지를 `Please set up GitHub on https://claude.ai/code`로 끝냈으며, 설정 안내로는 일시적인 실패를 해결할 수 없습니다.
4075 4111
4076### 저장소 업로드가 git 설정을 따를 수 없음4112### 저장소 업로드가 git 설정을 따를 수 없는 경우
4077 4113
4078[로컬 저장소를 업로드하는 클라우드 세션](https://code.claude.com/docs/ko/claude-code-on-the-web.md#send-local-repositories-without-github) 또는 브랜치의 [ultrareview](https://code.claude.com/docs/ko/ultrareview.md)를 시작했는데, 업로드가 파일에 적용될 attribute 규칙을 결정하는 git 설정 중 하나를 따를 수 없습니다. 업로드를 진행하면서 규칙을 놓치면, clean 필터가 암호화하는 파일처럼 git이 저장하기 전에 변환하는 파일이 디스크에 있는 그대로 클라우드에 전송될 수 있습니다. 따라서 Claude Code는 업로드를 거부하며, 아무것도 업로드되지 않습니다.4114[로컬 저장소를 업로드하는 클라우드 세션](https://code.claude.com/docs/ko/claude-code-on-the-web.md#send-local-repositories-without-github) 또는 브랜치의 [ultrareview](https://code.claude.com/docs/ko/ultrareview.md)를 시작했는데, 업로드가 파일에 적용되는 attribute 규칙을 결정하는 git 설정 중 하나를 따를 수 없습니다. 업로드가 그대로 진행되어 규칙을 놓치면, clean 필터가 암호화하는 파일처럼 git이 저장 전에 변환하는 파일이 디스크에 있는 그대로 클라우드에 전송될 수 있습니다. 따라서 Claude Code는 업로드를 거부하며 아무것도 업로드되지 않습니다:
4079 4115
4080```text theme={null}4116```text theme={null}
4081Not uploading this working tree: core.ignoreCase (which decides whether .gitattributes patterns match file names regardless of letter case) is set in <file>, and the upload cannot follow that setting, so a file git would change before storing it (to encrypt it, for example) could be uploaded as it is on disk. Move the core.ignoreCase line into this repository’s .git/config or directly into your ~/.gitconfig, then retry.4117Not uploading this working tree: core.ignoreCase (which decides whether .gitattributes patterns match file names regardless of letter case) is set in <file>, and the upload cannot follow that setting, so a file git would change before storing it (to encrypt it, for example) could be uploaded as it is on disk. Move the core.ignoreCase line into this repository’s .git/config or directly into your ~/.gitconfig, then retry.
4082```4118```
4083 4119
4084메시지에는 해당 설정과 설정된 위치가 표시되며, 발생한 경우에 맞는 해결 방법으로 끝납니다. `core.attributesFile`과 `attr.tree`에 대해서도 각각의 해결 방법과 함께 같은 거부가 표시됩니다.4120메시지는 해당 설정과 설정된 위치를 표시하고, 해당 경우에 맞는 해결 방법으로 끝납니다. `core.attributesFile`과 `attr.tree`에 대해서도 각각의 해결 방법과 함께 동일한 거부가 표시됩니다.
4085 4121
4086메시지에 표시되는 설정 파일은 git 구성이 `include` 또는 `includeIf` 지시문으로 가져오는 파일일 수 있으며, 해당 지시문의 조건이 이 저장소에 적용되지 않는 경우에도 마찬가지입니다.4122메시지에는 git 구성이 `include` 또는 `includeIf` 지시문을 통해 불러오는 설정 파일이 표시될 수 있으며, 해당 지시문의 조건이 이 저장소에 적용되지 않는 경우에도 마찬가지입니다.
4087 4123
4088**해결 방법:**4124**해결 방법:**
4089 4125
4091 4127
4092### GitHub isn't connected to your Claude account4128### GitHub isn't connected to your Claude account
4093 4129
4094예를 들어 `/autofix-pr`로 로컬 저장소에서 [클라우드 세션](https://code.claude.com/docs/ko/claude-code-on-the-web.md)을 시작했습니다. Claude 계정에 연결된 GitHub 계정이 없거나 연결이 만료되었으므로 Claude Code가 실행을 거부합니다.4130`/autofix-pr` 등으로 로컬 저장소에서 [클라우드 세션](https://code.claude.com/docs/ko/claude-code-on-the-web.md)을 시작했습니다. Claude 계정에 연결된 GitHub 계정이 없거나 연결이 만료되어 Claude Code가 실행을 거부합니다:
4095 4131
4096```text theme={null}4132```text theme={null}
4097GitHub isn't connected to your Claude account, so this repository can't be cloned in the cloud. Run /web-setup to connect with your GitHub CLI login, or connect on the web at https://claude.ai/connect-github4133GitHub isn't connected to your Claude account, so this repository can't be cloned in the cloud. Run /web-setup to connect with your GitHub CLI login, or connect on the web at https://claude.ai/connect-github
4098```4134```
4099 4135
4100[`/schedule`](https://code.claude.com/docs/ko/routines)로 클라우드 예약 작업을 만들 때는 같은 메시지가 저장소 이름을 포함한 설정 안내로 표시되며, 이 안내는 작업 생성을 막지 않습니다.4136[`/schedule`](https://code.claude.com/docs/ko/routines)로 클라우드 예약 작업을 만들 때는 동일한 메시지가 저장소 이름과 함께 설정 안내로 표시되며, 이 안내는 작업 생성을 막지 않습니다.
4101 4137
4102**해결 방법:**4138**해결 방법:**
4103 4139
4104* `/web-setup`을 실행하여 GitHub CLI 로그인을 Claude 계정에 연결하거나, [claude.ai/connect-github](https://claude.ai/connect-github)에서 계정을 연결합니다. 두 방법의 차이는 [GitHub 인증 옵션](https://code.claude.com/docs/ko/claude-code-on-the-web.md#github-authentication-options)을 참조하세요.4140* `/web-setup`을 실행하여 GitHub CLI 로그인을 Claude 계정에 연결하거나, [claude.ai/connect-github](https://claude.ai/connect-github)에서 계정을 연결합니다. 두 방법의 차이는 [GitHub 인증 옵션](https://code.claude.com/docs/ko/claude-code-on-the-web.md#github-authentication-options)을 참조하세요.
4105* 연결하고 1분 정도 지난 후 명령을 다시 실행합니다4141* 연결 후 1분 정도 지나서 명령을 다시 실행합니다
4106 4142
4107v2.1.268 이전에는 Claude Code가 이를 Claude GitHub App 확인의 일시적인 실패로 보고하고 재시도하거나 앱을 설치하도록 제안했지만, 어느 쪽도 GitHub 계정을 연결하지 않습니다.4143v2.1.268 이전에는 Claude Code가 이를 Claude GitHub App 확인의 일시적인 실패로 보고하고 재시도하거나 앱을 설치하도록 제안했지만, 두 방법 모두 GitHub 계정을 연결하지 않습니다.
4108 4144
4109### GitHub 조직 정책이 Claude를 차단함4145### GitHub 조직 정책이 Claude를 차단하는 경우
4110 4146
4111Claude Code 프롬프트에서 [`/autofix-pr`](https://code.claude.com/docs/ko/claude-code-on-the-web#auto-fix-pull-requests)처럼 클라우드 세션을 시작하는 명령을 실행했습니다. Claude Code는 세션을 만들기 전에 GitHub에서 Claude의 저장소 접근 권한을 확인하는데, GitHub 조직에 Claude를 차단하는 정책이 있어 GitHub가 이를 거부했습니다. Claude Code는 여기서 중단하고 해당 정책을 명시한 메시지를 표시합니다.4147Claude Code 프롬프트에서 [`/autofix-pr`](https://code.claude.com/docs/ko/claude-code-on-the-web#auto-fix-pull-requests)처럼 클라우드 세션을 시작하는 명령을 실행했습니다. Claude Code는 세션을 만들기 전에 GitHub에서 Claude의 저장소 접근 권한을 확인하는데, GitHub 조직에 Claude를 차단하는 정책이 있어 GitHub가 거부했습니다. Claude Code는 그 지점에서 중단하고 해당 정책을 명시한 메시지를 표시합니다.
4112 4148
4113IP 허용 목록이 접근을 차단하는 경우 메시지는 다음과 같습니다.4149IP 허용 목록이 접근을 차단하는 경우 메시지는 다음과 같습니다:
4114 4150
4115```text theme={null}4151```text theme={null}
4116Your GitHub organization has an IP allowlist that is blocking Claude. Add Claude's IP ranges to your GitHub allowlist.4152Your GitHub organization has an IP allowlist that is blocking Claude. Add Claude's IP ranges to your GitHub allowlist.
4117```4153```
4118 4154
4119싱글 사인온이 차단하는 경우 메시지는 다음과 같습니다.4155싱글 사인온이 차단하는 경우 메시지는 다음과 같습니다:
4120 4156
4121```text theme={null}4157```text theme={null}
4122Your GitHub organization requires single sign-on. Disconnect and reconnect GitHub on the Connectors page in Claude on the web, click Authorize next to your organization when GitHub asks, then try again.4158Your GitHub organization requires single sign-on. Disconnect and reconnect GitHub on the Connectors page in Claude on the web, click Authorize next to your organization when GitHub asks, then try again.
4123```4159```
4124 4160
4125Microsoft Entra ID 조건부 액세스 정책이 차단하는 경우 메시지는 다음과 같습니다.4161Microsoft Entra ID 조건부 액세스 정책이 차단하는 경우 메시지는 다음과 같습니다:
4126 4162
4127```text theme={null}4163```text theme={null}
4128Your GitHub organization's identity provider (Microsoft Entra ID) has a Conditional Access policy that is blocking Claude. Ask your GitHub Enterprise or Entra ID admin to allow Claude in that policy.4164Your GitHub organization's identity provider (Microsoft Entra ID) has a Conditional Access policy that is blocking Claude. Ask your GitHub Enterprise or Entra ID admin to allow Claude in that policy.
4133* **IP 허용 목록**: GitHub 조직 또는 엔터프라이즈의 소유자에게 Anthropic의 아웃바운드 IP 주소를 허용하도록 요청합니다. 주소와 변경할 GitHub 설정은 [GitHub 허용 목록 및 방화벽](https://code.claude.com/docs/ko/network-config.md#github-allow-lists-and-firewalls)을 참조하세요.4169* **IP 허용 목록**: GitHub 조직 또는 엔터프라이즈의 소유자에게 Anthropic의 아웃바운드 IP 주소를 허용하도록 요청합니다. 주소와 변경할 GitHub 설정은 [GitHub 허용 목록 및 방화벽](https://code.claude.com/docs/ko/network-config.md#github-allow-lists-and-firewalls)을 참조하세요.
4134* **싱글 사인온**: [claude.ai/customize/connectors](https://claude.ai/customize/connectors)에서 GitHub 연결을 해제한 다음 다시 연결합니다. GitHub가 요청하면 조직 옆의 **Authorize**를 클릭하여 새 연결이 해당 조직의 싱글 사인온에 대해 인가되도록 합니다.4170* **싱글 사인온**: [claude.ai/customize/connectors](https://claude.ai/customize/connectors)에서 GitHub 연결을 해제한 다음 다시 연결합니다. GitHub가 요청하면 조직 옆의 **Authorize**를 클릭하여 새 연결이 해당 조직의 싱글 사인온에 대해 인가되도록 합니다.
4135* **조건부 액세스 정책**: GitHub Enterprise 또는 Microsoft Entra ID 관리자에게 해당 정책에서 Claude를 허용하도록 요청합니다4171* **조건부 액세스 정책**: GitHub Enterprise 또는 Microsoft Entra ID 관리자에게 해당 정책에서 Claude를 허용하도록 요청합니다
4136* 변경한 후 명령을 다시 실행합니다4172* 변경 후 명령을 다시 실행합니다
4137 4173
4138### Single sign-on authorization needed4174### Single sign-on authorization needed
4139 4175
4140[`/install-github-app`](https://code.claude.com/docs/ko/github-actions#quick-setup)을 실행하고 SAML 싱글 사인온을 적용하는 조직의 저장소를 선택했습니다. 설정 전에 Claude Code는 GitHub CLI로 저장소 접근 권한을 확인하는데, `gh` 토큰이 아직 해당 조직에 대해 인가되지 않았기 때문에 GitHub가 이 확인을 거부했습니다. 마법사는 인가 절차와 함께 다음 경고를 표시합니다.4176[`/install-github-app`](https://code.claude.com/docs/ko/github-actions#quick-setup)을 실행하고 SAML 싱글 사인온을 적용하는 조직의 저장소를 선택했습니다. 설정 전에 Claude Code는 GitHub CLI로 저장소 접근 권한을 확인하는데, `gh` 토큰이 아직 해당 조직에 대해 인가되지 않았기 때문에 GitHub가 확인을 거부했습니다. 마법사는 인가 단계와 함께 경고를 표시합니다:
4141 4177
4142```text theme={null}4178```text theme={null}
4143Single sign-on authorization needed4179Single sign-on authorization needed
4147**해결 방법:**4183**해결 방법:**
4148 4184
4149* `gh auth refresh -h github.com -s repo,workflow`를 실행하여 `repo` 및 `workflow` 범위로 GitHub CLI 로그인을 다시 인가하고, GitHub가 싱글 사인온을 요청하면 조직을 인가합니다4185* `gh auth refresh -h github.com -s repo,workflow`를 실행하여 `repo` 및 `workflow` 범위로 GitHub CLI 로그인을 다시 인가하고, GitHub가 싱글 사인온을 요청하면 조직을 인가합니다
4150* `GH_TOKEN`에 개인 액세스 토큰을 사용해 인증하는 경우, [github.com/settings/tokens](https://github.com/settings/tokens)를 열고 해당 토큰에서 **Configure SSO**를 선택한 다음 조직을 인가합니다4186* `GH_TOKEN`에 개인 액세스 토큰을 사용하여 인증하는 경우 [github.com/settings/tokens](https://github.com/settings/tokens)를 열고 토큰에서 **Configure SSO**를 선택한 다음 조직을 인가합니다
4151* `/install-github-app`을 다시 실행합니다4187* `/install-github-app`을 다시 실행합니다
4152 4188
4153v2.1.273 이전에는 이 상황에서 Claude Code가 대신 `Admin permissions required` 경고를 표시했습니다.4189v2.1.273 이전에는 Claude Code가 이 상황에서 대신 `Admin permissions required` 경고를 표시했습니다.
4154 4190
4155### Failed to resume the conversation4191### Failed to resume the conversation
4156 4192
4157Claude Code가 [`claude --resume` 선택기](https://code.claude.com/docs/ko/sessions#use-the-session-picker)에서 선택한 세션의 저장된 트랜스크립트를 읽거나 처리할 수 없으므로, 부분적으로 로드된 상태로 계속하는 대신 프로세스를 종료합니다. 메시지에는 재시도할 명령이 포함됩니다.4193Claude Code가 [`claude --resume` 선택기](https://code.claude.com/docs/ko/sessions#use-the-session-picker)에서 선택한 세션의 저장된 트랜스크립트를 읽거나 처리할 수 없어, 부분적으로 로드된 상태로 계속하지 않고 프로세스를 종료합니다. 메시지에는 재시도할 명령이 포함됩니다:
4158 4194
4159```text theme={null}4195```text theme={null}
4160Failed to resume the conversation.4196Failed to resume the conversation.
4161Run claude --resume <session-id> to retry, or claude to start a new session.4197Run claude --resume <session-id> to retry, or claude to start a new session.
4162```4198```
4163 4199
4164Claude Code는 메시지를 표시한 후 코드 1로 종료합니다. 실행 중인 세션 내부의 `/resume` 선택기에서는 대신 대화에 `Failed to resume conversation`이 표시되며, 현재 세션은 계속 실행됩니다. v2.1.216 이전에는 `claude --resume` 선택기에서 재개에 실패하면 이 메시지를 표시하는 대신 `Resuming conversation…` 스피너가 무한히 표시되었습니다.4200Claude Code는 메시지를 표시한 후 코드 1로 종료합니다. 실행 중인 세션 내의 `/resume` 선택기는 대신 대화에 `Failed to resume conversation`을 표시하며, 현재 세션은 계속 실행됩니다. v2.1.216 이전에는 `claude --resume` 선택기에서 재개에 실패하면 이 메시지를 표시하는 대신 `Resuming conversation…` 스피너에 무기한 머물렀습니다.
4165 4201
4166**해결 방법:**4202**해결 방법:**
4167 4203
4171 4207
4172### No conversation found with the session ID4208### No conversation found with the session ID
4173 4209
4174`claude --resume <session-id>`에 세션 ID를 전달했지만 일치하는 저장된 트랜스크립트가 없습니다.4210`claude --resume <session-id>`에 세션 ID를 전달했지만 일치하는 저장된 트랜스크립트가 없습니다:
4175 4211
4176```text theme={null}4212```text theme={null}
4177No conversation found with session ID: <session-id>4213No conversation found with session ID: <session-id>
4178```4214```
4179 4215
4180Claude Code는 메시지를 표시한 후 코드 1로 종료합니다. Claude Code는 [현재 프로젝트를 먼저 검색한 다음, 이 머신의 다른 모든 프로젝트](https://code.claude.com/docs/ko/sessions.md#where-the-session-picker-looks)에서 해당 ID를 검색합니다. v2.1.223 이전에는 현재 프로젝트 디렉터리와 그 git worktree까지만 검색했으므로, 세션이 마지막으로 작업한 디렉터리에서 재개해야 했습니다.4216Claude Code는 메시지를 표시한 후 코드 1로 종료합니다. Claude Code는 ID를 찾기 위해 [현재 프로젝트를 먼저 검색한 다음 이 머신의 다른 모든 프로젝트를 검색](https://code.claude.com/docs/ko/sessions.md#where-the-session-picker-looks)합니다. v2.1.223 이전에는 검색이 현재 프로젝트 디렉터리와 해당 git worktree에서 멈췄으므로, 세션이 마지막으로 작업한 디렉터리에서 재개해야 했습니다.
4181 4217
4182일반적인 원인:4218일반적인 원인:
4183 4219
4184* **잘못 입력한 ID**: 비대화형 실행의 경우 ID는 [`--output-format json` 출력](https://code.claude.com/docs/ko/headless#get-structured-output)의 `session_id` 필드입니다4220* **잘못 입력한 ID**: 비대화형 실행의 경우 ID는 [`--output-format json` 출력](https://code.claude.com/docs/ko/headless#get-structured-output)의 `session_id` 필드입니다
4185* **삭제된 트랜스크립트**: Claude Code는 [보존 정리 규칙](https://code.claude.com/docs/ko/claude-directory.md#cleaned-up-automatically)에 따라 [보존 기간](https://code.claude.com/docs/ko/sessions.md#where-transcripts-are-stored)(기본값 30일)이 지난 트랜스크립트를 제거합니다4221* **삭제된 트랜스크립트**: Claude Code는 [보존 정리 규칙](https://code.claude.com/docs/ko/claude-directory.md#cleaned-up-automatically)에 따라 [보존 기간](https://code.claude.com/docs/ko/sessions.md#where-transcripts-are-stored)(기본값 30일)이 지나면 트랜스크립트를 삭제합니다
4186* **다른 머신**: Claude Code는 트랜스크립트를 로컬에 저장하므로, 세션이 실행된 머신에서 재개해야 합니다4222* **다른 머신**: Claude Code는 트랜스크립트를 로컬에 저장하므로, 세션이 실행된 머신에서 재개해야 합니다
4187* **중복 사본**: `~/.claude/projects` 아래의 프로젝트 디렉터리를 복사하여 두 트랜스크립트가 같은 ID를 갖게 된 경우, Claude Code는 임의로 한 사본을 재개하는 대신 이 메시지를 표시합니다4223* **중복 복사본**: `~/.claude/projects` 아래의 프로젝트 디렉터리를 복사하여 두 트랜스크립트가 같은 ID를 갖게 되면, Claude Code는 임의로 한 복사본을 재개하지 않고 이 메시지를 표시합니다
4188 4224
4189**해결 방법:**4225**해결 방법:**
4190 4226
4191* 대화형 세션의 경우 `claude --resume`으로 [세션 선택기](https://code.claude.com/docs/ko/sessions.md#use-the-session-picker)를 열고 `Ctrl+A`를 눌러 이 머신의 모든 프로젝트로 범위를 넓힌 다음 세션을 선택합니다4227* 대화형 세션의 경우 `claude --resume`으로 [세션 선택기](https://code.claude.com/docs/ko/sessions.md#use-the-session-picker)를 열고 `Ctrl+A`를 눌러 이 머신의 모든 프로젝트로 범위를 넓힌 다음 세션을 선택합니다
4192* `claude -p` 또는 [Agent SDK](https://code.claude.com/docs/ko/agent-sdk/overview.md)로 만든 세션은 선택기에 나타나지 않으므로, 원래 실행에서 출력된 `session_id`와 ID를 다시 대조합니다4228* `claude -p` 또는 [Agent SDK](https://code.claude.com/docs/ko/agent-sdk/overview.md)로 만든 세션은 선택기에 표시되지 않으므로, 원래 실행에서 출력된 `session_id`와 ID를 다시 대조합니다
4193 4229
4194### Windows reported an error (EBADF) when Claude Code read this session's transcript file4230### Windows reported an error (EBADF) when Claude Code read this session's transcript file
4195 4231
4196Windows에서 세션을 재개했는데, 저장된 [트랜스크립트 파일](https://code.claude.com/docs/ko/sessions.md#where-transcripts-are-stored)은 정상적으로 열렸지만 이후 읽기가 시스템 오류 EBADF로 실패했습니다. 시스템 오류만으로는 읽기가 실패한 이유를 알 수 없으므로, 메시지는 가능성 있는 원인과 시도해 볼 방법을 제안합니다.4232Windows에서 세션을 재개했는데, 저장된 [트랜스크립트 파일](https://code.claude.com/docs/ko/sessions.md#where-transcripts-are-stored)이 정상적으로 열린 후 읽기가 시스템 오류 EBADF로 실패했습니다. 시스템 오류는 읽기가 실패한 이유를 알려 주지 않으므로, 메시지에서 가능한 원인과 시도할 방법을 제안합니다:
4197 4233
4198```text theme={null}4234```text theme={null}
4199Windows reported an error (EBADF) when Claude Code read this session's transcript file, although the file had opened normally. This can happen when other software intercepts file reads — security, encryption or endpoint-management tools, for example. If it keeps happening for this conversation, try excluding the folder that holds Claude Code's session transcripts from such software (the .claude folder in your user profile, unless the app or CLAUDE_CONFIG_DIR points Claude Code elsewhere), or adding Claude Code to its allowed applications, then resume again.4235Windows reported an error (EBADF) when Claude Code read this session's transcript file, although the file had opened normally. This can happen when other software intercepts file reads — security, encryption or endpoint-management tools, for example. If it keeps happening for this conversation, try excluding the folder that holds Claude Code's session transcripts from such software (the .claude folder in your user profile, unless the app or CLAUDE_CONFIG_DIR points Claude Code elsewhere), or adding Claude Code to its allowed applications, then resume again.
4200```4236```
4201 4237
4202이 메시지는 `Failed to resume session <session-id>`처럼 명령 자체의 실패 줄 다음에 표시됩니다. `claude --resume` 또는 [`claude -p`](https://code.claude.com/docs/ko/headless) 명령은 메시지를 표시한 후 코드 1로 종료합니다. 세션 내부에서 `/resume`을 실행한 경우에는 현재 세션이 계속 실행됩니다.4238이 메시지는 `Failed to resume session <session-id>`처럼 명령 자체의 실패 줄 뒤에 표시됩니다. `claude --resume` 또는 [`claude -p`](https://code.claude.com/docs/ko/headless) 명령은 메시지를 표시한 후 코드 1로 종료합니다. 세션 내에서 `/resume`을 실행한 경우에는 현재 세션이 계속 실행됩니다.
4203 4239
4204**해결 방법:**4240**해결 방법:**
4205 4241
4206* 보안, 암호화, 엔드포인트 관리 도구처럼 파일 읽기를 검사하거나 가로채는 소프트웨어에서 세션 트랜스크립트가 있는 폴더를 제외합니다. 트랜스크립트는 기본적으로 `%USERPROFILE%\.claude\projects` 아래에 있으며, [`CLAUDE_CONFIG_DIR`](https://code.claude.com/docs/ko/env-vars)이 지정된 경우 해당 디렉터리 아래에 있습니다4242* 보안, 암호화 또는 엔드포인트 관리 도구처럼 파일 읽기를 검사하거나 가로채는 소프트웨어에서 세션 트랜스크립트가 있는 폴더를 제외합니다. 트랜스크립트는 기본적으로 `%USERPROFILE%\.claude\projects` 아래에 있으며, [`CLAUDE_CONFIG_DIR`](https://code.claude.com/docs/ko/env-vars)이 지정한 경우 해당 디렉터리 아래에 있습니다
4207* 제외 항목을 추가할 수 없다면 대신 해당 소프트웨어의 허용된 애플리케이션에 Claude Code를 추가합니다4243* 제외 항목을 추가할 수 없다면 대신 해당 소프트웨어의 허용된 애플리케이션에 Claude Code를 추가합니다
4208* 세션을 다시 재개합니다4244* 세션을 다시 재개합니다
4209 4245
4210v2.1.282 이전에는 실패에 대한 설명이 없었습니다. `claude --resume <session-id>`는 `Failed to resume session <session-id>`에서 끝났고, `-p` 실행은 `Failed to resume session: EBADF: bad file descriptor, read`처럼 시스템 오류 텍스트만 출력했습니다.4246v2.1.282 이전에는 실패에 설명이 없었습니다. `claude --resume <session-id>`는 `Failed to resume session <session-id>`에서 끝났고, `-p` 실행은 `Failed to resume session: EBADF: bad file descriptor, read`처럼 시스템 오류 텍스트만 출력했습니다.
4211 4247
4212### Cannot switch renderers in this session4248### Cannot switch renderers in this session
4213 4249
4214렌더러를 전환하면 Claude Code가 프로세스를 다시 시작합니다. Claude Code가 다시 시작하지 않기로 한 세션에서 [`/tui`](https://code.claude.com/docs/ko/fullscreen#enable-fullscreen-rendering)를 실행했으므로, 전환하지 않고 아무것도 저장하지 않습니다. 표시되는 메시지로 원인을 알 수 있습니다.4250렌더러를 전환하면 Claude Code가 프로세스를 재시작합니다. Claude Code가 재시작을 거부하는 세션에서 [`/tui`](https://code.claude.com/docs/ko/fullscreen#enable-fullscreen-rendering)를 실행했으므로, 전환하지 않고 아무것도 저장하지 않습니다. 표시되는 메시지로 원인을 알 수 있습니다:
4215 4251
4216* `Cannot switch renderers while work is running in the background`: 백그라운드 셸이나 서브에이전트처럼 다시 시작하면 중단될 백그라운드 작업이 실행 중입니다. 작업이 끝날 때까지 기다리거나 [`/tasks`](https://code.claude.com/docs/ko/commands)로 작업을 중지한 다음 `/tui fullscreen` 또는 `/tui default`를 다시 실행합니다4252* `Cannot switch renderers while work is running in the background`: 백그라운드 셸이나 서브에이전트처럼 재시작 시 중단될 백그라운드 작업이 실행 중입니다. 작업이 끝날 때까지 기다리거나 [`/tasks`](https://code.claude.com/docs/ko/commands)로 중지한 다음 `/tui fullscreen` 또는 `/tui default`를 다시 실행합니다
4217* `Cannot switch renderers in this session`: 세션에 Claude Code가 다시 시작된 프로세스로 전달할 수 없는 제한이 있습니다. v2.1.234 이전에는 Claude Code가 그래도 다시 시작했고, 다시 실행된 세션은 해당 제한 없이 실행되었습니다4253* `Cannot switch renderers in this session`: 세션에 Claude Code가 재시작된 프로세스로 전달할 수 없는 제한이 있습니다. v2.1.234 이전에는 Claude Code가 그래도 재시작했고, 다시 시작된 세션은 해당 제한 없이 실행되었습니다
4218 4254
4219제한 관련 메시지에서 괄호 안의 부분은 Claude Code가 발견한 제한을 나타냅니다.4255제한 메시지에서 괄호 안의 부분은 Claude Code가 발견한 제한을 나타냅니다:
4220 4256
4221```text theme={null}4257```text theme={null}
4222Cannot switch renderers in this session — it has restrictions a restart can't carry over (permission rules set for this session only). Nothing was changed. Running /tui fullscreen in a session started without them switches every later session too.4258Cannot switch renderers in this session — it has restrictions a restart can't carry over (permission rules set for this session only). Nothing was changed. Running /tui fullscreen in a session started without them switches every later session too.
4223```4259```
4224 4260
4225메시지의 괄호 안에 표시될 수 있는 각 이유는 다음과 같습니다.4261메시지의 괄호 안에 표시될 수 있는 각 사유는 다음과 같습니다:
4226 4262
4227* `launch flags: a custom system prompt, a tool allowlist, or restricted settings`: Claude Code가 다시 시작된 프로세스로 전달하지 않는 플래그로 세션을 시작했습니다. 이러한 플래그에는 [`--system-prompt`](https://code.claude.com/docs/ko/cli-reference#cli-flags), `--system-prompt-file`, `--append-system-prompt-file`, [`--tools`](https://code.claude.com/docs/ko/cli-reference#cli-flags) 허용 목록, [`--setting-sources`](https://code.claude.com/docs/ko/cli-reference#cli-flags), [`--permission-prompt-tool`](https://code.claude.com/docs/ko/cli-reference#cli-flags)이 포함됩니다4263* `launch flags: a custom system prompt, a tool allowlist, or restricted settings`: Claude Code가 재시작된 프로세스로 다시 전달하지 않는 플래그로 세션을 시작했습니다. 이러한 플래그에는 [`--system-prompt`](https://code.claude.com/docs/ko/cli-reference#cli-flags), `--system-prompt-file`, `--append-system-prompt-file`, [`--tools`](https://code.claude.com/docs/ko/cli-reference#cli-flags) 허용 목록, [`--setting-sources`](https://code.claude.com/docs/ko/cli-reference#cli-flags), [`--permission-prompt-tool`](https://code.claude.com/docs/ko/cli-reference#cli-flags)이 포함됩니다
4228* `permission rules set for this session only`: 훅 또는 SDK 호출자의 [권한 업데이트](https://code.claude.com/docs/ko/hooks.md#permission-update-entries)가 `session` 대상으로 거부 또는 확인 규칙을 추가했습니다. 세션 범위의 허용 규칙은 거부를 유발하지 않습니다. 다시 시작하면 허용 규칙은 삭제되고, Claude Code가 대신 다시 확인을 요청합니다4264* `permission rules set for this session only`: 훅 또는 SDK 호출자의 [권한 업데이트](https://code.claude.com/docs/ko/hooks.md#permission-update-entries)가 `session` 대상으로 거부 또는 확인 규칙을 추가했습니다. 세션 범위의 허용 규칙은 거부를 유발하지 않습니다. 재시작하면 해당 규칙이 삭제되며, Claude Code가 대신 다시 확인을 요청합니다
4229* `ask-before-running rules with no command-line form`: 훅 또는 SDK 호출자의 권한 업데이트가 Claude Code가 `--allowed-tools` 및 `--disallowed-tools`로 다시 전달하는 규칙과 함께 확인 규칙을 추가했습니다. 확인 규칙에 해당하는 플래그는 없습니다4265* `ask-before-running rules with no command-line form`: 훅 또는 SDK 호출자의 권한 업데이트가 Claude Code가 `--allowed-tools` 및 `--disallowed-tools`로 다시 전달하는 규칙과 함께 확인 규칙을 추가했습니다. 확인 규칙에 해당하는 플래그는 없습니다
4230* `permission rules a command line cannot carry intact` 및 `added directories a command line cannot carry intact`: 권한 업데이트가 세션 도중에 규칙 또는 디렉터리 경로를 추가했습니다. 다시 시작된 프로세스의 명령줄은 해당 텍스트를 동일한 값으로 전달할 수 없습니다4266* `permission rules a command line cannot carry intact` 및 `added directories a command line cannot carry intact`: 권한 업데이트가 세션 도중에 규칙이나 디렉터리 경로를 추가했습니다. 재시작된 프로세스의 명령줄은 해당 텍스트를 같은 값으로 전달할 수 없습니다
4231 4267
4232**해결 방법:**4268**해결 방법:**
4233 4269
4235 4271
4236### Can't restart while work is running or Remote Control is connected4272### Can't restart while work is running or Remote Control is connected
4237 4273
4238Claude Code가 다시 시작되지 않았으며, 세션은 그대로 계속 실행됩니다. 메시지에 있는 해결 방법을 따릅니다.4274Claude Code가 재시작하지 않았으며, 세션은 그대로 계속 실행됩니다. 메시지에 있는 해결 방법을 따르세요.
4239 4275
4240### Claude Code couldn't restart4276### Claude Code couldn't restart
4241 4277
4242이 메시지에 대화가 저장되었다고 표시되면, 대화는 디스크에 있으며 중단된 지점부터 이어서 진행할 수 있습니다. Claude Code가 예를 들어 [`/tui`](https://code.claude.com/docs/ko/fullscreen#enable-fullscreen-rendering) 실행 후 전체 화면 렌더링으로 전환하거나 전환을 해제하기 위해 스스로 다시 시작하던 중 새 프로세스를 시작하지 못해 상태 1로 종료했습니다.4278이 메시지에 대화가 저장되었다고 표시되면, 대화는 디스크에 있으며 중단된 지점부터 이어서 진행할 수 있습니다. Claude Code가 자체적으로 재시작하던 중, 예를 들어 [`/tui`](https://code.claude.com/docs/ko/fullscreen#enable-fullscreen-rendering)를 실행한 후 전체 화면 렌더링으로 전환하거나 전체 화면 렌더링에서 전환하던 중 새 프로세스를 시작할 수 없어 상태 1로 종료했습니다:
4243 4279
4244```text theme={null}4280```text theme={null}
4245Claude Code couldn't restart. Your conversation is saved. Start Claude Code again and run /resume to pick it up.4281Claude Code couldn't restart. Your conversation is saved. Start Claude Code again and run /resume to pick it up.
4246```4282```
4247 4283
4248예를 들어 `/tui`가 새 세션의 첫 입력이어서 다시 시작할 때 다시 열 대화가 없었던 경우, 메시지는 `Claude Code couldn't restart. Start Claude Code again.`입니다.4284`/tui`가 새 세션의 첫 입력이었던 경우처럼 재시작 시 다시 열 대화가 없었다면 메시지는 `Claude Code couldn't restart. Start Claude Code again.`입니다.
4249 4285
4250**해결 방법:**4286**해결 방법:**
4251 4287
4252* 셸에서 `claude`를 다시 실행합니다. 메시지에 대화가 저장되었다고 표시되었다면 새 세션에서 [`/resume`](https://code.claude.com/docs/ko/sessions#resume-a-session)을 실행하고 대화를 선택합니다. 목록에 없다면 [세션 선택기의 범위를 넓힙니다](https://code.claude.com/docs/ko/sessions.md#where-the-session-picker-looks)4288* 셸에서 `claude`를 다시 실행합니다. 메시지에 대화가 저장되었다고 표시되었다면 새 세션에서 [`/resume`](https://code.claude.com/docs/ko/sessions#resume-a-session)을 실행하고 대화를 선택합니다. 목록에 없다면 [세션 선택기의 범위를 넓힙니다](https://code.claude.com/docs/ko/sessions.md#where-the-session-picker-looks)
4253* 다시 시작이 계속 실패하면 셸에서 [`claude --debug-file claude-debug.log`](https://code.claude.com/docs/ko/cli-reference#cli-flags)로 Claude Code를 시작합니다. 해당 세션에서 다시 시작이 실패하면, 시작한 디렉터리의 `claude-debug.log`에 운영 체제의 오류와 함께 `Failed to relaunch:` 줄이 기록됩니다. [문제를 보고](#report-an-error)할 때 해당 줄을 포함합니다4289* 재시작이 계속 실패하면 셸에서 [`claude --debug-file claude-debug.log`](https://code.claude.com/docs/ko/cli-reference#cli-flags)로 Claude Code를 시작합니다. 해당 세션에서 재시작이 실패하면, 시작한 디렉터리의 `claude-debug.log`에 운영 체제의 오류와 함께 `Failed to relaunch:` 줄이 기록됩니다. [문제를 보고](#report-an-error)할 때 해당 줄을 포함합니다
4254 4290
4255### Couldn't open Claude Desktop4291### Couldn't open Claude Desktop
4256 4292
4257세션에서 [`/desktop`](https://code.claude.com/docs/ko/desktop#coming-from-the-cli) 또는 그 별칭인 `/app`을 실행했거나 셸에서 [`claude --desktop`](https://code.claude.com/docs/ko/cli-reference#cli-flags)을 실행했는데, Claude Code가 Claude Desktop을 여는 데 사용하는 시스템 명령이 실패했습니다. `/desktop` 실행 후에는 세션이 터미널에 그대로 남으며, `claude --desktop`은 `Error:` 접두사 없이 메시지를 출력하고 상태 1로 종료합니다.4293세션에서 [`/desktop`](https://code.claude.com/docs/ko/desktop#coming-from-the-cli) 또는 그 별칭인 `/app`을 실행했거나 셸에서 [`claude --desktop`](https://code.claude.com/docs/ko/cli-reference#cli-flags)을 실행했는데, Claude Code가 Claude Desktop을 열기 위해 사용하는 시스템 명령이 실패했습니다. `/desktop` 이후에는 세션이 터미널에 그대로 남아 있으며, `claude --desktop`은 `Error:` 접두사 없이 메시지를 출력하고 상태 1로 종료합니다.
4258 4294
4259괄호 안의 텍스트는 실패한 명령을 나타내며, 종료 상태와 오류 출력의 첫 줄이 있는 경우 함께 표시됩니다. macOS에서는 이 예시처럼 해당 명령이 `open`이며, Windows에서는 `rundll32`입니다.4295괄호 안의 텍스트는 실패한 명령을 나타내며, 종료 상태와 오류 출력의 첫 줄이 있는 경우 함께 표시됩니다. macOS에서는 이 예시처럼 `open` 명령이며, Windows에서는 `rundll32`입니다:
4260 4296
4261```text theme={null}4297```text theme={null}
4262Error: Couldn't open Claude Desktop (`open` exited 1: LSOpenURLsWithRole() failed for the URL claude://resume?session=<session-id> with error -10814). Open Claude Desktop and try again.4298Error: Couldn't open Claude Desktop (`open` exited 1: LSOpenURLsWithRole() failed for the URL claude://resume?session=<session-id> with error -10814). Open Claude Desktop and try again.
4267* Claude Desktop을 직접 연 다음 `/desktop` 또는 `claude --desktop`을 다시 실행합니다4303* Claude Desktop을 직접 연 다음 `/desktop` 또는 `claude --desktop`을 다시 실행합니다
4268* 실패한 명령의 전체 오류 출력을 확인하려면 `/debug`로 디버그 로깅을 켜고 `/desktop`을 다시 실행하거나, `claude --desktop --debug-file <path>`를 실행한 다음 디버그 로그를 확인합니다4304* 실패한 명령의 전체 오류 출력을 확인하려면 `/debug`로 디버그 로깅을 켜고 `/desktop`을 다시 실행하거나, `claude --desktop --debug-file <path>`를 실행한 다음 디버그 로그를 확인합니다
4269 4305
4270v2.1.285 이전에는 메시지가 `Open Claude Desktop and run /desktop again.`으로 끝났습니다. v2.1.275 이전에는 메시지가 `Failed to open Claude Desktop. Please try opening it manually.`였으며 무엇이 실패했는지 알려주지 않았습니다.4306v2.1.285 이전에는 메시지가 `Open Claude Desktop and run /desktop again.`으로 끝났습니다. v2.1.275 이전에는 메시지가 `Failed to open Claude Desktop. Please try opening it manually.`였으며 무엇이 실패했는지 알려 주지 않았습니다.
4271 4307
4272### /terminal-setup이 Zed 키맵을 변경하지 않음4308### /terminal-setup이 Zed 키맵을 변경하지 않은 경우
4273 4309
4274Zed에서 [`/terminal-setup`](https://code.claude.com/docs/ko/terminal-config#enter-multiline-prompts)을 실행했는데, Claude Code가 Zed `keymap.json` 업데이트를 완료하지 못해 파일을 그대로 두었습니다.4310Zed에서 [`/terminal-setup`](https://code.claude.com/docs/ko/terminal-config#enter-multiline-prompts)을 실행했지만 Claude Code가 Zed `keymap.json` 업데이트를 완료할 수 없어 파일을 그대로 두었습니다.
4275 4311
4276각 메시지에는 키맵 경로가 표시되며, 직접 추가할 키보드 단축키 블록으로 끝납니다.4312각 메시지는 키맵 경로를 표시하고, 직접 추가할 키보드 단축키 블록으로 끝납니다:
4277 4313
4278```text theme={null}4314```text theme={null}
4279Couldn't update your Zed keymap, so it was left unchanged.4315Couldn't update your Zed keymap, so it was left unchanged.
4281{ "context": "Terminal", "bindings": { "shift-enter": ["terminal::SendText", "\u001b\r"] } }4317{ "context": "Terminal", "bindings": { "shift-enter": ["terminal::SendText", "\u001b\r"] } }
4282```4318```
4283 4319
4284메시지의 첫 줄은 원인을 나타냅니다.4320메시지의 첫 줄은 원인을 나타냅니다:
4285 4321
4286* `Couldn't read your Zed keymap, so it was left unchanged.`: 파일 권한 등의 이유로 Claude Code가 파일을 읽을 수 없었습니다4322* `Couldn't read your Zed keymap, so it was left unchanged.`: 파일 권한 등의 이유로 Claude Code가 파일을 읽을 수 없었습니다
4287* `Your Zed keymap isn't a readable list of keybindings, so it was left unchanged.`: 파일은 정상적으로 읽었지만, `//` 주석과 후행 쉼표를 허용하더라도 키보드 단축키 블록의 배열로 파싱되지 않습니다4323* `Your Zed keymap isn't a readable list of keybindings, so it was left unchanged.`: 파일은 정상적으로 읽었지만, `//` 주석과 후행 쉼표를 허용하더라도 키보드 단축키 블록의 배열로 파싱되지 않습니다
4288* `Couldn't back up your Zed keymap; not modifying it.`: Claude Code가 파일을 옆에 `.bak` 백업으로 복사할 수 없어 아무것도 변경하지 않았습니다4324* `Couldn't back up your Zed keymap; not modifying it.`: Claude Code가 파일을 옆에 있는 `.bak` 백업으로 복사할 수 없어 아무것도 변경하지 않았습니다
4289* `Couldn't update your Zed keymap, so it was left unchanged.`: 병합된 결과가 해당 단축키를 포함한 유효한 키맵으로 검증되지 않아, Claude Code가 쓰지 않고 폐기했습니다. 키가 중복된 키보드 단축키 블록이 원인일 수 있습니다4325* `Couldn't update your Zed keymap, so it was left unchanged.`: 병합된 결과가 해당 단축키를 포함하는 유효한 키맵으로 검증되지 않아, Claude Code가 파일에 쓰지 않고 결과를 폐기했습니다. 키가 중복된 키보드 단축키 블록이 원인일 수 있습니다
4290 4326
4291**해결 방법:**4327**해결 방법:**
4292 4328
4293* 메시지의 블록을 복사하여 메시지에 표시된 경로의 `keymap.json` 최상위 배열에 넣습니다4329* 메시지의 블록을 메시지에 표시된 경로에 있는 `keymap.json`의 최상위 배열에 복사합니다
4294* `isn't a readable list of keybindings`의 경우 구문 오류를 수정하거나 파일의 최상위 값을 배열로 만든 다음 `/terminal-setup`을 다시 실행합니다4330* `isn't a readable list of keybindings`의 경우 구문 오류를 수정하거나 파일의 최상위 값을 배열로 만든 다음 `/terminal-setup`을 다시 실행합니다
4295 4331
4296v2.1.247 이전에는 `/terminal-setup`이 `//` 주석이나 후행 쉼표를 사용하는 Zed 키맵을 파싱할 수 없었으며, 단축키가 설치되었다고 보고하면서 전체 파일을 자체 단축키만으로 교체했습니다. 이전 버전이 교체한 키맵을 복원하려면 [여러 줄 프롬프트 입력](https://code.claude.com/docs/ko/terminal-config.md#enter-multiline-prompts)에 설명된 `.bak` 백업 파일을 사용합니다.4332v2.1.247 이전에는 `/terminal-setup`이 `//` 주석이나 후행 쉼표를 사용하는 Zed 키맵을 파싱할 수 없었으며, 파일 전체를 자체 단축키만으로 교체하면서 단축키가 설치되었다고 보고했습니다. 이전 버전이 교체한 키맵을 복원하려면 [여러 줄 프롬프트 입력](https://code.claude.com/docs/ko/terminal-config.md#enter-multiline-prompts)에 설명된 `.bak` 백업 파일을 사용하세요.
4297 4333
4298### Skill usage reports are not available on this connection4334### Skill usage reports are not available on this connection
4299 4335
4300휴대폰이나 브라우저에서 [Remote Control](https://code.claude.com/docs/ko/remote-control.md)을 통해 [`/skill-doctor`](https://code.claude.com/docs/ko/skills#find-unused-skills)를 실행했습니다. Claude Code는 Remote Control을 통해 스킬 사용 보고서를 보내지 않으며, 대신 다음 메시지로 응답합니다.4336휴대폰이나 브라우저에서 [Remote Control](https://code.claude.com/docs/ko/remote-control.md)을 통해 [`/skill-doctor`](https://code.claude.com/docs/ko/skills#find-unused-skills)를 실행했습니다. Claude Code는 Remote Control을 통해 스킬 사용 보고서를 보내지 않으며, 대신 이 메시지로 응답합니다:
4301 4337
4302```text theme={null}4338```text theme={null}
4303Skill usage reports are not available on this connection.4339Skill usage reports are not available on this connection.
4305 4341
4306**해결 방법:**4342**해결 방법:**
4307 4343
4308* 세션이 실행 중인 머신의 터미널에서 `/skill-doctor`를 실행하거나, 해당 머신에서 `claude -p "/skill-doctor"`를 실행합니다4344* 세션이 실행 중인 머신의 터미널에서 `/skill-doctor`를 실행하거나, 그곳에서 `claude -p "/skill-doctor"`를 실행합니다
4309 4345
4310### Custom output styles can't be selected over Remote Control4346### Custom output styles can't be selected over Remote Control
4311 4347
4312[Remote Control](https://code.claude.com/docs/ko/remote-control.md)을 통해 모바일 앱이나 웹에서 [`/output-style`](https://code.claude.com/docs/ko/output-styles#change-your-output-style)을 실행했거나, 세션으로 릴레이된 메시지에 명령이 포함되어 있었습니다. 이러한 턴은 계정 소유자가 보낸 것이 아닐 수 있으므로, Claude Code는 해당 턴에서 [기본 제공 스타일](https://code.claude.com/docs/ko/output-styles.md#built-in-output-styles)만 나열하고 선택하며, 명령이 스타일을 나열하거나 지정한 이름을 인식하지 못할 때마다 이 안내를 덧붙입니다. [사용자 지정 스타일](https://code.claude.com/docs/ko/output-styles.md#create-a-custom-output-style) 이름에는 존재하지 않는 이름과 같은 응답이 표시됩니다.4348[Remote Control](https://code.claude.com/docs/ko/remote-control.md)을 통해 모바일 앱이나 웹에서 [`/output-style`](https://code.claude.com/docs/ko/output-styles#change-your-output-style)을 실행했거나, 세션으로 중계된 메시지에 명령이 포함되어 전달되었습니다. 이러한 턴은 계정 소유자가 보낸 것이 아닐 수 있으므로, Claude Code는 해당 턴에서 [기본 제공 스타일](https://code.claude.com/docs/ko/output-styles.md#built-in-output-styles)만 나열하고 선택하며, 명령이 스타일을 나열하거나 입력한 이름을 인식하지 못할 때마다 이 안내를 추가합니다. [사용자 지정 스타일](https://code.claude.com/docs/ko/output-styles.md#create-a-custom-output-style) 이름은 존재하지 않는 이름과 동일한 응답을 받습니다:
4313 4349
4314```text theme={null}4350```text theme={null}
4315Custom output styles can't be selected over Remote Control or from a relayed message. Select one in the session itself, or pick a built-in style here.4351Custom output styles can't be selected over Remote Control or from a relayed message. Select one in the session itself, or pick a built-in style here.
4322 4358
4323### Output styles are saved to local settings which this session doesn't load4359### Output styles are saved to local settings which this session doesn't load
4324 4360
4325설정 소스에서 `local`을 제외한 세션에서 `/output-style <style>` 또는 `/config outputStyle=<style>`로 [출력 스타일](https://code.claude.com/docs/ko/output-styles.md)을 전환하려고 했습니다. 예를 들어 [`settingSources`](https://code.claude.com/docs/ko/agent-sdk/typescript#options)에서 `"local"`을 제외한 [Agent SDK](https://code.claude.com/docs/ko/agent-sdk/typescript.md) 세션이나, `local`을 제외한 [`--setting-sources`](https://code.claude.com/docs/ko/cli-reference#cli-flags) 값으로 시작한 CLI 세션이 있습니다. 두 명령 모두 스타일을 `.claude/settings.local.json`에 저장하는데, 이러한 세션은 이 파일을 다시 읽지 않으므로 Claude Code는 아무 효과가 없을 설정을 쓰는 대신 거부합니다.4361설정 소스에서 `local`을 제외한 세션에서 `/output-style <style>` 또는 `/config outputStyle=<style>`로 [출력 스타일](https://code.claude.com/docs/ko/output-styles.md)을 전환하려고 했습니다. 예를 들어 [`settingSources`](https://code.claude.com/docs/ko/agent-sdk/typescript#options)에서 `"local"`을 제외한 [Agent SDK](https://code.claude.com/docs/ko/agent-sdk/typescript.md) 세션이나, `local`을 제외한 [`--setting-sources`](https://code.claude.com/docs/ko/cli-reference#cli-flags) 값으로 시작한 CLI 세션이 있습니다. 두 명령 모두 스타일을 `.claude/settings.local.json`에 저장하는데, 이러한 세션은 이 파일을 다시 읽지 않으므로 Claude Code는 효과가 없을 설정을 쓰는 대신 거부합니다:
4326 4362
4327```text theme={null}4363```text theme={null}
4328Output styles are saved to local settings (.claude/settings.local.json), which this session doesn't load, so the style can't be changed here.4364Output styles are saved to local settings (.claude/settings.local.json), which this session doesn't load, so the style can't be changed here.
4331**해결 방법:**4367**해결 방법:**
4332 4368
4333* 세션의 설정 소스에 `local`을 추가하고 다시 전환합니다4369* 세션의 설정 소스에 `local`을 추가하고 다시 전환합니다
4334* 프로젝트의 `.claude/settings.json` 또는 `~/.claude/settings.json`처럼 세션이 로드하는 설정 파일에서 [`outputStyle`](https://code.claude.com/docs/ko/settings-reference#outputstyle) 키를 설정합니다. TypeScript SDK에서는 대신 인라인 `settings` 객체 안에 `outputStyle`을 설정합니다. [출력 스타일 활성화](https://code.claude.com/docs/ko/agent-sdk/modifying-system-prompts.md#activate-an-output-style)를 참조하세요4370* 프로젝트의 `.claude/settings.json`이나 `~/.claude/settings.json`처럼 세션이 로드하는 설정 파일에서 [`outputStyle`](https://code.claude.com/docs/ko/settings-reference#outputstyle) 키를 설정합니다. TypeScript SDK에서는 대신 인라인 `settings` 객체 안에서 `outputStyle`을 설정합니다. [출력 스타일 활성화](https://code.claude.com/docs/ko/agent-sdk/modifying-system-prompts.md#activate-an-output-style)를 참조하세요
4335 4371
4336### /recap only runs when you ask for it yourself4372### /recap only runs when you ask for it yourself
4337 4373
4338[`/recap`](https://code.claude.com/docs/ko/interactive-mode#session-recap) 요청이 사용자 본인의 입력에서 오지 않았습니다. Slack, Teams 또는 [프로젝트](https://code.claude.com/docs/ko/claude-projects.md) 스레드에서 세션으로 릴레이된 메시지나, [클라우드 예약 작업](https://code.claude.com/docs/ko/routines.md) 또는 다른 프로그램이 보낸 프롬프트에 포함되어 도착했습니다.4374[`/recap`](https://code.claude.com/docs/ko/interactive-mode#session-recap) 요청이 사용자 본인의 입력에서 온 것이 아닙니다. Slack, Teams 또는 [프로젝트](https://code.claude.com/docs/ko/claude-projects.md) 스레드에서 세션으로 중계된 메시지에 포함되어 있었거나, [클라우드 예약 작업](https://code.claude.com/docs/ko/routines.md)이나 다른 프로그램이 보낸 프롬프트에 포함되어 있었습니다.
4339 4375
4340릴레이된 메시지는 사용자가 직접 작성한 경우에도 이 안내를 받습니다. Claude Code는 릴레이되거나 자동화된 메시지가 세션을 실행하는 계정의 소유자에게서 왔는지 알 수 없으므로, 요약 대신 다음 안내로 응답합니다.4376중계된 메시지는 사용자 본인이 작성했더라도 이 안내를 받습니다. Claude Code는 중계되거나 자동화된 메시지가 세션을 실행하는 계정의 소유자에게서 온 것인지 구분할 수 없으므로, 요약 대신 이 안내로 응답합니다:
4341 4377
4342```text theme={null}4378```text theme={null}
4343/recap only runs when you ask for it yourself in this session: from the terminal, the Claude app or claude.ai/code, or over Remote Control. A message relayed from Slack, Teams or a project thread, or sent by a routine or another program, can't request it.4379/recap only runs when you ask for it yourself in this session: from the terminal, the Claude app or claude.ai/code, or over Remote Control. A message relayed from Slack, Teams or a project thread, or sent by a routine or another program, can't request it.
4344```4380```
4345 4381
4346`claude -p`에 전달한 `/recap`이나, 사용자의 [Agent SDK](https://code.claude.com/docs/ko/agent-sdk/overview.md) 애플리케이션이 자신이 시작한 세션으로 보내는 `/recap`은 사용자 본인의 입력으로 간주됩니다.4382`claude -p`에 전달하는 `/recap`이나, 사용자 본인의 [Agent SDK](https://code.claude.com/docs/ko/agent-sdk/overview.md) 애플리케이션이 자신이 시작한 세션에 보내는 `/recap`은 본인의 입력으로 간주됩니다.
4347 4383
4348**해결 방법:**4384**해결 방법:**
4349 4385
4352 4388
4353### /feedback is disabled by your organization's policy4389### /feedback is disabled by your organization's policy
4354 4390
4355이 메시지는 제품 피드백이 꺼져 있어 입력한 명령이 피드백 대화 상자를 열지 않는다는 뜻입니다. 조직의 정책과 이전의 거부 모두 이 메시지를 발생시킵니다.4391이 메시지는 제품 피드백이 꺼져 있어 입력한 명령이 피드백 대화 상자를 열지 않는다는 의미입니다. 조직의 정책과 이전 거부 모두 이 메시지를 표시합니다:
4356 4392
4357* **조직 정책**: 조직의 정책이 Claude Code에서의 제품 피드백을 허용하지 않습니다. `/feedback`, `/bug`, `/share` 모두 이 메시지로 응답합니다.4393* **조직 정책**: 조직의 정책이 Claude Code에서의 제품 피드백을 허용하지 않습니다. `/feedback`, `/bug`, `/share` 모두 이 메시지로 응답합니다.
4358* **이전의 거부**: 예를 들어 [`Couldn't send feedback: Feedback has not been enabled for your organization.`](#couldnt-send-feedback)처럼 피드백 서비스가 보낸 보고서를 거부했습니다. 이후 `/feedback`과 `/bug`가 이 메시지로 응답할 수 있습니다. 이 상태는 이 머신에서 해당 거부 시점부터 7일간 유지됩니다. 이는 Pro와 Max를 포함한 모든 요금제에 적용됩니다.4394* **이전 거부**: 피드백 서비스가 보낸 보고서를 거부했습니다. 예를 들어 [`Couldn't send feedback: Feedback has not been enabled for your organization.`](#couldnt-send-feedback)와 같은 경우입니다. 그러면 `/feedback`과 `/bug`가 이 메시지로 응답할 수 있습니다. 이 상태는 이 머신에서 해당 거부 시점부터 7일 동안 유지됩니다. Pro 및 Max를 포함한 모든 요금제에 적용됩니다.
4359 4395
4360메시지에는 Claude Code 프롬프트에서 입력한 명령이 표시됩니다.4396메시지에는 Claude Code 프롬프트에서 입력한 명령이 표시됩니다:
4361 4397
4362```text wrap theme={null}4398```text wrap theme={null}
4363/feedback is disabled by your organization's policy. To report a bug, open an issue at https://github.com/anthropics/claude-code/issues. Issues are public, so leave out anything confidential.4399/feedback is disabled by your organization's policy. To report a bug, open an issue at https://github.com/anthropics/claude-code/issues. Issues are public, so leave out anything confidential.
4367 4403
4368**해결 방법:**4404**해결 방법:**
4369 4405
4370* 버그를 보고하려면 [github.com/anthropics/claude-code/issues](https://github.com/anthropics/claude-code/issues)에서 이슈를 엽니다. 이곳의 이슈는 누구나 읽을 수 있으므로 코드, 트랜스크립트 및 기타 기밀 정보는 포함하지 않습니다.4406* 버그를 보고하려면 [github.com/anthropics/claude-code/issues](https://github.com/anthropics/claude-code/issues)에서 이슈를 엽니다. 그곳의 이슈는 누구나 읽을 수 있으므로 코드, 트랜스크립트 및 기타 기밀 정보는 제외합니다.
4371* 이전의 거부 이후라면 7일이 지날 때까지 기다린 다음 보고서를 다시 보내 서비스가 여전히 거부하는지 확인합니다4407* 이전 거부 후에는 7일이 지날 때까지 기다린 다음, 서비스가 여전히 거부하는지 확인하기 위해 보고서를 다시 보냅니다
4372 4408
4373v2.1.319 이전에는 이전의 거부가 이 메시지를 발생시키지 않았습니다.4409v2.1.319 이전에는 이전 거부로 인해 이 메시지가 표시되지 않았습니다.
4374 4410
4375v2.1.302 이전에는 전체 메시지가 `/feedback is disabled by your organization's policy. Contact your organization admin to enable it.`였습니다.4411v2.1.302 이전에는 전체 메시지가 `/feedback is disabled by your organization's policy. Contact your organization admin to enable it.`였습니다.
4376 4412
4929* **Claude가 작성한 명령의 경우**: 수정할 것이 없습니다. 메시지가 Claude에게 명령을 다시 작성하는 방법을 알려 줍니다.4965* **Claude가 작성한 명령의 경우**: 수정할 것이 없습니다. 메시지가 Claude에게 명령을 다시 작성하는 방법을 알려 줍니다.
4930* **스킬 또는 명령 파일의 경우**: 메시지는 `No shell command in <name> was run` 뒤에 표시됩니다. [문자를 찾아 제거하는 위치](#no-shell-command-was-run)를 참조하세요.4966* **스킬 또는 명령 파일의 경우**: 메시지는 `No shell command in <name> was run` 뒤에 표시됩니다. [문자를 찾아 제거하는 위치](#no-shell-command-was-run)를 참조하세요.
4931 4967
4932### Command approved before Claude Code restarted was not run4968### Claude Code 재시작 후 승인된 명령이 실행되지 않음
4933 4969
4934사용자가 승인한 셸 명령이 실행되지 않았으며, Claude는 명령의 결과로 다음 메시지를 받습니다.4970사용자가 승인한 셸 명령이 실행되지 않았으며, Claude는 명령의 결과로 다음 메시지를 받습니다.
4935 4971
4936```text wrap theme={null}4972```text wrap theme={null}
4937This call was not run. The command was approved before Claude Code restarted, and Claude Code could not confirm that the shell is back in the directory where it was approved. That directory may be gone or replaced, lie outside the directory where the session started, or be one that Claude Code needs approval to enter or is not allowed to examine. The shell's directory is <directory>. If the command still makes sense, cd to the directory it was meant for and make the call again; it may need approval again.4973This call was not run. Claude Code could not confirm that the shell is back in the directory where it was approved. That directory may be gone or replaced, lie outside the directory where the session started, or be one that Claude Code needs approval to enter or is not allowed to examine. The shell's directory is <directory>. If the command still makes sense, cd to the directory it was meant for and make the call again; it may need approval again.
4938```4974```
4939 4975
4940메시지의 세 번째 문장은 대신 `It does not keep track of that directory across a restart in a session that has been in a worktree.`로 표시될 수 있습니다.4976메시지의 세 번째 문장은 대신 `It does not keep track of that directory across a restart in a session that has been in a worktree.`로 표시될 수 있습니다.
5399 5435
5400v2.1.268 이전에는 WebFetch가 이러한 URL을 일반적인 `Invalid URL` 오류로 보고했습니다.5436v2.1.268 이전에는 WebFetch가 이러한 URL을 일반적인 `Invalid URL` 오류로 보고했습니다.
5401 5437
5438### Claude Code is unable to fetch from a host
5439
5440WebFetch는 페이지를 요청하기 전에 URL의 호스트 이름을 `api.anthropic.com`으로 보내 Anthropic의 도메인 안전 차단 목록과 대조합니다. 이 메시지는 검사 결과 해당 호스트 이름을 가져올 수 없다는 응답을 받았다는 뜻입니다.
5441
5442```text wrap theme={null}
5443Claude Code is unable to fetch from example.com
5444```
5445
5446검사는 요청 전에 실행되므로 Claude Code는 호스트에 연결하지 않았습니다.
5447
5448검사가 전송하는 내용은 [WebFetch 도메인 안전 검사](https://code.claude.com/docs/ko/data-usage.md#webfetch-domain-safety-check)를 참조하세요.
5449
5402### WebFetch 도메인 안전 검사 실패5450### WebFetch 도메인 안전 검사 실패
5403 5451
5404URL을 가져오기 전에 WebFetch는 URL의 호스트 이름을 `api.anthropic.com`으로 보내 Anthropic의 [도메인 안전 차단 목록](https://code.claude.com/docs/ko/data-usage.md#webfetch-domain-safety-check)과 대조합니다. 검사를 완료할 수 없으면 WebFetch는 도메인이 안전한지 확인할 수 없으므로 페이지를 가져오지 않으며, 도구 결과에 대신 다음 메시지 중 하나가 표시됩니다.5452URL을 가져오기 전에 WebFetch는 URL의 호스트 이름을 `api.anthropic.com`으로 보내 Anthropic의 [도메인 안전 차단 목록](https://code.claude.com/docs/ko/data-usage.md#webfetch-domain-safety-check)과 대조합니다. 검사를 완료할 수 없으면 WebFetch는 도메인이 안전한지 확인할 수 없으므로 페이지를 가져오지 않으며, 도구 결과에 대신 다음 메시지 중 하나가 표시됩니다.
5417 5465
5418## 백그라운드 세션 오류5466## 백그라운드 세션 오류
5419 5467
5420[백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)은 자체 대화형 터미널 없이 실행되므로 터미널이 필요한 명령은 다르게 작동합니다. 이러한 메시지는 백그라운드 세션의 트랜스크립트, 백그라운드 세션에 연결된 터미널, 디스패치하는 세션 또는 셸에 나타나거나, 아래의 [worktree-guard 항목](#write-or-command-blocked-because-the-path-cannot-be-safely-resolved)의 경우 worktree에 격리된 모든 세션이나 worktree 격리 서브에이전트를 실행하는 세션에 나타납니다. 메시지가 특정 사용 환경에만 해당하는 경우 해당 항목에 명시됩니다.5468[백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)은 자체 대화형 터미널 없이 실행되므로, 터미널이 필요한 명령은 그곳에서 다르게 동작합니다. 이러한 메시지는 백그라운드 세션의 트랜스크립트, 세션에 연결된 터미널, 세션을 디스패치한 세션이나 셸에 나타나며, 아래의 [워크트리 가드 항목](#write-or-command-blocked-because-the-path-cannot-be-safely-resolved)의 경우에는 워크트리에 격리된 모든 세션 또는 워크트리 격리 서브에이전트를 실행 중인 세션에 나타납니다. 메시지가 특정 사용 환경에만 해당하는 경우 해당 항목에 명시되어 있습니다.
5421 5469
5422### 백그라운드 세션에서 거부된 명령5470### 백그라운드 세션에서 거부되는 명령
5423 5471
5424대화형 대화 상자를 여는 명령은 백그라운드 세션에 터미널이 연결되지 않은 상태에서는 그렇게 할 수 없습니다. `/install-github-app`, `/mcp` 설정 목록 및 MCP 서버 메뉴의 인증 작업은 메시지로 응답하며, `/install-github-app` 및 `/mcp` 설정 목록의 경우 세션은 [에이전트 뷰](https://code.claude.com/docs/ko/agent-view.md)의 **입력 필요** 아래에 나타나므로 찾아서 연결하고 명령을 다시 실행할 수 있습니다. 터미널이 연결되어 있는 동안 이러한 명령은 정상적으로 작동합니다.5472대화형 대화상자를 여는 명령은 백그라운드 세션에 터미널이 연결되어 있지 않은 동안에는 대화상자를 열 수 없습니다. `/install-github-app`, `/mcp` 설정 목록, MCP 서버 메뉴의 인증 작업은 메시지로 응답합니다. `/install-github-app`과 `/mcp` 설정 목록의 경우, 세션이 [에이전트 뷰](https://code.claude.com/docs/ko/agent-view.md)의 **Needs input** 아래에도 표시되므로 세션을 찾아 연결한 후 명령을 다시 실행할 수 있습니다. 터미널이 연결되어 있는 동안에는 이러한 명령이 정상적으로 작동합니다.
5425 5473
5426v2.1.216 이전에는 `/install-github-app` 또는 `/mcp` 설정 목록이 거부된 후 세션이 **입력 필요** 아래에 나타나지 않았습니다. v2.1.213부터 v2.1.215까지는 터미널이 연결되어 있는 동안 명령이 여전히 작동했으며, 거부 메시지는 연결하고 명령을 다시 실행하도록 지시했습니다. v2.1.208부터 v2.1.212까지는 Claude Code가 터미널이 연결되어 있는 동안에도 이를 거부했으며, `Can't open MCP settings in a background session`과 같은 메시지가 표시되었습니다. 이러한 버전에서는 일반 `claude` 세션에서 명령을 실행하거나 업그레이드하십시오. v2.1.208 이전에는 백그라운드 세션 내에서 대화 상자를 열었습니다. v2.1.208에서만 Claude Code는 백그라운드 세션에서 `/model` 선택기도 거부했으며, `/upgrade`는 브라우저를 열지 않고 업그레이드 URL을 인쇄했습니다.5474v2.1.216 이전에는 `/install-github-app` 또는 `/mcp` 설정 목록이 거부된 후 세션이 **Needs input** 아래에 표시되지 않았습니다. v2.1.213부터 v2.1.215까지는 터미널이 연결된 동안 명령이 계속 작동했으며, 거부 메시지는 연결한 후 명령을 다시 실행하라고 안내했습니다. v2.1.208부터 v2.1.212까지는 터미널이 연결된 동안에도 Claude Code가 `Can't open MCP settings in a background session`과 같은 메시지와 함께 이러한 명령을 거부했습니다. 해당 버전에서는 일반 `claude` 세션에서 명령을 실행하거나 업그레이드하세요. v2.1.208 이전에는 이러한 명령이 백그라운드 세션 내에서 대화상자를 열었습니다. v2.1.208에서만 Claude Code가 백그라운드 세션에서 `/model` 선택기도 거부했으며, `/upgrade`는 브라우저를 여는 대신 업그레이드 URL을 출력했습니다.
5427 5475
5428표현은 명령의 이름을 지정합니다. `/mcp` 설정 목록은 다음을 보고합니다:5476문구에는 명령 이름이 포함됩니다. `/mcp` 설정 목록은 다음과 같이 보고합니다:
5429 5477
5430```text theme={null}5478```text theme={null}
5431Can't open MCP settings while no terminal is attached to this background session. This session now shows "needs input" in agent view — open it and run /mcp to manage servers, or use `/mcp enable|disable|reconnect <server>` to steer without the panel.5479Can't open MCP settings while no terminal is attached to this background session. This session now shows "needs input" in agent view — open it and run /mcp to manage servers, or use `/mcp enable|disable|reconnect <server>` to steer without the panel.
5432```5480```
5433 5481
5434**할 일:**5482**해결 방법:**
5435 5483
5436* 에이전트 뷰에서 세션에 연결하고 명령을 다시 실행합니다.5484* 에이전트 뷰에서 세션에 연결하고 명령을 다시 실행하세요
5437* 또는 `/mcp reconnect <server>`, `/mcp enable` 또는 `/mcp disable`과 같이 메시지가 명시하는 형식을 사용합니다. 이는 연결하지 않고도 작동합니다.5485* 또는 `/mcp reconnect <server>`, `/mcp enable`, `/mcp disable`처럼 메시지에 명시된 형식을 사용하세요. 이 형식은 연결하지 않고도 작동합니다
5438 5486
5439### 경로를 안전하게 확인할 수 없어서 쓰기 또는 명령이 차단됨5487### 경로를 안전하게 해석할 수 없어 쓰기 또는 명령이 차단됨
5440 5488
5441Claude가 [worktree 격리 가드](https://code.claude.com/docs/ko/agent-view.md#how-file-edits-are-isolated)가 하나의 확인 가능한 위치로 확인할 수 없는 철자로 파일 또는 작업 디렉터리를 처리했습니다. 가드는 [worktree에 격리된 모든 세션](https://code.claude.com/docs/ko/worktrees.md#how-claude-code-enforces-isolation)(대화형 또는 백그라운드)과 [worktree 격리 서브에이전트](https://code.claude.com/docs/ko/worktrees.md#isolate-subagents-with-worktrees)에서 쓰기 및 명령 작업 디렉터리를 확인합니다. 공유 체크아웃에 도달하지 않는지 확인하기 전에 심볼릭 링크를 확인하며, 확인이 실패하면 공유 체크아웃에 도달하도록 하는 대신 작업을 차단합니다. 메시지는 거부하는 경로 형식과 재시도 방법을 명시합니다:5489Claude가 [워크트리 격리 가드](https://code.claude.com/docs/ko/agent-view.md#how-file-edits-are-isolated)가 검증 가능한 하나의 위치로 해석할 수 없는 표기로 파일이나 작업 디렉터리를 지정했습니다. 가드는 대화형이든 백그라운드든 [워크트리에 격리된 모든 세션](https://code.claude.com/docs/ko/worktrees.md#how-claude-code-enforces-isolation)과 [워크트리 격리 서브에이전트](https://code.claude.com/docs/ko/worktrees.md#isolate-subagents-with-worktrees)에서 쓰기 작업과 명령 작업 디렉터리를 검사합니다. 가드는 작업이 공유 체크아웃에 도달하지 않는지 확인하기 전에 심볼릭 링크를 해석하며, 해석에 실패하면 작업이 그곳에 적용되도록 두지 않고 차단합니다. 메시지는 거부하는 경로 형식과 재시도 방법을 알려 줍니다:
5442 5490
5443```text theme={null}5491```text theme={null}
5444This write was blocked because the path is spelled in a form that cannot be safely resolved (for example through a symlink storing a raw dot segment, a network-share or device-namespace shape, or an unreadable ancestor directory). If the file is inside the worktree /path/to/worktree, address it by its direct symlink-free path instead.5492This write was blocked because the path is spelled in a form that cannot be safely resolved (for example through a symlink storing a raw dot segment, a network-share or device-namespace shape, or an unreadable ancestor directory). If the file is inside the worktree /path/to/worktree, address it by its direct symlink-free path instead.
5445```5493```
5446 5494
5447차단된 명령은 작업 디렉터리에 대해 동일한 원인을 보고하고 `re-run the command from its direct symlink-free path`로 끝납니다. v2.1.217 이전에는 가드가 심볼릭 링크를 확인하지 않고 경로 철자를 비교했으므로 이러한 철자는 차단되지 않았으며 심볼릭 링크를 통한 쓰기는 공유 체크아웃에 도달할 수 있었습니다.5495차단된 명령은 작업 디렉터리에 대해 동일한 원인을 보고하며 `re-run the command from its direct symlink-free path`로 끝납니다. v2.1.217 이전에는 가드가 심볼릭 링크를 해석하지 않고 경로 표기를 비교했기 때문에 이러한 표기가 차단되지 않았고, 심볼릭 링크를 거친 쓰기가 공유 체크아웃에 적용될 수 있었습니다.
5448 5496
5449**할 일:**5497**해결 방법:**
5450 5498
5451* 일반적으로 아무것도 하지 않습니다: 전체 메시지는 Claude에 도구 오류로 전달되며 Claude는 명시하는 직접 경로로 재시도합니다. 차단된 파일 편집의 경우 대화 뷰에는 짧은 `Error editing file` 줄만 표시됩니다. 전체 메시지는 `Ctrl+O`로 열 수 있는 트랜스크립트 뷰에 나타납니다. 차단된 명령은 명령 출력에 인쇄합니다.5499* 대개 아무것도 할 필요가 없습니다. 전체 메시지가 도구 오류로 Claude에 전달되고, Claude는 메시지에 명시된 직접 경로로 재시도합니다. 차단된 파일 편집의 경우 대화 뷰에는 짧은 `Error editing file` 줄만 표시되며, 전체 메시지는 `Ctrl+O`로 여는 트랜스크립트 뷰에 나타납니다. 차단된 명령은 명령 출력에 메시지를 출력합니다.
5452* 같은 파일에서 차단이 반복되면 경로가 `docs/current -> ../README.md`와 같이 `..`를 포함하는 대상을 가진 커밋된 심볼릭 링크를 통해 실행될 가능성이 높습니다. Claude에 링크를 통하지 않고 실제 경로로 대상 파일을 편집하도록 요청합니다.5500* 같은 파일에서 차단이 반복되면 경로가 `docs/current -> ../README.md`처럼 대상에 `..`이 포함된 커밋된 심볼릭 링크를 거칠 가능성이 높습니다. 링크를 거치지 말고 실제 경로로 대상 파일을 편집하도록 Claude에 요청하세요
5453 5501
5454### 경로가 네트워크 위치를 명시하기 때문에 쓰기 또는 명령이 차단됨5502### 경로가 네트워크 위치를 가리켜 쓰기 또는 명령이 차단됨
5455 5503
5456Claude가 머신에 없는 드라이브, `\\server\share\file`과 같은 UNC 공유 또는 `/net` 자동 마운트 경로를 명시하는 경로를 통해 파일 또는 작업 디렉터리를 처리했으며, 세션의 체크아웃은 로컬 디스크에 있습니다. 동일한 [worktree 격리 가드](#write-or-command-blocked-because-the-path-cannot-be-safely-resolved)는 그러한 경로가 공유 체크아웃을 벗어나는지 확인할 수 없으므로 작업을 차단합니다. 세션을 worktree에 격리해도 차단이 해제되지 않습니다. 메시지는 대신 사용할 경로 형식을 명시합니다:5504세션의 체크아웃이 로컬 디스크에 있는 상태에서, Claude가 사용자 컴퓨터에 없는 드라이브를 가리키는 경로, 즉 `\\server\share\file` 같은 UNC 공유나 `/net` 자동 마운트 경로를 통해 파일이나 작업 디렉터리를 지정했습니다. 동일한 [워크트리 격리 가드](#write-or-command-blocked-because-the-path-cannot-be-safely-resolved)는 이러한 경로가 공유 체크아웃 밖에 머무는지 검증할 수 없으므로 작업을 차단합니다. 세션을 워크트리에 격리해도 차단은 해제되지 않습니다. 메시지는 대신 사용할 경로 형식을 알려 줍니다:
5457 5505
5458```text theme={null}5506```text theme={null}
5459This write was blocked because the path is network-shaped (a UNC share or /net automount spelling) while this session's checkout is local. Isolating cannot unblock it. If the file is genuinely inside the worktree /path/to/worktree, address it by its local, plainly-spelled path instead.5507This write was blocked because the path is network-shaped (a UNC share or /net automount spelling) while this session's checkout is local. Isolating cannot unblock it. If the file is genuinely inside the worktree /path/to/worktree, address it by its local, plainly-spelled path instead.
5460```5508```
5461 5509
5462차단된 명령은 작업 디렉터리에 대해 동일한 원인을 보고하고 `re-run the command from its local, plainly-spelled path`로 끝납니다. v2.1.217 이전에는 가드가 경로 텍스트만 비교했으므로 UNC 또는 `/net` 경로를 통해 체크아웃 내부의 파일을 처리하는 것은 차단되지 않았습니다.5510차단된 명령은 작업 디렉터리에 대해 동일한 원인을 보고하며 `re-run the command from its local, plainly-spelled path`로 끝납니다. v2.1.217 이전에는 가드가 경로 텍스트만 비교했기 때문에 UNC 또는 `/net` 경로를 통해 체크아웃 내부의 파일을 지정해도 차단되지 않았습니다.
5463 5511
5464**할 일:**5512**해결 방법:**
5465 5513
5466* 일반적으로 아무것도 하지 않습니다: Claude는 메시지가 요청하는 로컬 철자로 재시도합니다.5514* 대개 아무것도 할 필요가 없습니다. Claude는 메시지가 요청하는 로컬 표기로 재시도합니다
5467 5515
5468### Worktree 격리 확인으로 인해 명령이 차단됨5516### 워크트리 격리 검사에 의해 명령이 차단됨
5469 5517
5470Claude가 [worktree에 격리된 세션](https://code.claude.com/docs/ko/worktrees.md#how-claude-code-enforces-isolation)에서 Bash, [PowerShell](https://code.claude.com/docs/ko/tools-reference.md#powershell-tool) 또는 [Monitor](https://code.claude.com/docs/ko/tools-reference.md#monitor-tool) 명령을 실행했으며, Claude Code가 다음 이유 중 하나로 거부했습니다:5518Claude가 [워크트리에 격리된 세션](https://code.claude.com/docs/ko/worktrees.md#how-claude-code-enforces-isolation)에서 Bash, [PowerShell](https://code.claude.com/docs/ko/tools-reference.md#powershell-tool) 또는 [Monitor](https://code.claude.com/docs/ko/tools-reference.md#monitor-tool) 명령을 실행했고, Claude Code가 다음 이유 중 하나로 이를 거부했습니다:
5471 5519
5472* 명령이 주 체크아웃 또는 다른 worktree에서 실행됩니다. 메시지는 작업 디렉터리가 `resolved to the shared checkout` 또는 `is in a different worktree`라고 표시합니다.5520* 명령이 메인 체크아웃이나 다른 워크트리에서 실행됩니다. 메시지에는 작업 디렉터리가 `resolved to the shared checkout` 또는 `is in a different worktree`라고 표시됩니다.
5473* Bash 또는 Monitor 명령이 git을 주 체크아웃으로 지정합니다.5521* Bash 또는 Monitor 명령이 git을 메인 체크아웃으로 지정합니다.
5474* Claude Code는 Bash 또는 Monitor 명령의 텍스트에서 명령이 실행하는 모든 git이 worktree 내에 머물러 있는지 확인할 수 없습니다. git을 명시하지 않는 명령도 이 이유로 거부될 수 있습니다. `${!name}`과 같은 변수 간접 참조를 확장하거나 `${ command; }`와 같은 Bash 함수 치환을 실행하면 자체가 명령일 수 있는 런타임 값이 생성되기 때문입니다.5522* Claude Code가 Bash 또는 Monitor 명령의 텍스트만으로는 명령이 실행하는 git이 워크트리 내부에 머무는지 검증할 수 없습니다. git을 전혀 언급하지 않는 명령도 이 이유로 거부될 수 있습니다. `${!name}` 같은 변수 간접 참조를 확장하거나 `${ command; }` 같은 Bash 함수 치환을 실행하면 런타임에 생성되는 값 자체가 명령일 수 있기 때문입니다.
5475 5523
5476메시지는 `is isolated in the worktree <path>, but this command` 뒤에 이유를 표시합니다. 예를 들어 Claude Code가 텍스트를 확인할 수 없는 명령의 경우 다음과 같습니다:5524메시지에는 `is isolated in the worktree <path>, but this command` 다음에 Claude Code가 텍스트를 검증할 수 없었던 명령과 같은 이유가 표시됩니다:
5477 5525
5478```text wrap theme={null}5526```text wrap theme={null}
5479This session is isolated in the worktree /path/to/worktree, but this command evaluates ${!x@P} arithmetically inside a construct too complex to verify, which can run a command hidden in a variable's value. Refusing to run it — a worktree-isolated session's git operations must target its own worktree. Split it into plain, separate commands and run them from /path/to/worktree.5527This session is isolated in the worktree /path/to/worktree, but this command evaluates ${!x@P} arithmetically inside a construct too complex to verify, which can run a command hidden in a variable's value. Refusing to run it — a worktree-isolated session's git operations must target its own worktree. Split it into plain, separate commands and run them from /path/to/worktree.
5480```5528```
5481 5529
5482**할 일:**5530**해결 방법:**
5483 5531
5484* **git이 주 체크아웃을 가리키거나 명령 텍스트를 확인할 수 없는 경우**: 아무것도 하지 않습니다. Claude는 메시지를 읽고 최종 문장이 요청하는 방식으로 명령을 다시 작성합니다. 요청한 명령이 텍스트의 확장 때문에 계속 거부되면 플래그된 값을 문자 그대로 작성하고 worktree 내에서 git을 자체 일반 명령으로 실행합니다.5532* **git이 메인 체크아웃을 가리키거나 명령 텍스트를 검증할 수 없는 경우**: 아무것도 할 필요가 없습니다. Claude가 메시지를 읽고 마지막 문장이 요청하는 방식으로 명령을 다시 작성합니다. 사용자가 요청한 명령이 텍스트 내 확장 때문에 계속 거부된다면, 지적된 값을 리터럴로 작성하고 워크트리 내부에서 git을 별도의 일반 명령으로 실행하세요
5485* 의도적으로 주 체크아웃에 작용하려면 세션 외부의 터미널에서 명령을 직접 실행합니다.5533* 의도적으로 메인 체크아웃에서 작업하려면 세션 밖의 터미널에서 직접 명령을 실행하세요
5486 5534
5487### 이 세션에는 저장된 트랜스크립트가 없습니다5535### This session has no saved transcript
5488 5536
5489`←` 또는 `/background`로 [백그라운드로 이동한](https://code.claude.com/docs/ko/agent-view.md#from-inside-a-session) 세션이 자체 턴을 실행하기 전에 중지되었으며, 해당 세션에 연결했습니다. Claude Code가 세션을 이동해 온 원래 대화를 찾을 수 없으므로 세션에는 재개할 내용이 없습니다. 메시지는 이 세션에 대한 `claude respawn` 명령으로 끝납니다:5537`←` 또는 `/background`로 [백그라운드로 이동한](https://code.claude.com/docs/ko/agent-view.md#from-inside-a-session) 세션이 자체 턴을 실행하기 전에 중지되었고, 사용자가 이 세션에 연결했습니다. Claude Code가 세션을 이동해 온 원래 대화를 찾을 수 없으므로 세션에는 재개할 내용이 없습니다. 메시지는 이 세션에 대한 `claude respawn` 명령으로 끝납니다:
5490 5538
5491```text theme={null}5539```text theme={null}
5492This session has no saved transcript — it was stopped before its first response finished. If it was backgrounded from another conversation, that one is still intact; `claude respawn <id>` starts this one fresh.5540This session has no saved transcript — it was stopped before its first response finished. If it was backgrounded from another conversation, that one is still intact; `claude respawn <id>` starts this one fresh.
5493```5541```
5494 5542
5495[에이전트 뷰](https://code.claude.com/docs/ko/agent-view.md)에서 같은 세션의 행을 열면 대신 목록 아래에 `Press enter again to restart this session fresh`가 표시되며, 행에서 두 번째 `Enter`를 누르면 빈 대화로 세션을 다시 시작합니다.5543[에이전트 뷰](https://code.claude.com/docs/ko/agent-view.md)에서 같은 세션의 행을 열면 대신 목록 아래에 `Press enter again to restart this session fresh`가 표시되며, 행에서 `Enter`를 한 번 더 누르면 빈 대화로 세션이 다시 시작됩니다.
5496 5544
5497**할 일:**5545**해결 방법:**
5498 5546
5499* 중지된 세션을 새로 시작하려면 메시지의 ID로 `claude respawn <id>`를 실행하거나 에이전트 뷰의 행에서 `Enter`를 두 번 누릅니다.5547* 중지된 세션을 새로 시작하려면 메시지의 ID로 `claude respawn <id>`를 실행하거나, 에이전트 뷰에서 해당 행에서 `Enter`를 두 번 누르세요
5500* 세션이 응답을 완료했는데도 v2.1.214 이전 버전에서 이 거부가 표시되면 `~/.claude/projects`의 읽을 수 없는 폴더로 인해 트랜스크립트 스캔이 저장된 대화를 놓칠 수 있습니다. v2.1.214 이상으로 업데이트하면 스캔 중에 읽을 수 없는 폴더를 허용합니다.5548* 세션이 응답을 완료했는데도 v2.1.214 이전 버전에서 이 거부가 표시된다면, `~/.claude/projects`의 읽을 수 없는 폴더 때문에 트랜스크립트 검색에서 저장된 대화를 놓쳤을 수 있습니다. 검색 중 읽을 수 없는 폴더를 허용하는 v2.1.214 이상으로 업데이트하세요
5501 5549
5502### 이 세션이 다른 터미널에서 실행 중입니다5550### This session is running in another terminal
5503 5551
5504[에이전트 뷰](https://code.claude.com/docs/ko/agent-view.md)에서 중지된 세션의 행을 열었으며, 저장된 대화가 이미 이 머신의 다른 라이브 Claude Code 프로세스에서 열려 있으므로 Claude Code는 같은 트랜스크립트에 쓸 두 번째 프로세스를 시작하기를 거부합니다. 표시되는 메시지는 [대화를 보유한 것](https://code.claude.com/docs/ko/agent-view.md#opening-a-session-says-the-conversation-is-already-open)에 따라 다릅니다:5552[에이전트 뷰](https://code.claude.com/docs/ko/agent-view.md)에서 중지된 세션의 행을 열었는데, 저장된 대화가 이 컴퓨터의 다른 실행 중인 Claude Code 프로세스에서 이미 열려 있으므로, Claude Code는 같은 트랜스크립트에 쓰는 두 번째 프로세스의 시작을 거부합니다. 표시되는 메시지는 [대화를 점유하고 있는 대상](https://code.claude.com/docs/ko/agent-view.md#opening-a-session-says-the-conversation-is-already-open)에 따라 다릅니다:
5505 5553
5506```text theme={null}5554```text theme={null}
5507Can't open — this session is running in another terminal5555Can't open — this session is running in another terminal
5508This conversation is already open in another running Claude session — use that one, or close it and try again5556This conversation is already open in another running Claude session — use that one, or close it and try again
5509```5557```
5510 5558
5511* **`running in another terminal`**: 백그라운드 세션이 아닌 프로세스가 대화를 보유합니다. 예를 들어 `claude -p` 실행이나 `claude --resume` 또는 `/resume`으로 대화를 재개한 터미널입니다. 행에는 `Open in a terminal`도 표시됩니다.5559* **`running in another terminal`**: 백그라운드 세션이 아닌 프로세스가 대화를 점유하고 있습니다. 예를 들어 `claude -p` 실행이나, `claude --resume` 또는 `/resume`으로 대화를 재개한 터미널입니다. 행에는 `Open in a terminal`도 표시됩니다.
5512* **`already open in another running Claude session`**: 다른 [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md#the-supervisor-process)이 대화를 보유합니다.5560* **`already open in another running Claude session`**: 다른 [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md#the-supervisor-process)이 대화를 점유하고 있습니다.
5513 5561
5514**할 일:**5562**해결 방법:**
5515 5563
5516* `running in another terminal`의 경우: 해당 터미널에서 계속하거나, 해당 프로세스를 종료하거나 완료될 때까지 기다린 다음 다시 시도합니다.5564* `running in another terminal`의 경우: 해당 터미널에서 계속 작업하거나, 해당 프로세스를 종료하거나 완료될 때까지 기다린 후 다시 시도하세요
5517* `already open in another running Claude session`의 경우: 해당 세션을 사용하거나, 해당 세션을 중지한 다음 다시 시도합니다.5565* `already open in another running Claude session`의 경우: 해당 세션을 사용하거나, 세션을 중지한 후 다시 시도하세요
5518 5566
5519v2.1.248 이전에는 `already open in another running Claude session` 거부만 존재했습니다: 터미널에서 재개된 대화는 열려 있는 것으로 계산되지 않았으며, 행을 열면 같은 대화에 쓰는 두 번째 Claude Code 프로세스가 시작되었습니다.5567v2.1.248 이전에는 `already open in another running Claude session` 거부만 존재했습니다. 터미널에서 재개한 대화는 열려 있는 것으로 간주되지 않았고, 행을 열면 같은 대화에 쓰는 두 번째 Claude Code 프로세스가 시작되었습니다.
5520 5568
5521### 이 세션의 저장된 대화가 더 이상 디스크에 없습니다5569### This session's saved conversation is no longer on disk
5522 5570
5523백그라운드 서비스가 꺼져 있는 동안 종료된 [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)을 열었으며, [트랜스크립트 정리](https://code.claude.com/docs/ko/settings-reference.md#cleanupperioddays)가 저장된 대화를 제거했습니다. 예를 들어 머신이 몇 주 동안 꺼져 있었습니다. 일반적으로 이러한 행을 열면 [저장된 대화를 재개](https://code.claude.com/docs/ko/agent-view.md#sessions-show-as-failed-after-shutdown)합니다. 재개할 것이 없으면 Claude Code는 묻지 않고 세션의 원래 프롬프트를 다시 실행하는 대신 거부합니다:5571백그라운드 서비스가 꺼져 있는 동안 종료된 [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)을 열었는데, 그 이후 [트랜스크립트 정리](https://code.claude.com/docs/ko/settings-reference.md#cleanupperioddays)가 저장된 대화를 제거했습니다. 예를 들어 컴퓨터가 몇 주 동안 꺼져 있었던 경우입니다. 이러한 행을 열면 일반적으로 [저장된 대화가 재개됩니다](https://code.claude.com/docs/ko/agent-view.md#sessions-show-as-failed-after-shutdown). 재개할 내용이 남아 있지 않으면, Claude Code는 묻지 않고 세션의 원래 프롬프트를 다시 실행하는 대신 거부합니다:
5524 5572
5525```text theme={null}5573```text theme={null}
5526This session's saved conversation is no longer on disk (it ended while the background service was off, and old transcripts are cleaned up), so there is nothing to resume. `claude rm 7c5dcf5d` deletes the row; `claude respawn 7c5dcf5d` runs its original prompt again instead.5574This session's saved conversation is no longer on disk (it ended while the background service was off, and old transcripts are cleaned up), so there is nothing to resume. `claude rm 7c5dcf5d` removes the row; `claude respawn 7c5dcf5d` runs its original prompt again instead.
5527```5575```
5528 5576
5529`claude attach <id>`는 이 텍스트를 인쇄합니다. 에이전트 뷰에서 바닥글은 더 짧으며 `ctrl+x deletes the row`로 끝납니다.5577`claude attach <id>`는 이 텍스트를 출력합니다. 에이전트 뷰에서는 하단 문구가 더 짧으며 `ctrl+x removes the row`로 끝납니다.
5530 5578
5531**할 일:**5579**해결 방법:**
5532 5580
5533* `claude rm <id>`를 실행하여 행을 삭제합니다. [유지된 경우](https://code.claude.com/docs/ko/agent-view.md#what-deleting-a-session-removes) 중 하나가 적용되면 `claude rm`은 행과 worktree를 유지하고 이유를 명시합니다.5581* `claude rm <id>`를 실행하여 행을 삭제하세요. [유지되는 경우](https://code.claude.com/docs/ko/agent-view.md#what-deleting-a-session-removes) 중 하나에 해당하면 `claude rm`은 대신 행과 워크트리를 유지하고 그 이유를 알려 줍니다
5534* 세션의 원래 프롬프트를 새 대화로 다시 실행하려면 `claude respawn <id>`를 실행합니다.5582* 세션의 원래 프롬프트를 새 대화로 다시 실행하려면 `claude respawn <id>`를 실행하세요
5535 5583
5536v2.1.248 이전에는 이러한 행을 열면 거부하는 대신 세션의 원래 프롬프트를 다시 실행했으며, 몇 주 된 작업을 전경으로 끌어올렸습니다.5584v2.1.248 이전에는 이러한 행을 열면 거부하는 대신 세션의 원래 프롬프트가 다시 실행되어, 몇 주 전의 작업이 포그라운드로 다시 불려 왔습니다.
5537 5585
5538### Worktree에 어디에도 푸시되지 않은 커밋이 있습니다5586### Worktree has commits that are not pushed anywhere
5539 5587
5540Claude Code가 다른 곳에 저장되었는지 확인할 수 없는 커밋을 worktree에 보유한 [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md#what-deleting-a-session-removes)을 삭제하려고 했습니다. Claude Code는 커밋을 보지 않고 파괴하는 대신 worktree와 세션 행을 유지합니다. `claude rm`은 브랜치와 푸시되지 않은 커밋을 명시하고 진행 방법을 설명합니다:5588다른 곳에 저장되어 있는지 Claude Code가 확인할 수 없는 커밋을 워크트리에 보유한 [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md#what-deleting-a-session-removes)을 삭제하려고 했습니다. `claude rm`이 진행 방법을 알려 줍니다:
5541 5589
5542```text theme={null}5590```text theme={null}
5543kept 7c5dcf5d — its worktree is still at “/home/you/project/.claude/worktrees/fix-login”5591kept 7c5dcf5d — its worktree is still at “/home/you/project/.claude/worktrees/fix-login”
5545 push them and run 'claude rm 7c5dcf5d' again, or discard the worktree and its commits: claude rm 7c5dcf5d --discard-unpushed a1b2c3d000000000000000000000000000000000@0123456789abcdef0123456789abcdef5593 push them and run 'claude rm 7c5dcf5d' again, or discard the worktree and its commits: claude rm 7c5dcf5d --discard-unpushed a1b2c3d000000000000000000000000000000000@0123456789abcdef0123456789abcdef
5546```5594```
5547 5595
5548Claude Code가 커밋을 요약할 수 없으면 세부 정보 줄에 `The worktree has unpushed commits`가 대신 표시됩니다. [에이전트 뷰](https://code.claude.com/docs/ko/agent-view.md)에서 세션의 행은 `not deleted`를 표시하고 같은 이유를 표시합니다.5596Claude Code가 커밋을 요약할 수 없으면 세부 줄에 대신 `The worktree has unpushed commits`가 표시됩니다. [에이전트 뷰](https://code.claude.com/docs/ko/agent-view.md)에서는 세션의 행에 같은 이유와 함께 `not removed`가 표시됩니다.
5549
5550원격의 커밋은 삭제를 차단하지 않습니다. `origin` 원격의 기본 브랜치의 로컬 복사본의 커밋도 차단하지 않습니다. 해당 브랜치가 주 체크아웃(저장소 디렉터리 자체, worktree가 아님)에서 체크아웃되어 있는 한.
5551 5597
5552**할 일:**5598**해결 방법:**
5553
5554* 커밋을 유지하려면 worktree의 브랜치를 푸시하거나 주 체크아웃에서 체크아웃된 기본 브랜치로 병합한 다음 세션을 다시 삭제합니다.
5555* 커밋을 버리려면 메시지가 인쇄한 `claude rm <id> --discard-unpushed` 명령을 실행하거나 에이전트 뷰의 세션 행에서 `Ctrl+X`를 다시 두 번 누릅니다. 이는 세션과 worktree를 브랜치, 푸시되지 않은 커밋 및 커밋되지 않은 변경 사항과 함께 제거합니다. 삭제가 다시 거부되면 새 메시지를 따릅니다.
5556* 메시지가 worktree가 다른 완료된 세션에 의해서도 기록되었다고 말하면 다시 삭제해도 버리지 않습니다: 커밋을 푸시한 다음 세션을 다시 삭제합니다.
5557 5599
5558v2.1.268 이전에는 `claude rm`이 커밋 요약을 `kept` 줄 자체에 배치했습니다. `claude rm`이 커밋을 요약할 수 없으면 `kept` 줄은 요약 대신 `worktree has commits that are not pushed anywhere`를 표시했습니다.5600* 커밋을 유지하려면 푸시하세요. 푸시로 커밋이 `origin/claude/fix-login` 같은 원격 추적 브랜치에 올라가면 세션 삭제를 다시 시도하세요.
5601* 메시지에서 커밋 폐기를 제안하는 경우, 먼저 워크트리, 커밋, 커밋되지 않은 변경 사항이 필요하지 않은지 확인하세요. 그런 다음 메시지가 안내하는 단계를 수행하세요. 에이전트 뷰에서 세션의 행에서 `Ctrl+X`를 두 번 누르거나, `claude rm`이 출력한 `claude rm <id> --discard-unpushed <commit>@<worktree-id>` 명령을 실행합니다. Claude Code가 다시 거부하면 새 메시지를 따르세요.
5602* 메시지에 워크트리가 완료된 다른 세션에도 기록되어 있다고 표시되면, 다시 삭제해도 워크트리가 폐기되지 않습니다. 커밋을 푸시한 후 세션 삭제를 다시 시도하세요
5559 5603
5560v2.1.260 이전에는 메시지가 브랜치 또는 커밋을 명시하지 않았으며, 버리는 방법도 없었습니다. 그래도 커밋되지 않은 변경 사항은 잃지만 브랜치와 커밋은 유지한 채 세션을 삭제할 수 있습니다. 거부 메시지가 인쇄한 경로로 `git worktree remove --force --force <path>`를 실행한 다음 `claude rm <id>`를 실행합니다. 잠긴 worktree의 경우 Git에는 `--force`가 두 번 필요합니다.5604v2.1.268 이전에는 `claude rm`이 커밋 요약을 `kept` 줄 자체에 표시했습니다. `claude rm`이 커밋을 요약할 수 없으면 `kept` 줄에 요약 대신 `worktree has commits that are not pushed anywhere`가 표시되었습니다.
5561 5605
5562v2.1.248 이전에는 주 체크아웃에서 체크아웃된 기본 브랜치가 계산되지 않았습니다: 이미 병합한 브랜치는 커밋이 원격에 도달할 때까지 이 거부를 트리거했습니다.5606v2.1.260 이전에는 메시지에 브랜치나 커밋이 명시되지 않았고 폐기 경로도 없었습니다. 이 경우에도 세션을 삭제할 수 있으며, 커밋되지 않은 변경 사항은 잃지만 브랜치와 커밋은 유지됩니다. 거부 메시지에 출력된 경로로 `git worktree remove --force --force <path>`를 실행한 다음 `claude rm <id>`를 실행하세요. 잠긴 워크트리의 경우 Git에는 `--force`가 두 번 필요합니다.
5563 5607
5564### 터미널 호스트 프로세스가 종료됨5608### Terminal host process died
5565 5609
5566각 [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)의 터미널은 백그라운드 서비스 아래의 호스트 프로세스에서 실행되며, 서비스가 여전히 연결을 유지하는 동안 해당 프로세스가 종료되어 세션에 도달할 수 없었습니다.5610각 [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)의 터미널은 백그라운드 서비스 아래의 호스트 프로세스에서 실행되는데, 서비스가 아직 연결을 유지하고 있는 동안 해당 프로세스가 종료되어 세션에 연결할 수 없었습니다.
5567 5611
5568Linux 및 WSL에서 백그라운드 서비스는 몇 초마다 각 호스트 프로세스를 확인하고, 프로세스가 종료되었지만 서비스에 대한 연결이 닫히지 않으면 세션을 실패로 표시하고 [에이전트 뷰](https://code.claude.com/docs/ko/agent-view.md#read-session-state)의 행에 이유를 표시합니다:5612Linux와 WSL에서는 백그라운드 서비스가 몇 초마다 각 호스트 프로세스를 확인하고, 프로세스가 종료되었지만 서비스와의 연결이 닫히지 않은 경우 세션을 실패로 표시하며, [에이전트 뷰](https://code.claude.com/docs/ko/agent-view.md#read-session-state)의 해당 행에 이유를 표시합니다:
5569 5613
5570```text theme={null}5614```text theme={null}
5571terminal host process died — press Enter to restart5615terminal host process died — press Enter to restart
5572```5616```
5573 5617
5574셸에서 `claude attach <id>`는 이미 죽은 호스트로 실패 표시된 세션을 다시 시작하고, 그렇지 않으면 원인을 인쇄하고 종료합니다:5618셸에서 `claude attach <id>`는 호스트 종료로 이미 실패로 표시된 세션을 다시 시작하며, 그렇지 않은 경우 원인을 출력하고 종료합니다:
5575 5619
5576```text theme={null}5620```text theme={null}
5577Couldn't attach to <id> — This session's terminal host process died (the conversation is saved) — run `claude attach <id>` again to restart it on a fresh host.5621Couldn't attach to <id> — This session's terminal host process died (the conversation is saved) — run `claude attach <id>` again to restart it on a fresh host.
5578```5622```
5579 5623
5580어느 쪽이든 대화가 저장됩니다.5624어느 경우든 대화는 저장되어 있습니다.
5581 5625
5582[셸 명령](https://code.claude.com/docs/ko/agent-view.md#run-a-shell-command)을 실행하는 행은 대신 `terminal host process died — its output is gone; the command was not run again`을 표시하고, `claude attach`는 `This command's terminal host process died — its output is gone and the command was not run again`을 인쇄합니다. Claude Code는 절대 명령을 대신 다시 실행하지 않습니다.5626[셸 명령](https://code.claude.com/docs/ko/agent-view.md#run-a-shell-command)을 실행하는 행에는 대신 `terminal host process died — its output is gone; the command was not run again`이 표시되며, `claude attach`는 `This command's terminal host process died — its output is gone and the command was not run again`을 출력합니다. Claude Code는 명령을 사용자 대신 다시 실행하지 않습니다.
5583 5627
5584**할 일:**5628**해결 방법:**
5585 5629
5586* 에이전트 뷰에서 실패한 행에 `Enter`를 누릅니다. 세션이 새 호스트 프로세스에서 다시 시작되고 대화가 재개됩니다.5630* 에이전트 뷰에서 실패한 행에서 `Enter`를 누르세요. 세션이 새 호스트 프로세스에서 다시 시작되고 대화가 재개됩니다
5587* 셸에서 `claude attach <id>`를 다시 실행합니다. Claude Code는 `Session <id>'s terminal host died — restarting it on a fresh one…`을 인쇄하고 세션을 다시 엽니다.5631* 셸에서 `claude attach <id>`를 다시 실행하세요. Claude Code가 `Session <id>'s terminal host died — restarting it on a fresh one…`을 출력하고 세션을 다시 엽니다
5588* 이 방식으로 셸 명령 행을 다시 시작할 수 없습니다. 명령을 다시 디스패치하여 다시 실행합니다.5632* 셸 명령 행은 이 방법으로 다시 시작할 수 없습니다. 명령을 다시 실행하려면 다시 디스패치하세요
5589 5633
5590v2.1.247 이전에는 죽은 호스트 프로세스가 백그라운드 서비스가 실행한 모든 생존 확인을 통과할 수 있었으므로 세션을 열면 `opening… · esc to cancel`이 무한정 표시되고 `claude attach <id>`는 오류를 보고하지 않고 대기했습니다.5634v2.1.247 이전에는 종료된 호스트 프로세스가 백그라운드 서비스가 실행하는 모든 활성 상태 검사를 통과할 수 있었기 때문에, 세션을 열면 `opening… · esc to cancel`이 무기한 표시되었고 `claude attach <id>`는 오류를 보고하지 않고 계속 대기했습니다.
5591 5635
5592### 세션이 응답하지 않습니다5636### Session isn't responding
5593 5637
5594[백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)을 열었으며 백그라운드 서비스가 열기를 수락했지만 약 10초 동안 출력이 도착하지 않아 Claude Code는 세션의 터미널을 중계하는 프로세스가 출력을 전달할 수 없다고 결론짓고 대기하는 대신 시도를 종료합니다.5638[백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)을 열었고 백그라운드 서비스가 열기 요청을 수락했지만, 약 10초 동안 출력이 도착하지 않았습니다. 따라서 Claude Code는 세션의 터미널을 중계하는 프로세스가 출력을 전달할 수 없다고 판단하고, 대기하는 대신 시도를 종료합니다.
5595 5639
5596에이전트 뷰에서 Claude Code는 바닥글에 재시작을 제공합니다:5640에이전트 뷰에서 Claude Code는 하단에 다시 시작 옵션을 제공합니다:
5597 5641
5598```text theme={null}5642```text theme={null}
5599Press enter again to restart this session — it isn't responding (its conversation is saved and resumes).5643Press enter again to restart this session — it isn't responding (its conversation is saved and resumes).
5600```5644```
5601 5645
5602셸에서 `claude attach <id>`는 원인을 인쇄하고 종료합니다:5646셸에서 `claude attach <id>`는 원인을 출력하고 종료합니다:
5603 5647
5604```text theme={null}5648```text theme={null}
5605Couldn't attach to <id> — Session isn't responding — `claude stop <id>`, then `claude attach <id>` restarts it (the conversation is saved).5649Couldn't attach to <id> — Session isn't responding — `claude stop <id>`, then `claude attach <id>` restarts it (the conversation is saved).
5606```5650```
5607 5651
5608Claude Code는 [셸 명령](https://code.claude.com/docs/ko/agent-view.md#run-a-shell-command)을 실행하는 행을 절대 다시 시작하지 않습니다. 재시작하면 명령이 다시 실행되기 때문입니다.5652다시 시작하면 명령이 다시 실행되므로, Claude Code는 [셸 명령](https://code.claude.com/docs/ko/agent-view.md#run-a-shell-command)을 실행하는 행을 사용자 대신 다시 시작하지 않습니다.
5609 5653
5610**할 일:**5654**해결 방법:**
5611 5655
5612* 에이전트 뷰에서 같은 행에 `Enter`를 다시 누릅니다. Claude Code는 응답하지 않는 프로세스를 중지하고 세션을 다시 시작하며 대화가 재개됩니다. 두 번째 누름 없이는 아무것도 중지되지 않습니다.5656* 에이전트 뷰에서 같은 행에서 `Enter`를 다시 누르세요. Claude Code가 응답하지 않는 프로세스를 중지하고 세션을 다시 시작하며, 대화가 재개됩니다. 두 번째로 누르지 않으면 아무것도 중지되지 않습니다
5613* 셸에서 `claude stop <id>`를 실행한 다음 `claude attach <id>`를 실행합니다.5657* 셸에서 `claude stop <id>`를 실행한 다음 `claude attach <id>`를 실행하세요
5614* 셸 명령 행의 경우 에이전트 뷰에서 `Ctrl+X`를 누르거나 `claude stop <id>`를 실행하여 중지합니다. 명령을 다시 디스패치하여 다시 실행합니다.5658* 셸 명령 행의 경우 에이전트 뷰에서 `Ctrl+X`를 누르거나 `claude stop <id>`를 실행하여 중지하세요. 명령을 다시 실행하려면 다시 디스패치하세요
5615 5659
5616### 재시작이 진행 중인 동안 세션이 중지됨5660### Session was stopped while the respawn was in flight
5617 5661
5618[백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)을 열었으며 해당 프로세스가 실행 중이 아니었고, Claude Code가 이를 다시 시작하는 동안 다른 Claude Code 프로세스가 이를 중지했습니다. 예를 들어 다른 터미널에서 `claude stop`을 실행했습니다. Claude Code는 세션을 중지된 상태로 유지합니다:5662프로세스가 실행 중이지 않은 [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)을 열었고, Claude Code가 세션을 다시 시작하는 동안 다른 Claude Code 프로세스(예: 다른 터미널의 `claude stop`)가 세션을 중지했습니다. Claude Code는 세션을 중지된 상태로 유지합니다:
5619 5663
5620```text theme={null}5664```text theme={null}
5621Session <id> was stopped while the respawn was in flight5665Session <id> was stopped while the respawn was in flight
5622```5666```
5623 5667
5624방금 디스패치한 세션을 열면서 프로세스가 여전히 시작 중인 동안 프로세스가 시작될 때까지 대기합니다. v2.1.246 이전에는 그 순간에 열면 중지되고 이 메시지가 표시될 수 있었습니다.5668방금 디스패치한 세션을 프로세스가 아직 시작 중일 때 열면, 대신 프로세스를 기다립니다. v2.1.246 이전에는 그 시점에 세션을 열면 세션이 중지되고 이 메시지가 표시될 수 있었습니다.
5625 5669
5626**할 일:**5670**해결 방법:**
5627 5671
5628* 세션을 중지하지 않았으면 에이전트 뷰에서 행을 다시 열거나 `claude respawn <id>`를 실행하여 다시 시작합니다.5672* 세션을 직접 중지하지 않았다면, 에이전트 뷰에서 해당 행을 다시 열거나 `claude respawn <id>`를 실행하여 다시 시작하세요
5629* 직접 중지했으면 남은 것이 없습니다: 세션은 중지된 상태로 유지됩니다.5673* 직접 중지했다면 더 할 일은 없습니다. 세션은 중지된 상태로 유지됩니다
5630 5674
5631### 세션 에이전트를 더 이상 사용할 수 없습니다5675### 세션 에이전트를 더 이상 사용할 수 없음
5632 5676
5633[사용자 정의 에이전트](https://code.claude.com/docs/ko/sub-agents.md#invoke-subagents-explicitly)를 실행 중이던 세션을 재개했으며, `--agent` 또는 `agent` 설정으로 시작했으며, Claude Code가 해당 이름의 에이전트를 찾지 못했습니다. 세션의 원래 디렉터리를 먼저 검색하며, [해당 워크스페이스를 신뢰](https://code.claude.com/docs/ko/permissions.md#project-allow-rules-and-workspace-trust)한 경우, 그 다음 재개하는 디렉터리를 검색합니다. 세션은 여전히 재개되지만 기본 도구를 사용하므로 에이전트의 도구 제한이 더 이상 적용되지 않습니다:5677`--agent` 또는 `agent` 설정으로 시작한 [사용자 지정 에이전트](https://code.claude.com/docs/ko/sub-agents.md#invoke-subagents-explicitly)를 실행하던 세션을 재개했는데, Claude Code가 해당 이름의 에이전트를 찾지 못했습니다. Claude Code는 [해당 워크스페이스를 신뢰한](https://code.claude.com/docs/ko/permissions.md#project-allow-rules-and-workspace-trust) 경우 세션의 원래 디렉터리를 먼저 검색한 다음, 재개하는 디렉터리를 검색합니다. 세션은 계속 재개되지만 기본 도구를 사용하므로 에이전트의 도구 제한이 더 이상 적용되지 않습니다:
5634 5678
5635```text theme={null}5679```text theme={null}
5636This session was running agent 'code-reviewer', which is no longer available (no agent by that name in /home/you/project). Continuing with the default tools and system prompt — the agent's tool restrictions no longer apply. To restore it, re-create the agent, or resume with an explicit --agent <name>.5680This session was running agent 'code-reviewer', which is no longer available (no agent by that name in /home/you/project). Continuing with the default tools and system prompt — the agent's tool restrictions no longer apply. To restore it, re-create the agent, or resume with an explicit --agent <name>.
5637```5681```
5638 5682
5639경고는 Claude Code가 검색한 디렉터리만 명시하며, [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)을 깨우거나, `/resume` 또는 `claude --resume`을 실행하거나, [비대화형 모드](https://code.claude.com/docs/ko/headless.md)에서 재개할 때 재개된 대화에 나타나며, 비대화형 모드에서는 stderr로도 출력됩니다. `--input-format stream-json`을 사용하는 세션은 Agent SDK가 시작 후 에이전트를 제공하므로 표시하지 않습니다.5683경고에는 Claude Code가 검색한 디렉터리만 표시되며, [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)을 깨우든, `/resume` 또는 `claude --resume`을 실행하든, [비대화형 모드](https://code.claude.com/docs/ko/headless.md)에서 재개하든 재개된 대화에 나타납니다. 비대화형 모드에서는 stderr에도 출력됩니다. `--input-format stream-json`을 사용하는 세션에서는 Agent SDK가 시작 후 에이전트를 제공하므로 경고가 표시되지 않습니다.
5640 5684
5641Claude Code는 폴백을 세션에 저장하지 않으므로 경고는 조치할 때까지 각 재개에서 반복됩니다. 기본 제공 `claude` 에이전트는 기본 도구 세트로 폴백해도 아무것도 변경되지 않으므로 경고를 트리거하지 않습니다. v2.1.216 이전에는 Claude Code가 기본 에이전트로 자동으로 계속했으며, 조회는 재개하는 디렉터리만 포함했으므로 프로젝트 범위 에이전트는 다른 디렉터리에서 재개할 때 손실되었습니다.5685Claude Code는 폴백을 세션에 저장하지 않으므로, 조치를 취할 때까지 재개할 때마다 경고가 반복됩니다. 기본 제공 `claude` 에이전트는 기본 도구 세트로 폴백해도 달라지는 것이 없으므로 경고를 발생시키지 않습니다. v2.1.216 이전에는 Claude Code가 아무 알림 없이 기본 에이전트로 계속 진행했으며, 조회 범위가 재개하는 디렉터리뿐이었기 때문에 다른 디렉터리에서 재개하면 프로젝트 범위 에이전트가 사라졌습니다.
5642 5686
5643**할 일:**5687**해결 방법:**
5644 5688
5645* 세션의 프로젝트에서 `.claude/agents/<name>.md`에 또는 개인 에이전트의 경우 `~/.claude/agents/<name>.md`에 에이전트 파일을 다시 만든 다음 다시 재개합니다.5689* 세션의 프로젝트에 있는 `.claude/agents/<name>.md`에, 또는 개인 에이전트의 경우 `~/.claude/agents/<name>.md`에 에이전트 파일을 다시 만든 후 다시 재개하세요
5646* 또는 존재하는 에이전트를 명시하는 `--agent <name>`으로 재개하여 대신 해당 에이전트로 세션을 실행합니다.5690* 또는 실제로 존재하는 에이전트 이름을 지정하여 `--agent <name>`으로 재개하면, 세션이 대신 해당 에이전트로 실행됩니다
5647* 에이전트가 프로젝트 범위이고 세션의 원래 디렉터리를 신뢰하지 않았으면 거기서 Claude Code를 한 번 실행하고 신뢰 대화 상자를 수락한 다음 다시 재개합니다.5691* 에이전트가 프로젝트 범위이고 세션의 원래 디렉터리를 신뢰하지 않았다면, 해당 디렉터리에서 Claude Code를 한 번 실행하고 신뢰 대화상자를 수락한 다음 다시 재개하세요
5648 5692
5649### 다음 /loop 깨우기 예정 시간이 지난 후 이 세션이 다시 시작됨5693### This session restarted after its next /loop wakeup was due
5650 5694
5651[백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)의 [자체 페이스 `/loop`](https://code.claude.com/docs/ko/scheduled-tasks#let-claude-choose-the-interval)가 중지되었습니다. 루프가 다음 깨우기를 기다리는 동안 세션의 프로세스가 종료되었고, 세션의 [다음 프로세스](https://code.claude.com/docs/ko/agent-view.md#the-supervisor-process)가 시작되기 전에 해당 깨우기 예정 시간이 지났습니다. 놓친 깨우기는 늦게 실행되지 않습니다. 알림은 세션이 다시 시작되었을 때 깨우기가 얼마나 지연되었는지 표시합니다:5695[백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)의 [자체 페이스 `/loop`](https://code.claude.com/docs/ko/scheduled-tasks#let-claude-choose-the-interval)가 중지되었습니다. 루프가 다음 깨우기를 기다리는 동안 세션의 프로세스가 종료되었고, 세션의 [다음 프로세스](https://code.claude.com/docs/ko/agent-view.md#the-supervisor-process)가 시작되기 전에 해당 깨우기 시각이 지났습니다. 놓친 깨우기는 늦게 실행되지 않습니다. 알림에는 세션이 다시 시작되었을 때 깨우기가 얼마나 지연되었는지 표시됩니다:
5652 5696
5653```text theme={null}5697```text theme={null}
5654This session restarted 12m after its next /loop wakeup was due, so that wakeup will not fire. The loop stays stopped until Claude schedules it again: reply to continue it.5698This session restarted 12m after its next /loop wakeup was due, so that wakeup will not fire. The loop stays stopped until Claude schedules it again: reply to continue it.
5656 5700
5657v2.1.295 이전에는 이 상황에서 알림 없이 루프가 중지되었습니다.5701v2.1.295 이전에는 이 상황에서 알림 없이 루프가 중지되었습니다.
5658 5702
5659**할 일:**5703**해결 방법:**
5660 5704
5661* 루프를 계속하려면 [세션에 답장](https://code.claude.com/docs/ko/agent-view.md#peek-and-reply)하여 `keep the loop running`과 같이 그렇게 말합니다. Claude는 답장과 함께 알림을 읽고 다음 깨우기를 예약할 수 있습니다.5705* 루프를 계속하려면 [세션에 회신](https://code.claude.com/docs/ko/agent-view.md#peek-and-reply)하여 `keep the loop running`처럼 그렇게 말하세요. Claude가 회신과 함께 알림을 읽고 다음 깨우기를 예약할 수 있습니다
5662* 루프를 더 이상 사용하지 않으려면 아무것도 하지 않습니다. 루프는 이미 중지되었습니다.5706* 루프를 끝냈다면 아무것도 하지 않아도 됩니다. 루프는 이미 중지되었습니다
5663 5707
5664### No LLM gateway: a gateway set in your shell isn't passed to a session opened from another folder5708### No LLM gateway: a gateway set in your shell isn't passed to a session opened from another folder
5665 5709
5666이 메시지를 표시하는 [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)은 [LLM 게이트웨이](https://code.claude.com/docs/ko/llm-gateway)를 사용하지 않습니다. 게이트웨이 주소를 받지 못했으므로 요청이 실패합니다. 메시지는 Claude의 응답 대신 대화에 나타나며, 세션의 ID와 폴더가 채워져 있습니다:5710이 메시지를 표시하는 [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)은 [LLM 게이트웨이](https://code.claude.com/docs/ko/llm-gateway)를 사용하고 있지 않습니다. 게이트웨이 주소를 전달받지 못했으므로 요청이 실패합니다. 메시지는 Claude의 응답 대신 대화에 나타나며, 세션의 ID와 폴더가 채워져 있습니다:
5667 5711
5668```text wrap theme={null}5712```text wrap theme={null}
5669No LLM gateway: a gateway set in your shell isn't passed to a session opened from another folder. To fix, run `claude respawn abc12345` from ~/project in another terminal where your gateway is set, or set ANTHROPIC_BASE_URL and its API key or token in a settings file's env block.5713No LLM gateway: a gateway set in your shell isn't passed to a session opened from another folder. To fix, run `claude respawn abc12345` from ~/project in another terminal where your gateway is set, or set ANTHROPIC_BASE_URL and its API key or token in a settings file's env block.
5670```5714```
5671 5715
5672세션에 연결되어 있는 동안 프롬프트 아래의 알림에는 짧은 형식인 `No LLM gateway: opened from another folder · respawn from ~/project`가 표시됩니다.5716세션에 연결되어 있는 동안에는 프롬프트 아래의 알림에 짧은 형태인 `No LLM gateway: opened from another folder · respawn from ~/project`가 표시됩니다.
5673 5717
5674`ANTHROPIC_BASE_URL`이 게이트웨이로 설정된 상태에서 메시지가 명시하는 폴더가 아닌 다른 폴더에서 세션을 디스패치하거나, 깨우거나, 다시 시작했습니다. 셸에서 내보낸 게이트웨이가 백그라운드 세션에 전달되는 경우는 [LLM 게이트웨이](https://code.claude.com/docs/ko/agent-view.md#llm-gateway)를 참조하십시오.5718`ANTHROPIC_BASE_URL`이 게이트웨이로 설정된 상태에서, 메시지에 명시된 폴더가 아닌 다른 폴더에서 세션을 디스패치하거나, 깨우거나, 다시 시작했습니다. 셸에서 내보낸 게이트웨이가 백그라운드 세션에 전달되는 경우는 [LLM 게이트웨이](https://code.claude.com/docs/ko/agent-view.md#llm-gateway)를 참조하세요.
5675 5719
5676**할 일:**5720**해결 방법:**
5677 5721
5678* **설정에서 게이트웨이를 지정하는 프로젝트에서 에이전트 뷰를 사용한 경우**: `ANTHROPIC_BASE_URL`과 해당 API 키 또는 토큰을 [설정 파일의 `env` 블록](https://code.claude.com/docs/ko/llm-gateway-connect#set-in-a-settings-file)에 넣습니다. `~/.claude/settings.json` 또는 세션 자체 프로젝트의 `.claude/settings.local.json`을 사용하십시오. 둘 다 다시 시작된 세션이 읽는 파일입니다. 그런 다음 아무 폴더에서나 셸에서 `claude respawn <id>`를 실행합니다.5722* **설정에서 게이트웨이를 지정하는 프로젝트에서 에이전트 뷰를 사용한 경우**: `ANTHROPIC_BASE_URL`과 해당 API 키 또는 토큰을 [설정 파일의 `env` 블록](https://code.claude.com/docs/ko/llm-gateway-connect#set-in-a-settings-file)에 넣으세요. `~/.claude/settings.json` 또는 세션 자체 프로젝트의 `.claude/settings.local.json`을 사용하세요. 두 파일 모두 respawn된 세션이 읽습니다. 그런 다음 아무 폴더에서나 셸에서 `claude respawn <id>`를 실행하세요.
5679* **터미널에서 게이트웨이를 내보낸 경우**: 게이트웨이 변수를 내보낸 터미널에서 메시지가 명시하는 폴더로 `cd`한 다음 메시지의 `claude respawn <id>` 명령을 실행합니다. 세션은 저장된 대화에서 다시 시작됩니다.5723* **터미널에서 게이트웨이를 내보낸 경우**: 게이트웨이 변수를 내보낸 터미널에서 메시지에 명시된 폴더로 `cd`한 다음 메시지의 `claude respawn <id>` 명령을 실행하세요. 세션이 저장된 대화에서 다시 시작됩니다.
5680 * 게이트웨이는 [슈퍼바이저](https://code.claude.com/docs/ko/agent-view.md#the-supervisor-process) 자체가 같은 게이트웨이를 내보낸 셸에서 시작된 경우에만 세션에 전달됩니다. 그렇지 않은 경우 [`Could not resolve authentication method`로 디스패치가 실패하는 경우](https://code.claude.com/docs/ko/agent-view#dispatch-fails-with-could-not-resolve-authentication-method)에 설명된 대로 해당 터미널에서 슈퍼바이저를 다시 시작한 다음 respawn 명령을 다시 실행합니다.5724 * [슈퍼바이저](https://code.claude.com/docs/ko/agent-view.md#the-supervisor-process) 자체가 같은 게이트웨이를 내보낸 셸에서 시작된 경우에만 게이트웨이가 세션에 전달됩니다. 그렇지 않은 경우, [Dispatch fails with `Could not resolve authentication method`](https://code.claude.com/docs/ko/agent-view#dispatch-fails-with-could-not-resolve-authentication-method)에 설명된 대로 해당 터미널에서 슈퍼바이저를 다시 시작한 다음 respawn 명령을 다시 실행하세요.
5681 5725
5682v2.1.302 이전에는 이 상황의 백그라운드 세션이 폴더를 명시하지 않고 대신 [`Not logged in · Please run /login`](#not-logged-in)과 같은 로그인 오류를 표시했습니다.5726v2.1.302 이전에는 이 상황의 백그라운드 세션에 폴더를 명시하지 않은 채 대신 [`Not logged in · Please run /login`](#not-logged-in) 같은 로그인 오류가 표시되었습니다.
5683 5727
5684### CLAUDE\_CODE\_PROCESS\_WRAPPER 런처 오류5728### CLAUDE\_CODE\_PROCESS\_WRAPPER 런처 오류
5685 5729
5686[`CLAUDE_CODE_PROCESS_WRAPPER`](https://code.claude.com/docs/ko/corporate-launcher)가 설정되었으며 해당 값을 사용할 수 없으므로 Claude Code는 런처 없이 실행하는 대신 영향을 받는 프로세스를 시작하기를 거부합니다. 구성 문제는 변수 이름으로 시작하고 이유를 명시하는 메시지로 보고됩니다. 예를 들어:5730[`CLAUDE_CODE_PROCESS_WRAPPER`](https://code.claude.com/docs/ko/corporate-launcher)가 설정되어 있지만 그 값을 사용할 수 없으므로, Claude Code는 런처 없이 실행하는 대신 해당 프로세스의 시작을 거부합니다. 구성 문제는 변수 이름으로 시작하고 이유를 설명하는 메시지로 보고됩니다. 예:
5687 5731
5688```text theme={null}5732```text theme={null}
5689CLAUDE_CODE_PROCESS_WRAPPER: launcher `/opt/corp/launcher` is not an executable regular file5733CLAUDE_CODE_PROCESS_WRAPPER: launcher `/opt/corp/launcher` is not an executable regular file
5690```5734```
5691 5735
5692시작하지만 Claude Code로 자신을 대체하지 않고 종료하는 런처는 시작 중이던 세션을 실패하게 하며, 에이전트 뷰의 세션 행은 런처가 `must exec, not daemonize`라고 보고하고 런처가 인쇄한 모든 것을 따릅니다. 런처 때문에 시작할 수 없거나 백그라운드 서비스에 도달할 수 없는 세션은 `Couldn't reach the background service (...)`의 이유로 런처 문제를 보고합니다.5736시작은 되지만 자신을 Claude Code로 대체하지 않고 종료하는 런처는 시작 중이던 세션을 실패시키며, 에이전트 뷰의 세션 행에는 런처가 `must exec, not daemonize`라는 내용과 함께 런처가 출력한 내용이 표시됩니다. 런처 때문에 시작하지 못하거나 백그라운드 서비스에 연결하지 못한 세션은 `Couldn't reach the background service (...)` 안에 런처 문제를 이유로 보고합니다.
5693 5737
5694**할 일:**5738**해결 방법:**
5695 5739
5696* 변수를 `exec "$@"`를 호출하여 끝나는 실행 파일의 절대 경로로 설정합니다. 전체 계약은 [런처 계약](https://code.claude.com/docs/ko/corporate-launcher.md#the-launcher-contract)을 참조하십시오.5740* 변수를 `exec "$@"`를 호출하며 끝나는 실행 파일의 절대 경로로 설정하세요. 전체 계약은 [런처 계약](https://code.claude.com/docs/ko/corporate-launcher.md#the-launcher-contract)을 참조하세요
5697* `/status`를 확인하면 자체 실행 항목에서 확인된 시작 명령을 표시하고 실행 중인 백그라운드 서비스가 일치하지 않을 때 경고하거나, 셸에서 `claude daemon status`를 실행합니다.5741* `/status`를 확인하세요. Self-exec 항목에 확인된 실행 명령이 표시되며, 실행 중인 백그라운드 서비스가 이와 일치하지 않으면 경고합니다. 또는 셸에서 `claude daemon status`를 실행하세요
5698* [설정](https://code.claude.com/docs/ko/corporate-launcher.md#set-up-the-launcher)의 `env` 블록에서 값을 수정한 후 `claude daemon stop --any`로 백그라운드 서비스를 다시 시작하여 다음 디스패치가 래핑된 것을 시작하도록 합니다.5742* [설정](https://code.claude.com/docs/ko/corporate-launcher.md#set-up-the-launcher)의 `env` 블록에서 값을 수정한 후 `claude daemon stop --any`로 백그라운드 서비스를 다시 시작하여 다음 디스패치가 래핑된 서비스를 시작하도록 하세요
5699 5743
5700### 백그라운드 세션을 시작할 때 EUNKNOWN5744### 백그라운드 세션 시작 시 EUNKNOWN
5701 5745
5702Windows가 표준 이름이 없는 오류 코드로 프로그램을 시작하기를 거부했으므로 실패는 `EUNKNOWN`으로 표시됩니다. 일반적인 트리거는 시작 중인 프로그램을 차단하는 그룹 정책 또는 AppLocker와 같은 소프트웨어 제한 정책입니다. 오류는 `/background` 또는 `claude --bg`로 [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)을 시작할 때 나타납니다:5746Windows가 표준 이름이 없는 오류 코드로 프로그램 시작을 거부했으므로, 실패가 `EUNKNOWN`으로 나타납니다. 일반적인 원인은 그룹 정책이나 AppLocker 같은 소프트웨어 제한 정책이 시작되는 프로그램을 차단하는 것입니다. 이 오류는 `/background` 또는 `claude --bg`로 [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)을 시작할 때 나타납니다:
5703 5747
5704```text theme={null}5748```text theme={null}
5705Couldn't reach the background service (spawn background service: EUNKNOWN: unknown error, uv_spawn) — run 'claude daemon status'5749Couldn't reach the background service (spawn background service: EUNKNOWN: unknown error, uv_spawn) — run 'claude daemon status'
5706```5750```
5707 5751
5708일부 계정에서 메시지는 `background service` 대신 `daemon`을 말합니다.5752일부 계정에서는 메시지에 `background service` 대신 `daemon`이 표시됩니다.
5709 5753
5710npm 설치에서 `npm install -g @anthropic-ai/claude-code`가 바이너리를 대체하는 동안 나타나는 `EUNKNOWN`은 [재설치 중 `EACCES`](#eacces-when-starting-a-background-session)와 같은 원인을 가지며 설치가 완료된 후 재시도할 때 지워집니다.5754npm 설치에서 `npm install -g @anthropic-ai/claude-code`가 바이너리를 교체하는 동안 나타나는 `EUNKNOWN`은 [재설치 중 `EACCES`](#eacces-when-starting-a-background-session)와 원인이 같으며, 설치가 끝난 후 재시도하면 해결됩니다.
5711 5755
5712Claude Code는 서비스가 터미널을 닫을 때 생존하도록 PowerShell을 통해 백그라운드 서비스를 시작하며, PowerShell 7이 설치되어 있으면 PowerShell 7을 사용하고 그렇지 않으면 Windows PowerShell 5.1을 사용합니다. 어느 PowerShell도 실행될 수 없으면 Claude Code는 대신 서비스를 직접 시작하므로 PowerShell만 차단하는 정책은 이 오류를 발생시키지 않습니다.5756Claude Code는 터미널을 닫아도 서비스가 유지되도록 PowerShell을 통해 백그라운드 서비스를 시작하며, PowerShell 7이 설치되어 있으면 이를 사용하고 그렇지 않으면 Windows PowerShell 5.1을 사용합니다. 두 PowerShell 모두 실행할 수 없으면 Claude Code는 대신 서비스를 직접 시작하므로, PowerShell만 차단하는 정책은 이 오류를 일으키지 않습니다.
5713 5757
5714v2.1.212 이전에는 Claude Code가 Windows PowerShell 5.1만 사용하여 서비스를 시작했으므로 그룹 정책이 PowerShell 5.1을 차단한 모든 머신이 PowerShell 7이 설치되어 있어도 `Couldn't start the session — EUNKNOWN: unknown error, uv_spawn`으로 실패했습니다.5758v2.1.212 이전에는 Claude Code가 서비스를 시작할 때 Windows PowerShell 5.1만 사용했으므로, 그룹 정책이 PowerShell 5.1을 차단한 컴퓨터에서는 PowerShell 7이 설치되어 있어도 `Couldn't start the session — EUNKNOWN: unknown error, uv_spawn`으로 실패했습니다.
5715 5759
5716**할 일:**5760**해결 방법:**
5717 5761
5718* 메시지가 `Couldn't start the session`이면 v2.1.212 이상으로 업그레이드합니다. 이전 버전에서는 별도의 터미널에서 `claude daemon run`을 먼저 실행한 다음 백그라운드 세션을 다시 시작할 수 있습니다. 해당 명령은 백그라운드 서비스를 터미널의 전경에서 실행하므로 서비스는 해당 터미널이 열려 있는 동안만 지속됩니다.5762* 메시지가 `Couldn't start the session`이면 v2.1.212 이상으로 업그레이드하세요. 이전 버전에서는 먼저 별도의 터미널에서 `claude daemon run`을 실행한 다음 백그라운드 세션을 다시 시작할 수도 있습니다. 이 명령은 터미널의 포그라운드에서 백그라운드 서비스를 실행하므로, 서비스는 해당 터미널이 열려 있는 동안만 유지됩니다.
5719* npm 설치가 바이너리를 대체 중이면 완료될 때까지 기다린 다음 백그라운드 세션을 다시 시작합니다.5763* npm 설치가 바이너리를 교체하고 있었다면 완료될 때까지 기다린 후 백그라운드 세션을 다시 시작하세요
5720* npm 설치가 실행 중이 아닌 동안 v2.1.212 이상에서 오류가 나타나면 제한 정책이 Claude Code 실행 파일을 차단하는지 Windows 관리자에게 확인합니다.5764* npm 설치가 실행 중이지 않은데 v2.1.212 이상에서 오류가 나타나면, 제한 정책이 Claude Code 실행 파일을 차단하는지 Windows 관리자에게 확인하세요
5721* 터미널을 닫을 때 백그라운드 서비스가 중지되면 Claude Code는 PowerShell 없이 시작했습니다. PowerShell 7을 설치하거나 관리자에게 PowerShell을 차단 해제하도록 요청하여 서비스가 터미널보다 오래 유지될 수 있도록 합니다.5765* 터미널을 닫을 때 백그라운드 서비스가 중지된다면, Claude Code가 PowerShell 없이 서비스를 시작한 것입니다. 서비스가 터미널보다 오래 유지될 수 있도록 PowerShell 7을 설치하거나 관리자에게 PowerShell 차단 해제를 요청하세요.
5722 5766
5723### 백그라운드 세션을 시작할 때 EACCES5767### 백그라운드 세션 시작 시 EACCES
5724 5768
5725Claude Code는 백그라운드 세션을 호스팅하는 [백그라운드 서비스](https://code.claude.com/docs/ko/agent-view.md#the-supervisor-process)를 시작하기 위해 자신의 바이너리를 실행할 수 없었습니다. npm 설치에서 이는 일반적으로 `npm install -g @anthropic-ai/claude-code`가 그 순간에 바이너리를 대체했다는 의미입니다. 직접 실행했든 [자동 업데이터](https://code.claude.com/docs/ko/setup.md#auto-updates)가 실행했든 상관없습니다. 오류는 [에이전트 뷰](https://code.claude.com/docs/ko/agent-view.md)에서 세션을 열 때 나타납니다:5769Claude Code가 백그라운드 세션을 호스팅하는 [백그라운드 서비스](https://code.claude.com/docs/ko/agent-view.md#the-supervisor-process)를 시작하기 위해 자체 바이너리를 실행할 수 없었습니다. npm 설치에서 이는 대개 그 순간 `npm install -g @anthropic-ai/claude-code`가 바이너리를 교체하고 있었음을 의미하며, 사용자가 실행했든 [자동 업데이터](https://code.claude.com/docs/ko/setup.md#auto-updates)가 실행했든 마찬가지입니다. 이 오류는 [에이전트 뷰](https://code.claude.com/docs/ko/agent-view.md)에서 세션을 열 때 나타납니다:
5726 5770
5727```text theme={null}5771```text theme={null}
5728Couldn't start the background service — spawn background service: EACCES: permission denied, posix_spawn '/usr/local/lib/node_modules/@anthropic-ai/claude-code/bin/claude'5772Couldn't start the background service — spawn background service: EACCES: permission denied, posix_spawn '/usr/local/lib/node_modules/@anthropic-ai/claude-code/bin/claude'
5729```5773```
5730 5774
5731`/background` 또는 `claude --bg`로 세션을 시작하면 같은 이유가 `Couldn't reach the background service (...)`에 나타납니다. 같은 재설치 창 동안 오류는 `ENOENT` 또는 `ENOEXEC`과 같은 다른 코드를 명시할 수 있으며, Windows에서는 `EUNKNOWN` 또는 `EPERM`을 명시할 수 있습니다. 재시도 전체에서 지속되는 `EUNKNOWN`은 [다른 원인](#eunknown-when-starting-a-background-session)을 가집니다.5775`/background` 또는 `claude --bg`로 세션을 시작하면 같은 이유가 `Couldn't reach the background service (...)` 안에 나타납니다. 같은 재설치 시간 동안 오류에 `ENOENT`, `ENOEXEC` 같은 다른 코드나 Windows에서는 `EUNKNOWN` 또는 `EPERM`이 표시될 수 있습니다. 재시도해도 계속되는 `EUNKNOWN`은 [다른 원인](#eunknown-when-starting-a-background-session)에 의한 것입니다.
5732 5776
5733npm 설치에서 Claude Code는 재설치가 완료될 때까지 대기하고 자동으로 재시도합니다: 최대 10초, 그리고 Claude Code의 npm 설치가 머신에서 여전히 명백히 실행 중인 동안 최대 2분입니다. 이는 다른 Claude Code 프로세스가 업데이트를 다운로드하는 것을 포함합니다. 설치가 해당 대기를 초과하면 실패는 베어 오류 코드 대신 업데이트를 명시합니다:5777npm 설치에서 Claude Code는 재설치가 끝날 때까지 기다렸다가 자동으로 재시도합니다. 최대 10초 동안, 그리고 컴퓨터에서 Claude Code의 npm 설치가 여전히 실행 중인 것으로 확인되는 동안에는 최대 2분 동안 기다리며, 이는 다른 Claude Code 프로세스가 업데이트를 다운로드하는 경우를 포함합니다. 설치가 이 대기 시간보다 오래 걸리면, 실패 메시지에 단순 오류 코드 대신 업데이트가 명시됩니다:
5734 5778
5735```text theme={null}5779```text theme={null}
5736Claude Code is being updated by npm on this machine (still not runnable after 2 min, EACCES) — try again when the update finishes5780Claude Code is being updated by npm on this machine (still not runnable after 2 min, EACCES) — try again when the update finishes
5737```5781```
5738 5782
5739v2.1.257 이전에는 대기가 모든 경우에 10초에서 중지되었으므로 다른 Claude Code 프로세스가 여전히 업데이트를 다운로드하는 동안 이 오류가 나타났습니다. v2.1.246 이전에는 Claude Code가 즉시 실패했으며 대기하지 않았습니다.5783v2.1.257 이전에는 모든 경우에 대기가 10초에서 중단되었으므로, 다른 Claude Code 프로세스가 아직 업데이트를 다운로드하는 동안 이 오류가 나타났습니다. v2.1.246 이전에는 Claude Code가 기다리지 않고 즉시 실패했습니다.
5740 5784
5741**할 일:**5785**해결 방법:**
5742 5786
5743* 몇 초 기다린 다음 세션을 열거나 다시 디스패치합니다. 메시지가 Claude Code가 업데이트 중이라고 말하면 업데이트가 완료된 후 재시도합니다.5787* 몇 초 기다린 후 세션을 다시 열거나 다시 디스패치하세요. 메시지에 Claude Code가 업데이트 중이라고 표시되면 업데이트가 끝난 후 재시도하세요.
5744* npm 설치가 실행 중이 아닌 동안 오류가 지속되면 사용자가 설치된 바이너리를 실행할 수 없습니다. 바이너리와 해당 디렉터리의 권한을 확인하거나 Claude Code를 다시 설치합니다.5788* npm 설치가 실행 중이지 않은데 오류가 계속되면, 사용자 계정으로 설치된 바이너리를 실행할 수 없는 것입니다. 바이너리와 해당 디렉터리의 권한을 확인하거나 Claude Code를 다시 설치하세요.
5745 5789
5746### 백그라운드 서비스가 도달 가능해지기 전에 종료됨5790### Background service exited before it became reachable
5747 5791
5748Claude Code가 [백그라운드 서비스](https://code.claude.com/docs/ko/agent-view.md#the-supervisor-process)로 시작한 프로세스가 연결을 수락하기 전에 종료되어 Claude Code가 세션을 열 수 없었습니다. 서비스가 종료되기 전에 오류를 인쇄했으면 괄호의 이유는 종료 코드 또는 신호와 서비스가 인쇄한 첫 번째 줄을 제공하며, 이는 중지된 원인을 명시합니다:5792Claude Code가 [백그라운드 서비스](https://code.claude.com/docs/ko/agent-view.md#the-supervisor-process)로 시작한 프로세스가 연결을 수락하기 전에 종료되어, Claude Code가 세션을 열 수 없었습니다. 서비스가 종료 전에 오류를 출력한 경우, 괄호 안의 이유에 종료 코드 또는 시그널과 서비스가 출력한 첫 번째 줄이 표시되며, 이 줄이 서비스를 중지시킨 원인을 알려 줍니다:
5749 5793
5750```text theme={null}5794```text theme={null}
5751Couldn't reach the background service (background service exited before it became reachable (exit code N): <the service's first error line>) — run 'claude daemon status'5795Couldn't reach the background service (background service exited before it became reachable (exit code N): <the service's first error line>) — run 'claude daemon status'
5752```5796```
5753 5797
5754[에이전트 뷰](https://code.claude.com/docs/ko/agent-view.md)에서 세션을 열 때 같은 이유가 `Couldn't start the background service —` 뒤에 나타납니다. 서비스가 종료되기 전에 아무것도 인쇄하지 않으면 메시지는 `nothing on stderr`을 대신 말합니다.5798[에이전트 뷰](https://code.claude.com/docs/ko/agent-view.md)에서 세션을 열면 같은 이유가 `Couldn't start the background service —` 뒤에 표시됩니다. 서비스가 종료 전에 아무것도 출력하지 않은 경우 메시지에 대신 `nothing on stderr`가 표시됩니다.
5755 5799
5756Claude Code는 서비스의 오류 줄로 실패를 보고합니다. v2.1.246 이전에는 실패가 45초 대기 후에만 표시되었으며, `background service did not become reachable within 45s`로 서비스의 오류 줄 없이 표시되었습니다.5800Claude Code는 서비스의 오류 줄과 함께 실패를 보고합니다. v2.1.246 이전에는 45초 대기 후에야 서비스의 오류 줄 없이 `background service did not become reachable within 45s`로 실패가 나타났습니다.
5757 5801
5758두 인용된 이유는 알려진 원인을 가집니다:5802인용된 이유 중 두 가지는 알려진 원인이 있습니다:
5759 5803
5760* `Error: claude native binary not installed.`: npm 설치가 그 순간에 Claude Code 바이너리를 대체했으므로 서비스가 npm의 자리 표시자를 대신 실행했습니다. 설치가 완료된 후 재시도합니다. 설치가 실행 중이 아닌 동안 줄이 지속되면 [npm 설치를 완료](https://code.claude.com/docs/ko/troubleshoot-install.md#native-binary-not-found-after-npm-install)합니다. v2.1.257 이전에는 macOS npm 자체 업데이트가 설치 창 동안 모든 시작에서 이 실패를 생성했습니다.5804* `Error: claude native binary not installed.`: 그 순간 npm 설치가 Claude Code 바이너리를 교체하고 있었으므로 서비스가 대신 npm의 플레이스홀더를 실행했습니다. 설치가 끝난 후 재시도하세요. 설치가 실행 중이지 않은데도 이 줄이 계속 나타나면 [npm 설치를 완료하세요](https://code.claude.com/docs/ko/troubleshoot-install.md#native-binary-not-found-after-npm-install). v2.1.257 이전에는 macOS npm 자체 업데이트가 설치 시간 동안 매번 시작할 때마다 이 실패를 일으켰습니다.
5761* Windows에서 모든 시작에서 종료 코드 1로 `nothing on stderr`: `daemon.lock`은 Claude Code가 신호를 보낼 수도 없고 종료되었음을 증명할 수도 없는 프로세스를 명시하므로 각 새 서비스는 다른 서비스가 잠금을 보유한다고 결론짓고 종료합니다. Claude Code가 작성자가 종료되었음을 증명할 수 있는 잠금은 자동으로 대체되며 이 실패를 생성하지 않습니다. 실패가 모든 시작에서 반복되면 `~/.claude/daemon.lock`을 삭제한 다음 세션을 열거나 다시 디스패치합니다. v2.1.257 이전에는 그러한 잠금이 파일을 삭제할 때까지 모든 시작을 차단했습니다.5805* Windows에서 매번 시작할 때마다 종료 코드 1과 함께 `nothing on stderr`: `daemon.lock`에 Claude Code가 시그널을 보낼 수도 없고 종료되었음을 증명할 수도 없는 프로세스가 기록되어 있어, 새 서비스가 매번 다른 서비스가 잠금을 보유하고 있다고 판단하고 종료합니다. 작성한 프로세스가 종료되었음을 Claude Code가 증명할 수 있는 잠금은 자동으로 교체되며 이 실패를 일으키지 않습니다. 매번 시작할 때마다 실패가 반복되면 `~/.claude/daemon.lock`을 삭제한 다음 세션을 다시 열거나 다시 디스패치하세요. v2.1.257 이전에는 이러한 잠금이 파일을 삭제할 때까지 모든 시작을 차단했습니다.
5762 5806
5763**할 일:**5807**해결 방법:**
5764 5808
5765* 메시지가 줄을 인용하면 명시하는 것을 수정한 다음 세션을 열거나 다시 디스패치합니다. 다음 시도는 서비스를 다시 시작합니다.5809* 메시지가 줄을 인용하면 해당 줄이 가리키는 문제를 해결한 다음 세션을 다시 열거나 다시 디스패치하세요. 다음 시도에서 서비스가 다시 시작됩니다
5766* `claude daemon status`를 실행하여 서비스가 지금 실행 중인지 확인합니다.5810* `claude daemon status`를 실행하여 현재 서비스가 실행 중인지 확인하세요
5767 5811
5768### 백그라운드 세션을 시작할 때 작업 디렉터리가 더 이상 존재하지 않음5812### 백그라운드 세션 시작 시 작업 디렉터리가 더 이상 존재하지 않음
5769 5813
5770[백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)을 시작한 디렉터리가 세션이 시작되는 동안 제거되었습니다. Claude Code는 세션을 시작하지 않으며 메시지는 누락된 디렉터리를 명시합니다:5814[백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)을 시작한 디렉터리가 세션이 시작되는 동안 제거되었습니다. Claude Code는 세션을 시작하지 않으며, 메시지에 누락된 디렉터리가 표시됩니다:
5771 5815
5772```text theme={null}5816```text theme={null}
5773Couldn't start a background session (working directory no longer exists or is not accessible: /tmp/demo)5817Couldn't start a background session (working directory no longer exists or is not accessible: /tmp/demo)
5774```5818```
5775 5819
5776v2.1.257 이전에는 세션이 시작된 것처럼 보였다가 에이전트 뷰에서 같은 이유로 실패한 행으로 표시되었습니다.5820v2.1.257 이전에는 세션이 시작된 것처럼 보인 후 에이전트 뷰에 같은 이유와 함께 실패한 행으로 표시되었습니다.
5777 5821
5778v2.1.281 이전에는 이 메시지가 세션을 시작하기 전에 디렉터리가 이미 없었을 때도 나타났습니다. 그 경우는 [`could not be resolved on disk`](#workspace-not-trusted-when-dispatching-a-background-session)를 보고합니다.5822v2.1.281 이전에는 세션을 시작하기 전에 디렉터리가 이미 없어진 경우에도 이 메시지가 나타났습니다. 이 경우는 [`could not be resolved on disk`](#workspace-not-trusted-when-dispatching-a-background-session)를 보고합니다.
5779 5823
5780**할 일:**5824**해결 방법:**
5781 5825
5782* 메시지가 명시하는 디렉터리를 다시 만들거나 존재하는 디렉터리에서 디스패치한 다음 다시 시도합니다.5826* 메시지에 표시된 디렉터리를 다시 만들거나, 존재하는 디렉터리에서 디스패치한 다음 다시 시도하세요
5783 5827
5784### This forked session could not be started5828### This forked session could not be started
5785 5829
5786claude.ai에서 [Remote Control 세션을 분기](https://code.claude.com/docs/ko/remote-control.md#fork-a-session-from-your-browser)했으며, Claude Code가 머신에서 분기된 세션을 실행하는 [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)의 시작을 완료할 수 없었습니다. 이 알림은 분기된 세션의 트랜스크립트에 나타납니다:5830claude.ai에서 [Remote Control 세션을 분기했는데](https://code.claude.com/docs/ko/remote-control.md#fork-a-session-from-your-browser), Claude Code가 사용자 컴퓨터에서 분기를 실행하는 [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)의 시작을 완료하지 못했습니다. 이 알림은 분기된 세션의 트랜스크립트에 나타납니다:
5787 5831
5788```text theme={null}5832```text theme={null}
5789This forked session could not be started. Fork the conversation again to retry.5833This forked session could not be started. Fork the conversation again to retry.
5791 5835
5792분기한 원래 세션은 계속 실행됩니다.5836분기한 원래 세션은 계속 실행됩니다.
5793 5837
5794**할 일:**5838**해결 방법:**
5795 5839
5796* 분기한 원래 세션으로 돌아가 세션이 유휴 상태가 되면 다시 분기합니다.5840* 분기한 세션으로 돌아가 세션이 유휴 상태가 되면 다시 분기하세요
5797 5841
5798### 백그라운드 세션을 디스패치할 때 워크스페이스를 신뢰하지 않음5842### 백그라운드 세션 디스패치 시 워크스페이스를 신뢰하지 않음
5799 5843
5800[신뢰하지 않은](https://code.claude.com/docs/ko/permissions.md#project-allow-rules-and-workspace-trust) 디렉터리에서 [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)을 시작하거나 다시 시작했으며, 워크스페이스 신뢰 대화 상자가 나타나 확인을 요청할 수 없었습니다. Claude Code는 세션을 시작하지 않습니다:5844[신뢰하지](https://code.claude.com/docs/ko/permissions.md#project-allow-rules-and-workspace-trust) 않은 디렉터리에서 [백그라운드 세션](https://code.claude.com/docs/ko/agent-view.md)을 시작하거나 다시 시작했는데, 워크스페이스 신뢰 대화상자를 표시하여 확인을 요청할 수 없었습니다. Claude Code는 세션을 시작하지 않습니다:
5801 5845
5802```text theme={null}5846```text theme={null}
5803Workspace not trusted. Run `claude` in /path/to/project once and accept the trust prompt, then retry.5847Workspace not trusted. Run `claude` in /path/to/project once and accept the trust prompt, then retry.
5804```5848```
5805 5849
5806세션의 자체 디렉터리의 터미널에서 같은 명령은 신뢰 대화 상자를 대신 표시하고 수락하면 세션을 시작합니다. 이 메시지는 스크립트와 같이 대화 상자가 나타날 수 없는 곳이나 세션 자체 디렉터리가 아닌 다른 디렉터리에서 세션을 다시 시작할 때 나타납니다.5850세션 자체 디렉터리의 터미널에서는 같은 명령이 대신 신뢰 대화상자를 표시하고, 수락하면 세션을 시작합니다. 이 메시지는 스크립트처럼 대화상자를 표시할 수 없는 곳이나, 세션 자체 디렉터리가 아닌 다른 디렉터리에서 세션을 다시 시작할 때 나타납니다.
5807 5851
5808두 가지 변형은 다른 원인을 명시합니다:5852두 가지 변형은 다른 원인을 나타냅니다:
5809 5853
5810* **`The home directory is trusted one session at a time`**: 세션의 디렉터리는 홈 디렉터리입니다. Claude Code는 홈 디렉터리에 대한 신뢰를 절대 저장하지 않으므로 이전 세션에서 그곳의 대화 상자를 수락해도 계산되지 않습니다.5854* **`The home directory is trusted one session at a time`**: 세션의 디렉터리가 홈 디렉터리입니다. Claude Code는 홈 디렉터리에 대한 신뢰를 저장하지 않으므로, 이전 세션에서 그곳에서 대화상자를 수락한 것은 인정되지 않습니다.
5811* **`<path> could not be resolved on disk`**: Claude Code가 디스크에서 세션의 디렉터리를 찾을 수 없었습니다.5855* **`<path> could not be resolved on disk`**: Claude Code가 디스크에서 세션의 디렉터리를 찾을 수 없었습니다.
5812 5856
5813v2.1.286 이전에는 Windows에서 신뢰 기록이 다른 대소문자의 경로로 저장된 경우 이미 신뢰한 디렉터리에서도 이 메시지가 나타날 수 있었습니다. v2.1.286 이상으로 업데이트하십시오.5857v2.1.286 이전에는 Windows에서 이미 신뢰한 디렉터리라도 신뢰 기록이 대소문자가 다른 경로로 저장된 경우 이 메시지가 나타날 수 있었습니다. v2.1.286 이상으로 업데이트하세요.
5814 5858
5815**할 일:**5859**해결 방법:**
5816 5860
5817* 메시지가 명시하는 디렉터리에서 `claude`를 실행하고 신뢰 대화 상자를 수락한 다음 명령을 다시 실행합니다.5861* 메시지에 표시된 디렉터리에서 `claude`를 실행하고 신뢰 대화상자를 수락한 다음 명령을 다시 실행하세요
5818* 홈 디렉터리 메시지의 경우 홈 디렉터리의 터미널에서 명령을 실행하여 대화 상자가 나타날 수 있도록 하거나 프로젝트 디렉터리에서 대신 세션을 시작합니다.5862* 홈 디렉터리 메시지의 경우 대화상자가 표시될 수 있도록 홈 디렉터리의 터미널에서 명령을 실행하거나, 대신 프로젝트 디렉터리에서 세션을 시작하세요
5819* `could not be resolved on disk` 메시지의 경우 디렉터리를 다시 만들거나 존재하는 디렉터리에서 새 세션을 시작합니다.5863* `could not be resolved on disk` 메시지의 경우 디렉터리를 다시 만들거나, 존재하는 디렉터리에서 새 세션을 시작하세요
5820 5864
5821## 래퍼 및 IDE 오류5865## 래퍼 및 IDE 오류
5822 5866
5823이러한 오류는 Claude Code 자체가 아니라 IDE 확장 프로그램이나 [Agent SDK](https://code.claude.com/docs/ko/agent-sdk/overview.md) 애플리케이션과 같이 Claude Code를 실행한 프로그램에서 발생합니다.5867이러한 오류는 Claude Code 자체가 아니라 IDE 확장 프로그램이나 [Agent SDK](https://code.claude.com/docs/ko/agent-sdk/overview.md) 애플리케이션과 같이 Claude Code를 실행한 프로그램에서 발생합니다.
5824 5868
5825### Claude Code 프로세스가 코드 N으로 종료됨5869### Subprocess initialization did not complete within 60000ms
5870
5871이 오류는 [VS Code 확장 프로그램](https://code.claude.com/docs/ko/vs-code.md)이나 Agent SDK 애플리케이션이 실행한 Claude Code 프로세스가 준비되었다고 제때 보고하지 않았음을 의미합니다. 그러면 확장 프로그램이나 애플리케이션이 해당 프로세스를 중지합니다. VS Code 대화에서 이 오류는 `Claude Code did not finish starting`으로 시작합니다. 예:
5872
5873```text theme={null}
5874Claude Code did not finish starting: it did not answer in time. The output logs ("View output logs") show how far it got. Slow plugins, MCP servers, hooks, disks or network can each cause this.
5875```
5876
5877확장 프로그램의 출력 로그, 로그인 화면, Agent SDK 애플리케이션에서는 오류 문구가 다릅니다. `Subprocess initialization did not complete within`과 시간 제한으로 시작한 다음 Claude Code가 보고한 내용이 이어집니다. 예:
5878
5879```text theme={null}
5880Subprocess initialization did not complete within 60000ms. Claude Code did not answer the initialize request and reported no SessionStart or Setup hook running. Slow plugins, MCP servers, hooks that Claude Code does not report, disks or network can each cause this.
5881```
5882
5883**수행할 작업:**
5884
5885* VS Code에서 다시 시도하려면 메시지를 보냅니다. 로그인하는 동안 오류가 나타났다면 대신 로그인 방법을 다시 선택합니다.
5886* Claude Code가 어디까지 진행했는지 확인하려면 대화의 오류 아래에 있는 **View output logs**를 클릭하거나 Command Palette에서 **Claude Code: Show Logs**를 실행합니다. [문제를 보고](https://github.com/anthropics/claude-code/issues)할 때는 `Subprocess initialization` 줄 주변의 항목을 포함합니다.
5887* 네트워크를 확인하려면 [네트워크 구성](https://code.claude.com/docs/ko/network-config.md)을 참조합니다. 메시지에서 로그인이나 인증을 확인하라고 하면 [로그인 및 인증](https://code.claude.com/docs/ko/troubleshoot-install.md#login-and-authentication)을 참조합니다.
5888* 메시지에서 [SessionStart](https://code.claude.com/docs/ko/hooks.md#sessionstart) 또는 [Setup](https://code.claude.com/docs/ko/hooks.md#setup) 훅이 아직 끝나지 않았다고 하면 [훅이 얼마나 오래 실행되는지 확인](https://code.claude.com/docs/ko/hooks.md#debug-hooks)합니다. VS Code에서는 Claude Code가 이러한 훅이 실행 중이라고 보고하는 처음 10분은 60초 제한에 포함되지 않습니다. 느린 훅이 더 빨리 끝나도록 하거나, 비동기가 아닌 훅의 [`timeout`](https://code.claude.com/docs/ko/hooks#common-fields)을 낮추거나, [훅을 제거](https://code.claude.com/docs/ko/hooks.md#disable-or-remove-hooks)합니다.
5889* Agent SDK 애플리케이션이 [`startup()`](https://code.claude.com/docs/ko/agent-sdk/typescript#startup)을 호출한다면, 전체 시작 과정에 충분하도록 `initializeTimeoutMs`를 길게 설정하거나, 설정하지 않은 채로 두어 보고된 훅 시간이 최대 10분까지 포함되지 않도록 합니다.
5890
5891VS Code 확장 프로그램 v2.1.304 및 TypeScript Agent SDK v0.3.304 이전에는 모든 훅 시간이 제한에 포함되었습니다. 기본 제한에서는 메시지에 `Subprocess initialization did not complete within 60000ms — check authentication and network connectivity`가 포함되었습니다. 이 문구가 표시되면 확장 프로그램이나 SDK를 업데이트하세요.
5892
5893### Claude Code process exited with code N
5826 5894
5827기본 `claude` 프로세스가 0이 아닌 코드로 종료되었습니다. 종료 코드만으로는 무엇이 실패했는지 알 수 없습니다. 실제 오류는 프로세스 자체의 출력에 있으며, 래퍼가 캡처한 경우 이를 추가하고 그렇지 않으면 로그에 유지합니다.5895기본 `claude` 프로세스가 0이 아닌 코드로 종료되었습니다. 종료 코드만으로는 무엇이 실패했는지 알 수 없습니다. 실제 오류는 프로세스 자체의 출력에 있으며, 래퍼가 캡처한 경우 이를 추가하고 그렇지 않으면 로그에 유지합니다.
5828 5896
5841* 터미널에서 동일한 프로젝트에서 `claude`를 실행합니다. 오류는 일반적으로 실제 오류 메시지와 함께 재현되며, 이를 이 페이지에서 조회할 수 있습니다.5909* 터미널에서 동일한 프로젝트에서 `claude`를 실행합니다. 오류는 일반적으로 실제 오류 메시지와 함께 재현되며, 이를 이 페이지에서 조회할 수 있습니다.
5842* 터미널에서 `claude doctor`를 실행하여 설치 및 구성을 확인합니다.5910* 터미널에서 `claude doctor`를 실행하여 설치 및 구성을 확인합니다.
5843 5911
5844### PATH에서 Claude CLI를 찾을 수 없음5912### Could not locate the Claude CLI on PATH
5845 5913
5846[VS Code 확장 프로그램](https://code.claude.com/docs/ko/vs-code.md)은 Windows에서 통합 터미널에서 Claude Code를 열 때, 터미널의 셸이 PowerShell이고 확장 프로그램이 PATH에서 설치된 `claude` 실행 파일을 찾을 수 없을 때 이 오류를 표시합니다. 확장 프로그램은 PATH에서 설치된 `claude`를 찾을 때까지 Claude Code 실행을 거부합니다.5914[VS Code 확장 프로그램](https://code.claude.com/docs/ko/vs-code.md)은 Windows에서 통합 터미널에서 Claude Code를 열 때, 터미널의 셸이 PowerShell이고 확장 프로그램이 PATH에서 설치된 `claude` 실행 파일을 찾을 수 없을 때 이 오류를 표시합니다. 확장 프로그램은 PATH에서 설치된 `claude`를 찾을 때까지 Claude Code 실행을 거부합니다.
5847 5915
5871 5939
5872v2.1.290 이전에는 이 오류가 `Unsupported platform: <platform>-<arch>. No compatible Claude Code binary found.`로 표시되었습니다.5940v2.1.290 이전에는 이 오류가 `Unsupported platform: <platform>-<arch>. No compatible Claude Code binary found.`로 표시되었습니다.
5873 5941
5874### Claude Code로의 연결이 이 메시지가 완료되기 전에 종료됨5942### The connection to Claude Code ended before this message completed
5875 5943
5876[VS Code 확장 프로그램](https://code.claude.com/docs/ko/vs-code.md)이 메시지를 `claude` 프로세스로 보냈고, 프로세스가 이를 인정하거나 완료하기 전에 오류 없이 연결이 종료되었습니다. 확장 프로그램은 메시지가 처리되었는지 여부를 알 수 없으므로 다시 보내도록 요청합니다.5944[VS Code 확장 프로그램](https://code.claude.com/docs/ko/vs-code.md)이 메시지를 `claude` 프로세스로 보냈고, 프로세스가 이를 인정하거나 완료하기 전에 오류 없이 연결이 종료되었습니다. 확장 프로그램은 메시지가 처리되었는지 여부를 알 수 없으므로 다시 보내도록 요청합니다.
5877 5945
6151줄의 나머지 부분은 세션이 어떤 정책으로 실행되는지를 나타냅니다:6219줄의 나머지 부분은 세션이 어떤 정책으로 실행되는지를 나타냅니다:
6152 6220
6153* **이전에 성공한 가져오기에서 캐시된 설정**: Claude Code는 [보류된 환경 변수](https://code.claude.com/docs/ko/server-managed-settings.md#fetch-and-caching-behavior)를 제외한 캐시된 정책으로 세션을 실행하며, 줄에 `using cached policy`가 표시됩니다.6221* **이전에 성공한 가져오기에서 캐시된 설정**: Claude Code는 [보류된 환경 변수](https://code.claude.com/docs/ko/server-managed-settings.md#fetch-and-caching-behavior)를 제외한 캐시된 정책으로 세션을 실행하며, 줄에 `using cached policy`가 표시됩니다.
6154* **캐시 없음**: Claude Code는 서버 관리형 설정 없이 세션을 실행하며, 줄에 `no remote policy applied`가 표시됩니다.6222* **적용할 캐시된 설정이 없음**: Claude Code는 서버 관리형 설정 없이 세션을 실행하며, 줄에 `no remote policy applied`가 표시됩니다. 예를 들어 컴퓨터가 아직 설정을 가져온 적이 없거나 마지막으로 가져온 지 [24시간](https://code.claude.com/docs/ko/server-managed-settings.md#fetch-and-caching-behavior)이 넘은 경우입니다.
6155 6223
6156Code 탭에서는 메시지를 보낼 때 경고가 대화에 한 줄로 나타나며, 가져오기 상태가 바뀌면 새 줄이 나타납니다. 관련된 세 가지 메시지도 같은 방식으로 나타납니다:6224Code 탭에서는 메시지를 보낼 때 경고가 대화에 한 줄로 나타나며, 가져오기 상태가 바뀌면 새 줄이 나타납니다. 관련된 세 가지 메시지도 같은 방식으로 나타납니다:
6157 6225