【API测试工具错误报告】 错误码: 错误 429 - 上游限流 错误: 详细信息:This model is not supported by Respons...

2026年01月11日 00:27 状态: processing

🚨 错误信息

【API测试工具错误报告】 错误码: 错误 429 - 上游限流 错误: 详细信息:This model is not supported by Responses API. 模型: text-embedding-3-small 接口: https://www.dmxapi.cn/v1/responses 令牌: sk-tYh...3DZk 时间: 2026/1/11 00:27:14

🤖 AI解决方案

报错分析报告

1. 错误翻译


text
原文:This model is not supported by Responses API.
译文:该模型不被 Responses API 支持。

2. 原因分析


这是一个 API 调用错误,根本原因在于 API 接口与所请求的模型不匹配。您尝试将 text-embedding-3-small 模型通过 /v1/responses 端点进行调用,而该端点并不支持 Embedding 模型。

3. 解决方案


需要将请求修改到正确的 API 端点。对于 Embedding 模型,应使用 /v1/embeddings 接口。

修复示例(HTTP请求格式):

http
POST https://www.dmxapi.cn/v1/embeddings
Authorization: Bearer sk-tYh...3DZk
Content-Type: application/json

{
"model": "text-embedding-3-small",
"input": "Your text to embed here"
}

4. ️ 预防措施


  • 查阅官方文档 : 在使用 API 前,务必查阅平台的 API 文档,确认每个模型对应的正确端点。Embedding、Chat、Completions 等不同功能的模型,其接口路径是不同的。

  • 使用类型化的 SDK ️: 如果平台提供官方或社区 SDK,建议使用它们。这些 SDK 通常会进行参数和端点的正确性校验,能有效避免此类低级错误。