AIOnline
V2EX  ›  问与答

ChatGPT GPTs 中调用外部的 action 报错 INVALID_REQUEST_UNKNOWN?

  •  
  •   AIOnline · May 7, 2024 · 935 views
    This topic created in 765 days ago, the information mentioned may be changed or developed.

    在 gpts 中发送一个 post 请求出现以下错误,但是调用其他的 get 请求是正常的,为什么?是不是 gpts 在发送 post 请求时,把格式进行了转换,导致了请求错误?

    左边是 GPTS 在 debug 模式下发送的请求参数, 右边是在 postman 中请求的接口参数。 左边报错了,右边正常返回 对比图片: https://image-static.segmentfault.com/178/111/1781115333-6639c57fa6018_fix732

    chatGPT GPTs 中完整的报错信息如下:

    { "response_data": { "error": { "type": "INVALID_REQUEST_UNKNOWN", "message": "Invalid request: parameter validation failed. Check your request data." } }, "status_code": 422, "action_id": "g-fc4f5e0f9d61f1dd099ec4da991b56ab2e66012b" }

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5640 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 02:35 · PVG 10:35 · LAX 19:35 · JFK 22:35
    ♥ Do have faith in what you're doing.