YaLei Li解决Claude Code 2.1.14以上版本中转站出现"Client not allowed"或者API Error: 403 Your client is not authorized to use this API key · Please run /login 中发帖

设置一下这个环境变量就行了 
export CLAUDE_CODE_ATTRIBUTION_HEADER=0

执行前
[图片]
执行后
[图片]
原因是新版本的cc请求体中system中第一个提示词变了
[图片]