openai-proxy icon indicating copy to clipboard operation
openai-proxy copied to clipboard

使用docker部署到了自己的服务器,调用接口报错 【error TypeError: Value is not JSON serializable】

Open ghost opened this issue 1 year ago • 0 comments

docker成功运行起来了,服务器直接访问curl http://localhost:3000 可以返回 https://github.com/UNICKCHENG/openai-proxy

使用示例请求 /claude/organizationorganization_id_id>/chat_conversations 提示Response code 500

错误信息如下: error TypeError: Value is not JSON serializable at serializeJavascriptValueToJSONString (/app/node_modules/next/dist/compiled/undici/index.js:2:64731) at Function.json (/app/node_modules/next/dist/compiled/undici/index.js:2:52377) at Function.json (/app/.next/server/chunks/335.js:95:35) at POST (/app/.next/server/app/api/claude/organizations/[org_id]/chat_conversations/route.js:91:45) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async /app/.next/server/chunks/501.js:6343:37

ghost avatar Sep 08 '23 05:09 ghost