提示解析问题,JSON body有问题
#1084
-
{
"error": {
"message": "We could not parse the JSON body of your request. (HINT: This likely means you aren't using your HTTP library correctly. The OpenAI API expects a JSON payload, but what was sent was not valid JSON. If you have trouble figuring out how to fix this, please send an email to [email protected] and include any relevant code you'd like help with.)",
"type": "invalid_request_error",
"param": null,
"code": null
}
} |
Beta Was this translation helpful? Give feedback.
Answered by
Loop-p
May 8, 2023
Replies: 2 comments
-
你是不是开了 ngnix 转发? |
Beta Was this translation helpful? Give feedback.
0 replies
-
已经解决, vercel部署不能直接使用cloudflare worker转发,根据vercel提示配置cname即可解决,简单快捷 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Loop-p
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
已经解决,
vercel部署不能直接使用cloudflare worker转发,根据vercel提示配置cname即可解决,简单快捷