---
date: 2026-04-18
type: claude-session
session_id: a39df94b-f167-4eed-80b5-f3b9bb785f31
started: 2026-04-17T22:10:17.807Z
ended: 2026-04-17T22:12:06.709Z
messages: 2
tools: [Bash, Edit, Read, Write]
tags: [claude, session]
---

# ai@MacBookPro knowledge-base % claude

## Запрос

ai@MacBookPro knowledge-base % claude
           Claude Code v2.1.112
 ▐▛███▜▌   Sonnet 4.6 with high effort · Claude API
▝▜█████▛▘  ~/knowledge-base
  ▘▘ ▝▝    Welcome to Opus 4.7 xhigh! · /effort to tune speed vs…

❯ gjh                                                                
  ⎿  Please run /login · API Error: 401 {"type":"error","error":{"typ
     e":"authentication_error","message":"Invalid authentication     
     credentials"},"request_id":"req_011CaA7AEdYiUvasBEZWaRua"}    
                                                                     
❯ /login                                                             
                                                                     
─────────────────────────────────────────────────────────────────────
  Login                                                            
           Claude Code v2.1.112
 ▐▛███▜▌   Sonnet 4.6 with high effort · Claude API
▝▜█████▛▘  ~/knowledge-base
  ▘▘ ▝▝    Welcome to Opus 4.7 xhigh! · /effort to tune speed vs…

❯ gjh                                                                
  ⎿  Please run /login · API Error: 401 {"type":"error","error":{"typ
     e":"authentication_error","message":"Invalid authentication
     credentials"},"request_id":"req_011CaA7AEdYiUvasBEZWaRua"}

❯ /login                                                             
  ⎿  Login successful

❯ gh                                                                 
  ⎿  Please run /login · API Error: 401 {"type":"error","error":{"typ
     e":"authentication_error","message":"Invalid authentication
     credentials"},"request_id":"req_011CaA7C5zweQF5p3yLq6buC"}

## Итог (последний ответ Claude, до 500 симв.)

Добавил unset в `~/.zshenv` и записал паттерн в память. Открой новый терминал и запусти `claude` — 401 должен уйти.

---
*Автосохранено из session [`a39df94b`](file:///Users/ai/.claude/projects/-Users-ai-knowledge-base/a39df94b-f167-4eed-80b5-f3b9bb785f31.jsonl) — 2 сообщ., тулы: Bash, Edit, Read, Write*
