You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Tesla API授权步骤1遇参数问题:response_type报错求助

Tesla API授权步骤1的OAuth问题

我正尝试完成Tesla API授权的步骤1(参考官方认证文档),遇到以下错误:

  • 未携带response_type参数时,返回400错误:
    { "error": { "message": "Missing required parameter: response_type", "code": 400, "reason": "AuthorizationError", "referenceID": "929625d426a94badb8b05233ea5e3958-1686939229741" } }
    
  • 将response_type设置为"code"时,返回501错误:
    { "error": { "message": "Unsupported response type: \"code\"", "code": 501, "reason": "AuthorizationError", "referenceID": "b7aa433afa194531977d6362f3c0e037-1686939263408" } }
    

API规范明确要求response_type必须为"code",但接口返回“不支持该响应类型”的错误。我已尝试替换为"token"、"id_token"等参数值,问题仍未解决。

Postman请求体截图:
Postman请求体截图

请问我的OAuth使用是否存在错误?


内容的提问来源于stack exchange,提问作者Ojus Deshmukh

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.18 11:27:02