[Base] 无法读取/修改多维表格内置「应用」的页面(/base/<base_token>?table=wbpXXXX,app-* 报 internal error code=1 / NOTEXIST)
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 17.3k
- Forks
- 1.4k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 105
Description
环境
- lark-cli 1.0.95(1.0.94 同样复现;已
lark-cli update升级 + 更新官方 skills 后仍复现) - 身份:
--as user(本人为该多维表格创建者,用户身份 token 有效) - 已授权 scope:
base:appmode:read、base:appmode_page:read/update/create、base:appmode_block:read/update/create
现象
用户提供的页面链接形如:
https://<domain>/base/<base_token>?table=wbpXXXXXX
该 ?table= 参数指向多维表格内置「应用」里的一个页面(前缀 wbp,不是 tbl / vew / blk / ldx / wkf)。当前 CLI 没有任何命令能读到或改到这个页面。
复现步骤与实际返回
-
lark-cli base +url-resolve --url 'https://<domain>/base/<base_token>?table=wbpXXXXXX'
→resource_type=bitable,base_token=<base_token>,block_id=wbpXXXXXX -
lark-cli base +base-block-list --base-token <base_token>
→ 只返回folder/table类型块,不包含wbpXXXXXX(该 ID 不在 BP 资源树里) -
lark-cli base +app-get --app-token <base_token>
→{"type":"api","subtype":"unknown","code":1,"message":"App OpenAPI request failed","hint":"内部错误,请稍后重试"} -
lark-cli base +app-page-list --app-token <base_token>
→ 同上,code 1(非 NOTEXIST) -
lark-cli base +app-get --app-token wbpXXXXXX/+app-page-list --app-token wbpXXXXXX
→code 91402 NOTEXIST -
lark-cli base +dashboard-get --base-token <base_token> --dashboard-id wbpXXXXXX
→"wbpXXXXXX" is not a valid dashboard in base "<base_token>"(确认不是仪表盘;+dashboard-list也为空) -
lark-cli base +url-resolve --url 'https://<domain>/app/<base_token>'
→input_type=baseapp_url,app_token=<base_token>(即把 base token 当作 BaseApp token) -
lark-cli base +workspace-entity-list --workspace-token <workspace_token>(该 base 所属 workspace)
→ 只列出该 base 以及一个无关的模板 baseapp,未列出该「应用」,因此无法从 workspace 侧拿到真实app_token
期望
三选一即可:
- 提供获取「多维表格内置应用」
app_token的官方方法(文档说明),使+app-get/+app-page-list/+app-block-*可用;或 - 支持直接用
base_token访问该内置应用的页面与组件;或 - 在 skill 文档中明确:
/base/<base_token>?table=wbp...这类页面当前不在 OpenAPI 支持范围内,并给出可行的替代路径(例如改做仪表盘 / 独立 BaseApp)。
影响
用户希望 Agent 优化该查询页的字段展示与样式,目前 Agent 完全无法读取或写入该页面配置,只能建议在 UI 内手工修改或另建等价页面。
备注
- 未提供截图;上述所有 token / ID 均已用占位符隐去,不含租户与业务数据。
- 相关但不覆盖本问题的历史条目:#1141(embedded doc token 的
internal error code=1,已关闭)、PR #2231 / #2307(BaseApp 应用模式支持)、PR #2436(document app default page reuse)。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the base +url-resolve, +app-get, +app-page-list, +app-block-*, +base-block-list, and +workspace-entity-list entry points for wbp-prefixed IDs. Determine whether the embedded application's token can be resolved or supported; done means either the page is accessible through a supported command or the skill documentation clearly states the limitation and an alternative path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, cli
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100