SkillsGrove
SkillsGrove/생산성/cklxx/elephant.ai/feishu-troubleshoot

feishu-troubleshoot

설치

$npx skills add https://github.com/cklxx/elephant.ai --skill feishu-troubleshoot
$git clone --depth 1 https://github.com/cklxx/elephant.ai.git /tmp/elephant.ai && mkdir -p ~/.claude/skills && cp -r /tmp/elephant.ai/skills/feishu-troubleshoot ~/.claude/skills/feishu-troubleshoot
이 Agent Skill을 설치해 주세요: https://github.com/cklxx/elephant.ai/tree/bc94628f41b7daba20825b86069ae8e0fa83dc5e/skills/feishu-troubleshoot — 먼저 SKILL.md와 스크립트를 읽고, 안전하다고 확인한 뒤에만 제 skills 폴더에 설치해 주세요.

요약

원문 설명 · MITWhen 飞书 plugin errors or auth failures occur → troubleshoot with FAQ and authorization diagnostics.
아래 SKILL.md는 cklxx/elephant.ai(커밋 bc94628)에서 MIT 라이선스에 따라 게시한 것입니다. 본문은 변경하지 않았으며, 파일 상단의 메타데이터만 생략하고 이미지는 링크로 표시하며 매우 긴 파일은 일부만 표시합니다. Copyright 2025 cklxx. 라이선스: LICENSE. 지침 파일만 표시되며 스크립트 등은 원본 저장소를 참고하세요.

飞书问题排查

常见问题(FAQ)

授权相关

Token 过期

  • 现象:API 调用返回 99991668 或 99991672
  • 解决:重新执行 OAuth 授权流程

权限不足

  • 现象:API 返回 99991400 或 99991403
  • 解决:检查应用是否开通了所需的 API 权限,参考下方权限对照表

Refresh Token 过期

  • 现象:刷新 token 时返回错误
  • 解决:需要重新走完整 OAuth 流程

权限对照表

功能模块 所需权限 scope
日历读写 calendar:calendar, calendar:calendar:readonly
文档读写 docx:document, docx:document:readonly
多维表格 bitable:app, bitable:app:readonly
任务管理 task:task, task:task:readonly
通讯录 contact:user.base:readonly, contact:department.base:readonly
消息读写 im:message, im:message:readonly
云盘 drive:drive, drive:drive:readonly
Wiki wiki:wiki, wiki:wiki:readonly
邮件 mail:mailgroup, mail:mailgroup:readonly

API 调用问题

频率限制

  • 飞书 API 有频率限制,通常 100 次/秒
  • 批量操作建议串行 + 延迟 0.5-1 秒

字段值格式错误

  • 参考 skills/feishu-bitable/references/record-values.md

诊断命令

# 查看授权状态
python3 skills/feishu-cli/run.py '{"action":"auth","subcommand":"status"}'

# 查看可用模块
python3 skills/feishu-cli/run.py '{"action":"help","topic":"modules"}'
라이선스 전문 보기(MIT)
MIT License

Copyright (c) 2025 cklxx

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.