Skip to content

[BUG] dws minutes upload 接口上传的音视频不触发转写(paragraphList 始终为空),App 手动上传正常 #490

Description

@Chen777-ai

现象

通过 dws minutes upload(create → PUT 预签名 URL → complete)上传音视频,upload complete 返回 success=true + taskUuid,但始终不生成转写dws minutes get transcription --id <taskUuid>result.paragraphList 一直为空;dws minutes list mine 里这些条目 status 从 10 变到 14、bizType=2,等很久也不转写。

同一文件在钉钉听记 App 手动上传 → 正常转写(手动条目能 get transcription 拿到完整内容)。

环境

  • dws v1.0.39(v1.0.21 同样复现)/ Windows amd64 / Edition open

复现步骤

  1. dws minutes upload create --file-name x.mp3 --file-size <bytes> --input-language zh_CN → 返回 presignedUrl + sessionId
  2. curl -T x.mp3 "<presignedUrl>" → HTTP 200(上传成功)
  3. dws minutes upload complete --session-id <sessionId>success=true + taskUuid
  4. 稍后 dws minutes get transcription --id <taskUuid>result.paragraphList 始终为 []

疑似根因

  • 预签名 PUT URL 按空 Content-Type 签名:curl -T 不带 Content-Type → 200;一旦带 -H "Content-Type: audio/mpeg"403 SignatureDoesNotMatch(与 CHANGELOG fix(drive): unblock OSS upload + improve AI-agent discoverability #347 描述的 drive upload 行为一致)。
  • 因此上传到 OSS 的对象没有音频 MIME 类型,疑似导致听记 ASR 未被触发;或 upload complete 本身并未发起转写。
  • 对比:App 手动上传的条目其 bizType 与接口上传的 bizType=2 不同,且能正常转写。

期望 / 疑问

upload complete 文档称“触发转写与 AI 处理”,但接口文件上传实际不转写。请确认:接口文件上传(minutes upload)是否应自动触发转写?是否缺少“发起转写”的步骤 / 参数,或预签名 URL 需以正确的音频 Content-Type 签名?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions