Skip to content

[BUG] 闪传调用失败 #1966

Description

@ty114514

系统版本

Ubuntu Jammy + Docker

QQNT 版本

3.2.28-48517

NapCat 版本

4.18.9

OneBot 客户端

none

发生了什么?

{
  "status": "failed",
  "retcode": 200,
  "data": null,
  "message": "Cannot convert undefined or null to object",
  "wording": "Cannot convert undefined or null to object",
  "echo": null,
  "stream": "normal-action"
}

如何复现

在 WebUI 中的 接口调试,使用 create_flash_task,发送如下内容

{
  "files": "/app/entrypoint.sh",
  "name": "test_task"
}

期望的结果?

NapCat 运行日志

[ERROR] 发生错误 TypeError: Cannot convert undefined or null to object
    at DV.createFlashTransferUploadTask (file:///app/napcat/napcat.mjs:32661:20)
    at XSe._handle (file:///app/napcat/napcat.mjs:79487:111)
    at XSe.handle (file:///app/napcat/napcat.mjs:40124:28)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async Zhe.callApi (file:///app/napcat/napcat.mjs:64328:12)
    at async gU (file:///app/napcat/napcat.mjs:64439:50)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions