koishijs / koishi

Cross-platform chatbot framework made with love
https://koishi.chat
MIT License
4.37k stars 237 forks source link

Bug: @koishijs/plugin-adapter-feishu飞书无法发送图片消息,日志看到400 #1008

Closed RyanKKKKKKKk closed 1 year ago

RyanKKKKKKKk commented 1 year ago

Describe the bug

用novelai生成图片的时候可以返回生成步骤,但是图片无法返回 image 日志看到有400的报错 image

Steps to reproduce

对接飞书后,用novelai生成图片

Expected behavior

对接飞书后,用novelai生成图片正常返回图片

Screenshots

No response

Versions

Additional context

No response

RyanKKKKKKKk commented 1 year ago

image 问题找到了,是飞书的权限管理,建议文档增加一下。

MaikoTan commented 1 year ago

Good catch, thanks for the reporting.

RyanKKKKKKKk commented 1 year ago

@MaikoTan By the way, I would like to ask if there is an issue with the image generation feature in Feishu currently, Unable to upload image, parsing error occurs. Is this a bug or something that was not previously planned? image

MaikoTan commented 1 year ago

@MaikoTan By the way, I would like to ask if there is an issue with the image generation feature in Feishu currently, Unable to upload image, parsing error occurs. Is this a bug or something that was not previously planned? image

Okay, I'll take a look later when I have time. Could you check if your encryptKey set-up was incorrect or lacking letters? If you have confirmed that the configuration is correct but still got errors, you could open a new issue in https://github.com/satorijs/satori