GrepBoard/매뉴얼
605 편 ·

Claude API 18

Claude(Anthropic) API 오류 · thinking·도구 사용 규칙 · 모델 퇴역.

  1. Claude Opus 4.5 종료: 2027년 1월 22일 전 바꿀 것

    claude-opus-4-5-20251101 과 날짜 없는 claude-opus-4-5 는 2027-01-22 종료 뒤 404 입니다. claude-opus-5-5 로 옮길 때 바뀌는 요청과 응답을 정리합니다.

    Ubuntu 24.04 (Docker) · GNU grep 3.11 · Anthropic 공식 Model deprecations·Opus 5.5 이전 안내 문서 기준 · 2026-12
  2. Claude Sonnet 4.5 API 11월 30일 종료, 옮기는 순서

    Claude Sonnet 4.5 는 2026-11-30 종료됐습니다. 날짜 없는 claude-sonnet-4-5 도 포함됩니다. 사용처를 찾아 claude-sonnet-5-5 로 옮기는 순서입니다.

    Ubuntu 24.04 (Docker) · GNU grep 3.11 · Anthropic 공식 문서 기준 · 2026-12
  3. Claude API 403 permission_error 해결

    Claude API 403 permission_error 는 키가 인증은 됐지만 그 리소스를 쓸 권한이 없다는 뜻입니다. 워크스페이스 범위, 키 종류와 스코프, 조직 접근 설정을 차례로 확인합니다.

    curl · Claude API 공식 문서 기준 · 2026-10
  4. Claude API thinking.type.disabled 400 해결

    thinking.type.disabled is not supported for this model 400 은 thinking 을 끌 수 없는 모델에 disabled 를 보낸 것입니다. 필드를 빼면 됩니다.

    Claude API 공식 문서 기준 · 2026-11
  5. Claude API 409 conflict_error 원인과 재시도

    Claude API 409 conflict_error 는 요청이 리소스의 현재 상태와 부딪쳤다는 뜻입니다. 동시 수정·중복 값·version 불일치를 구분하고 다시 읽은 뒤 재시도합니다.

    Claude API 공식 문서 기준 · 2026-11
  6. Claude API 504 timeout_error 원인과 대처

    Claude API 504 timeout_error 는 요청 처리 중 시간이 다 됐다는 뜻입니다. 긴 요청은 스트리밍이나 Message Batches 로 바꾸고, SDK 재시도 횟수와 타임아웃을 함께 봅니다.

    Python 3.12.16 (Docker) · anthropic 2.3.0 · Claude API 공식 문서 기준 · 2026-10
  7. Claude API 404 not_found_error 경로·ID 확인

    Claude API 404 not_found_error 는 요청한 리소스가 없다는 뜻입니다. 엔드포인트 경로(/v1 중복), URL 안의 ID, 모델 이름과 퇴역 여부를 차례로 확인합니다.

    Python 3.12.16 (Docker) · anthropic 2.3.0 · curl · Claude API 공식 문서 기준 · 2026-12
  8. Invalid signature in thinking block 해결

    Claude API 400 Invalid signature in thinking block 은 앞선 대화 기록을 고쳐서 납니다. 덧붙이기만 하게 고치고, 급하면 drop_block 을 씁니다.

    Claude API 공식 문서 기준 · 2026-10
  9. Claude tool_choice "any" not supported

    Claude API 400 tool_choice "tool" and "any" are not supported 는 Opus 5.5 등이 강제 호출을 안 받아서 납니다. auto + strict 로 바꿉니다.

    Claude API 공식 문서 기준 · 2026-10
  10. Claude API 529 overloaded_error 재시도 처리

    Claude API 529 overloaded_error 는 내 한도가 아니라 API 전체 과부하입니다. SDK 재시도(max_retries)와 지수 백오프로 버티고, request-id 를 남깁니다.

    Claude API 공식 문서 기준 · curl · 2026-10
  11. thinking blocks cannot be modified 해결

    Claude API 400 thinking blocks cannot be modified 는 마지막 assistant 턴의 thinking 블록이 바뀐 것입니다. 응답 content 를 그대로 돌려보냅니다.

    Python 3.12 · Claude API 공식 문서 기준 · 2026-10
  12. Claude API effort xhigh 400 오류 해결

    effort 'xhigh' is not supported when thinking is disabled 는 thinking 을 끄고 xhigh 를 보낸 것입니다. high 로 낮추거나 thinking 을 켭니다.

    Claude API 공식 문서 기준 · 2026-10
  13. Claude API 413 request_too_large 해결

    Claude API 가 413 request_too_large 를 내거나 Claude Code 가 Request too large (max 32MB) 로 멈출 때, 32MB 한도의 의미와 줄이는 방법입니다.

    Python 3.13 · Claude API · Claude Code 공식 문서 기준 · 2026-10
  14. Claude API 400 "credit balance too low"

    Claude API 나 Claude Code 가 credit balance is too low 로 400 을 낼 때, 충전이 필요한 경우와 API 키가 구독을 가로채는 경우를 가르고 고치는 순서입니다.

    Claude API · Claude Code 공식 문서 기준 · 2026-10
  15. Claude API 400 thinking.type.enabled 해결

    모델을 4.7 이후로 바꿨더니 budget_tokens 요청이 400 으로 막힐 때, thinking 을 adaptive 로 바꾸고 output_config.effort 로 깊이를 정하는 방법입니다.

    Claude API 공식 문서 기준 · 2026-10
  16. Claude API 400 tool_result 없는 tool_use

    tool_use ids were found without tool_result 400 이 날 때, 메시지 배열의 짝 맞춤 규칙과 Claude Code 의 /rewind 복구 방법입니다.

    Python 3.13 · Claude Messages API 공식 문서 기준 · 2026-10
  17. Claude API 400 assistant prefill 미지원 해결

    messages 의 마지막이 assistant 면 4.6 이후 모델이 400 으로 거절합니다. 마지막 assistant 메시지를 빼고 구조화 출력이나 system 지시로 형식을 맞추는 방법입니다.

    Claude API 공식 문서 기준 · 2026-10
  18. Claude 응답이 잘렸는지 stop_reason 으로 확인하기

    JSON 답이 중간에 끊겨 json.loads 가 실패하면 stop_reason 부터 봅니다. max_tokens 일 때 잘림을 잡는 파이썬 검사와, max_tokens 를 올리거나 이어 받는 방법입니다.

    Python 3.12.3 · Claude Messages API 공식 문서 기준 2026-10 · 샘플 응답 JSON 으로 검사