Skip to content

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.

Error output
无任何套餐显示(解析为空)。
English translation

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.

  1. 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.

  2. If usage still cannot be queried after upgrading, follow the maintainer's advice and submit a new report with the version and reproduction steps.

ToolClaude Code
Version3.19.1(受影响版本;维护者称 4.0 对相关配置切换和界面有改动)
PlatformsWindows
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.

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.