Bug: Alibaba CN endpoint always fails with "console session required" error
Environment
- CodexBar version: 0.19.0
- Gateway region: China mainland (bailian.console.aliyun.com)
- Cookie source: Auto (Chrome Default)
Description
The Alibaba provider consistently fails to fetch quota with a valid sk-sp- Coding Plan API key and Chrome cookies cached. The error shown:
Alibaba Coding Plan API error: This Alibaba endpoint requires a console session for this account/region. API key mode may be unavailable in CN on this endpoint.
Steps to Reproduce
- Set Gateway region → China mainland
- Enter valid
sk-sp-... API key
- Log in to
bailian.console.aliyun.com in Chrome
- Click refresh → fetch fails
Expected Behavior
Quota fetched successfully via cached browser cookie, or a clear UI prompt to guide the user.