We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1662520 commit e62eba3Copy full SHA for e62eba3
1 file changed
src/config/detect-region.ts
@@ -52,7 +52,10 @@ export async function detectRegion(apiKey: string): Promise<Region> {
52
if (!match) {
53
process.stderr.write(" failed\n");
54
process.stderr.write(
55
- "Warning: API key failed validation against all regions. Falling back to global.\n",
+ `Warning: API key failed validation against all regions (global, cn).\n` +
56
+ ` This usually means the API key is invalid or the network is blocking requests.\n` +
57
+ ` Falling back to 'global'. Subsequent requests may fail.\n` +
58
+ ` Run 'mmx auth status' to verify your credentials.\n`,
59
);
60
return "global";
61
}
0 commit comments