Repository navigation
我们遇到的 400 是什么
#3308
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What is the "400" error we encountered?
code: 400, status: FAILED_PRECONDITION, message: "User location is not supported for the API use."This indicates "unsupported region"—Google rejects the request at the very outermost layer based on your origin region; it never even reaches the tool-invocation stage. It has absolutely nothing to do with
includeServerSideToolInvocations.For the specific request path to Google via this proxy, the egress point or account is flagged by Google as being in an unsupported region, and the proxy interface on this machine offers no toggle to switch to a usable channel—like the "CPA" channel mentioned in your source.
我们遇到的 400 是什么
code: 400, status: FAILED_PRECONDITION,
message: "User location is not supported for the API use."
这是"地区不支持"——Google 在请求最外层就因你的来源地区拒绝,根本还没走到工具调用那一步。跟 includeServerSideToolInvocations 完全无关。
反重力走 Google 的这段请求,出口/账号被 Google 判定为不支持地区,而且这台机器的反重力界面上没有提供切换成"你信源说的 cpa"那样可用通道的开关。
All reactions