Skip to content

404 / 405

404 Not Found

**用户看到什么:**Not Found、route not found 或 endpoint 不存在。

最常见原因:

  • Base URL 写错;
  • 重复出现 /v1/v1;
  • 软件又追加了一次 /chat/completions;
  • 模型 ID 不存在。

正确基础地址是 https://api.iruoke.top/v1,聊天完整路径是 https://api.iruoke.top/v1/chat/completions。

405 Method Not Allowed

说明访问到了一个存在的路径,但 HTTP 方法不对。Chat Completions 使用 POST,模型列表使用 GET。

先在软件调试日志查看最终 URL 和方法,再与OpenAI 兼容接口对比。

撩梦中转站 · Simple API, More Possibilities.