0

你能帮我 - 如何解决?

我尝试将我的 Trello 任务创建流连接到 Microsoft To Do,但每次收到问题时,请参见下文:

{
  "error": {
    "code": "RequestBodyRead",
    "message": "A null value was found for the property named 'DateTime', which has the expected type 'Microsoft.OutlookServices.DateTime[Nullable=False]'. The expected type 'Microsoft.OutlookServices.DateTime[Nullable=False]' does not allow null values.",
    "innerError": {
      "request-id": "cc1d5dae-def6-4d3e-8f1b-b09ac6883bc5",
      "date": "2018-05-01T10:33:38"
    }
  }
}
4

1 回答 1

0

是的,Outlook 任务连接器需要一个截止日期。我在截止日期字段中使用此表达式自动分配截止日期 7 天

if(equals(triggerBody()?['due'], null),addDays(utcNow(),7),triggerBody()?['due'])

于 2018-06-14T06:13:36.127 回答