使用读取excel内容→飞书群通知,获取excel_data,就会发送失败,。单独纯文本可以发送。还有其他方法吗?
code:19002, msg:params error, unknown content value
Traceback (most recent call last):
File "D:\ShadowBot\shadowbot-5.8.18\python\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "D:\ShadowBot\shadowbot-5.8.18\python\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "D:\ShadowBot\shadowbot-5.8.18\python\lib\site-packages\xbot_interpreter.py", line 67, in <module>
main()
File "D:\ShadowBot\shadowbot-5.8.18\python\lib\site-packages\xbot_interpreter.py", line 45, in main
try:
File "C:\Users\guojingjing01\AppData\Local\ShadowBot\users\35870114-21ad-4dc1-8de0-314393ff6228\apps\cd0dd5b2-5cbd-4325-936c-59e34b6d6834\xbot_robot\main.py", line 50, in main
xbot_visual.web_service.send_feishu_msg(webhook="xxx", secret="xx", msgtype="text", text_content=excel_data, app_id="", app_secret="", image_file_path="", post_content="", interactive_content="", _block=("main", 42, "飞书群通知"))
File "<string>", line 79, in wrapper
File "<string>", line 74, in wrapper
File "<string>", line 411, in send_feishu_msg
ValueError: 发送失败,code:19002, msg:params error, unknown content value