token exchange failed: status 403, body: {“error”:{“code”:“unsupported_country_region_territory”,“message”:“Country, region, or territory not supported”,“param”:null,“type”:“request_forbidden”}} 2 个帖子 - 2 位参与者 阅读完整话题
Unexpected status 413 Payload too large:CC switch local proxy failed while handling codex endpoint/Responses。Provider:Any;Model:Gpt-5.5;Upstream_status:Http 413; Cause: 413 Request entity too large 413 Request entity too large NGINX/1.24.0 Url:Http: //127.0.0.1:15721/V1/RESPONSES 这下再也不香了,最近总是报错,已经一个对话一次compact,还是支持不了几轮,这可咋整 4 个帖子 - 3 位参与者 阅读完整话题
今早在接码的时候,发现有TextMessage可选,就简单看了network,发现选择Text Message的body会多个channel的参数,不知道大佬们能通过注册机强制使用TextMessage; 接口如下: fetch("https://auth.openai.com/api/accounts/add-phone/send", { "headers": { }, "referrer": "https://auth.openai.com/add-phone", "body": "{\"phone_number\":\"xxxxxxx\",\"channel\":\"sms\"}", "method": "POST", "mode": "cors", "credentials": "include" }); 1 个帖子 - 1 位参与者 阅读完整话题
”stream disconnected before completion: Transport error: network error: error decoding response body“ 用的人太多,服务器繁忙吗? 1 个帖子 - 1 位参与者 阅读完整话题
const origFetch = window.fetch; window.fetch = function(url, options) { if (options?.body) { try { let body = JSON.parse(options.body); if (body.cardNo !== undefined) { body.cardNo = '填入你的身份证号'; options = { ...options, body: JSON.stringify(body) }; } } catch(e) {} } return origFetch.apply(this, arguments); }; 笑嘻了,成功绕过 14 岁验证 名字正确填写,身份证随意 1 个帖子 - 1 位参与者 阅读完整话题
我在代码里对接了ElySiver佬的image2生图模型,但是经常响应504 no body,贴给claude说是中转站超时,有什么方式处理吗?或者有佬推荐几个超时时间比较长的站吗,感谢佬 > [1/1] 1 绝对值的非负性 #2 开始调用 API... #2 发起 images.edit (2 张参考图) #2 生成失败 (63.6s): 504 status code (no body) 错误堆栈: Error: 504 status code (no body) at eL.generate (D:\Development\project\复习卡片\card-generator\.next\server\chunks\app_api_generate_route_ts_0499de6._.js:1:2435) at rF.makeStatusError 2 个帖子 - 2 位参与者 阅读完整话题
如题,在hub调用api时总是有stream disconnected before completion: Transport error: network error: error decoding response body这个报错 2 个帖子 - 1 位参与者 阅读完整话题
nobody is body 1 个帖子 - 1 位参与者 阅读完整话题
最近在使用codex客户端时总是报错:stream disconnected before completion: Transport error: network error: error decoding response body,不知道是怎么回事,之前一直没有出现过的,没有反代,IP也是家宽,请问佬友有遇到过,知道如何解决的吗。 1 个帖子 - 1 位参与者 阅读完整话题
在用ccr时,有时会想删一些body参数,或者指定一些header。 于是写了个插件: 插件代码 (点击了解更多详细信息) 两个功能: 自定义headers/删除headers 自定义body/删除body 示例用法: 1. 自定义headers: 用法:options.headers配置你想增加的header,如果想要删除某个既有的header,值写成null即可。 如:你要增加一个{“key1”: “val1”}的header,并删除一个名为key2的header,可以在.claude-code-router\config.json中增加配置: { "transformers": [ { "path": "你的插件文件路径", "options": { "headers": { "key1": "val1", "key2": null } } } ] } 2. 自定义body: 参考ccr自带的CustomParamsTransformer,并做了改变:将值设置为null表示删除这个key 用法:options.body中配置要新增的body,只做合并。如果设置为null,表示删除该key。支持多层级。 例如你想设置max_tokens,删除reasoning.enabled的值 { "transformers": [ { "path": "你的插件文件路径", "options": { "body": { "max_tokens": 20000, "reasoning": { "enabled": null } } } } ] } 说明: 配置是在transformers中,而不是在use中 由于配置的内容是对象,不可通过ccr ui配置,只能修改配置文件。ccr ui显示为[object Object]: headers和body可以同时配置 ccr如何新增插件,可参考: ccr(Claude Code Router)配置多apikey的插件 1 个帖子 - 1 位参与者 阅读完整话题
=== REQUEST BODY === {“model”:“gpt-5.4”,“instructions”:"You are Codex, === RESPONSE === Status: 404 Access-Control-Allow-Headers: * Access-Control-Allow-Origin: * Access-Control-Allow-Methods: GET, POST, PUT, PATCH, DELETE, OPTIONS 2 个帖子 - 1 位参与者 阅读完整话题
{"detail":[{"type":"missing","loc":["body","tools",0,"input_schema"],"msg":"Field required","input":{"type":"web_search_20250305","name":"web_search","max_uses":8}}]} 有什么配置或者什么操作可以重定向这个工具或者有什么解决办法吗。 我用的是 GitHub - ding113/claude-code-hub: 一个现代化的 Claude Code & Codex API 代理服务,提供智能负载均衡、用户管理和使用统计功能。 · GitHub 1 个帖子 - 1 位参与者 阅读完整话题