Skip to content

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

@ghost

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions