API 报错帮助

按我们网关里客户真实碰到的报错整理,先写最常见的,每周补几篇。找不到你的报错?发邮件到 support@apiclan.us。

「Service temporarily unavailable」:503 / 502 报错怎么办调 API 返回 503 Service temporarily unavailable 或 502 Upstream service temporarily unavailable,多半是某条上游线路临时故障。用我们网关 30 天的真实报错记录说明什么时候该重试、什么时候该换模型。「Model xxx is not supported by any configured account」:模型不存在怎么办调 API 报 Model "xxx" is not supported by any configured account in this group,一般是模型名写错,或者 key 所在的分组里没有这个模型。附我们网关里最常被写错的模型名对照表。从 DeepSeek 官方 API 换过来:deepseek-chat / deepseek-reasoner 报错怎么改原来用 DeepSeek 官方 API 的代码,换到 APICLAN 后报 Model "deepseek-chat" is not supported。只需要改 base_url 和模型名两处,附对照表和 Python 示例。