mirror of
https://github.com/titanwings/colleague-skill.git
synced 2026-04-05 07:22:43 +08:00
The old find_user() used /search/v1/user which requires user_access_token, but the code only has tenant_access_token, causing error 99991663 every time. New strategy: 1. Email/phone → /contact/v3/users/batch_get_id (fastest, proven working) 2. Name → department traversal + find_by_department (needs contact:department.base:readonly) 3. Both fail → clear error message with suggestions Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>