连接钉钉在线文档出错
回答
收藏

连接钉钉在线文档出错

系统组-黎新洪
2023-03-23 17:58·浏览量:570
系统组-黎新洪
发布于 2023-03-23 17:58570浏览

连接了钉钉在线文档后,指令无法操作,偶尔又可以执行读取总行数的指令,这是什么情况呢?

以下是报错信息:The request has failed due to a temporary failure of the server., 请根据错误日志到https://open.dingtalk.com/document/orgapp/obtain-all-worksheets排查问题
Traceback (most recent call last):
File "C:\Users\10123831\AppData\Local\ShadowBot\users\8e93bea3-25ab-4cc0-b59d-3832b496864d\apps\c89b934d-4653-4bc3-80af-ab72493ed387\xbot_extensions\activity_dingtalk\client.py", line 42, in inner
res = func(self, *args, **kwargs)
File "C:\Users\10123831\AppData\Local\ShadowBot\users\8e93bea3-25ab-4cc0-b59d-3832b496864d\apps\c89b934d-4653-4bc3-80af-ab72493ed387\xbot_extensions\activity_dingtalk\client.py", line 65, in request
raise ValueError(f'{res.get("message")}, 请根据错误日志到{url}排查问题')
ValueError: The request has failed due to a temporary failure of the server., 请根据错误日志到https://open.dingtalk.com/document/orgapp/obtain-all-worksheets排查问题

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.9.20\python\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.9.20\python\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.9.20\python\lib\site-packages\xbot_interpreter.py", line 67, in <module>
main()
File "C:\Program Files (x86)\ShadowBot\shadowbot-5.9.20\python\lib\site-packages\xbot_interpreter.py", line 45, in main
try:
File "C:\Users\10123831\AppData\Local\ShadowBot\users\8e93bea3-25ab-4cc0-b59d-3832b496864d\apps\c89b934d-4653-4bc3-80af-ab72493ed387\xbot_robot\main.py", line 22, in main
], _block=("main", 2, "读取总行数"))
File "<string>", line 79, in wrapper
File "<string>", line 74, in wrapper
File "<string>", line 82, in run
File "C:\Users\10123831\AppData\Local\ShadowBot\users\8e93bea3-25ab-4cc0-b59d-3832b496864d\apps\c89b934d-4653-4bc3-80af-ab72493ed387\xbot_extensions\activity_dingtalk\A_05_get_row_count.py", line 18, in main
args["row_num_count"] = dingtalk_instance.get_row_count(sheet_name)
File "C:\Users\10123831\AppData\Local\ShadowBot\users\8e93bea3-25ab-4cc0-b59d-3832b496864d\apps\c89b934d-4653-4bc3-80af-ab72493ed387\xbot_extensions\activity_dingtalk\client.py", line 134, in get_row_count
return self.get_sheet_info(sheet_id).get("rowCount")
File "C:\Users\10123831\AppData\Local\ShadowBot\users\8e93bea3-25ab-4cc0-b59d-3832b496864d\apps\c89b934d-4653-4bc3-80af-ab72493ed387\xbot_extensions\activity_dingtalk\client.py", line 105, in get_sheet_info
res = self.request("GET", url, payload={}, update_sheets_info=False)
File "C:\Users\10123831\AppData\Local\ShadowBot\users\8e93bea3-25ab-4cc0-b59d-3832b496864d\apps\c89b934d-4653-4bc3-80af-ab72493ed387\xbot_extensions\activity_dingtalk\client.py", line 205, in request
res = super().request(method, url, payload)
File "C:\Users\10123831\AppData\Local\ShadowBot\users\8e93bea3-25ab-4cc0-b59d-3832b496864d\apps\c89b934d-4653-4bc3-80af-ab72493ed387\xbot_extensions\activity_dingtalk\client.py", line 45, in inner
res = func(self, *args, **kwargs)
File "C:\Users\10123831\AppData\Local\ShadowBot\users\8e93bea3-25ab-4cc0-b59d-3832b496864d\apps\c89b934d-4653-4bc3-80af-ab72493ed387\xbot_extensions\activity_dingtalk\client.py", line 65, in request
raise ValueError(f'{res.get("message")}, 请根据错误日志到{url}排查问题')
ValueError: The request has failed due to a temporary failure of the server., 请根据错误日志到https://open.dingtalk.com/document/orgapp/obtain-all-worksheets排查问题

收藏
全部回答1
最新
发布回答
回答