1 ## Environment
2 - dws version: v1.0.43 (4c5f1fa, 2026-06-26)
3 - OS: Linux aarch64 (ARM64)
4 - Auth: OAuth device flow (scan QR)
5 - Corp CLI access: enabled by admin
6 - PAT scopes: drive:download and other drive scopes granted
7
8 ## Problem
9
10 `dws drive download --node <fileId> --output /tmp/` fails 100% of the time for all files
with:
{
"error": {
"server_error_code": "internalError",
"message": "处理钉盘请求时发生内部错误,请稍后重试。"
}
}
Other drive commands work fine on the same MCP endpoint:
- ✅ `dws drive info` — returns file metadata
- ✅ `dws drive list` — lists files
- ✅ `dws drive list-spaces` — lists spaces
- ❌ `dws drive download` — always internalError
## What I tried
- Multiple files (PDF, XLSX, 11KB ~ 3.5MB) → all fail
- With `--space-id` → still fails
- Upgraded from `dev` to v1.0.43 → still fails
- Re-login + re-grant PAT → still fails
- Organization CLI access confirmed enabled
## Trace IDs
- `0bab027317824900125762278e08d1` (latest, v1.0.43 + fresh login)
- `2132f5ca17824886294736091e08d7` (v1.0.43 first attempt)
- `2104a64c17824853389867513e08ee` (dev version)
## Question
Is this a known issue with the MCP gateway's `download_file` tool? Or is there a
configuration I'm missing?
Any workaround appreciated — this blocks our data ingest pipeline.