有谁知道 Smartsheet SDK 是否与亚马逊的 AWS Lambda 兼容?我有一张 Smartsheet 的票,但还没有收到他们的消息,所以我想我会在这里尝试一下。
在 AWS“ sheet = smartsheet.sheets.get(SHEET_ID) ”上运行此命令时,我遇到了超时。
AWS Lambda 错误消息:
{
"errorMessage": "2021-02-19T18:33:11.477Z cbad2464-4195-4a54-ac72-ea53c2786b75 Task timed out after 10.01 seconds"
}
谢谢!
Python(3.8版)代码:
# Name of the Smartsheet being updated
SHEET_ID = "CENIC Circuit Master Sheet Current"
smartsheet = Smartsheet(TOKEN)
# print("DeBug 3 sheet = ", smartsheet)
# This is the problem below.
**sheet = smartsheet.sheets.get(SHEET_ID)**
# Make sure we don't miss any errors
smartsheet_client.errors_as_exceptions(True)
在 Ubuntu 最新版本上运行良好。