Skip to content

fix: add actionable lark api error guidance#5

Open
hehanlin1996 wants to merge 1 commit into
mainfrom
ai-fix-20260516-error-guidance
Open

fix: add actionable lark api error guidance#5
hehanlin1996 wants to merge 1 commit into
mainfrom
ai-fix-20260516-error-guidance

Conversation

@hehanlin1996
Copy link
Copy Markdown
Owner

Summary

Fix CLI-side actionable diagnostics for low-signal Lark API failures reported in larksuiteGH-913 / C-20260516-01 and monthly quota failures reported in BASE-20260516-007 / C-20260516-06.

Changes

  • Add app/profile mismatch guidance for generic invalid-param / cross-app / "not the sender" signals, pointing users to lark-cli profile list, --profile, and re-bind/login when the active app changed.
  • Add a dedicated 99991403 monthly API quota classification with clear next steps: check usage/quota, request increase or contact admin/support, reduce call volume, and avoid repeated retries.

Test Plan

  • Unit tests pass: go test ./internal/output
  • Related package tests pass: go test ./internal/output ./cmd
  • Formatting/diff checks: gofmt -l internal/output/lark_errors.go internal/output/lark_errors_test.go, git diff --check

Related Issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant