No Plans Displayed (Parsing Returns Empty) - Claude Code
Quick fix
Upgrade to cc-switch 4.0; the 3.19.1 usage template may no longer apply.
Symptom
Section titled “Symptom”无任何套餐显示(解析为空)。No plans are displayed (parsing returns empty).
In cc-switch 3.19.1, the usage response for 智谱 GLM Coding Plan uses `CREDIT_LIMIT`, while the built-in parser accepts only `TOKENS_LIMIT`. As a result, the quota entries are filtered out and an empty result is returned. A team-plan issue also reported an API change after the official service switched to a points-based system; a custom script reading `CREDIT_LIMIT` data returned usage normally.
The closing comments on both issues say the related fix was merged in PR #6160. The maintainer suggested trying 4.0 but did not confirm the specific fix details in that version.
After upgrading to cc-switch 4.0, reconfigure and test the built-in Token Plan usage template; the maintainer marked the related issue as already fixed in a PR.
If usage still cannot be queried after upgrading, follow the maintainer's advice and submit a new report with the version and reproduction steps.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 2 real issues
- What should I do if the team plan returns no results?
- The user reported in the issue that the API changed after the official service switched to a points-based system, and provided a custom script that reads `CREDIT_LIMIT` data. The maintainer said the related issue was fixed in PR #6160.
Related problems
Section titled “Related problems”This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.