0

尝试为用户获取 MS ToDo 任务时,我收到无效 JSON(括号未关闭)的响应。此外,API 发送带有该响应的 HTTP 状态 200。

请求/响应示例: https://graph.microsoft.com/v1.0/me/todo/lists/:listID/tasks/:taskID

{
    "title": "DELETED",
    "createdDateTime": "2020-06-17T18:33:44.3228459Z",
    "lastModifiedDateTime": "2020-11-27T11:36:55.8037415Z",
    "id": "DELETED",
    "linkedResources": [
        {
            "error": {
                "code": "InternalServerError",
                "message": "Invalid object within the collection response from workload for navigation property linkedResources with declaring type microsoft.graph.todoTask. Expected a JObject, but got Jtoken type - Null",
                "innerError": {
                    "date": "2021-05-14T03:13:36",
                    "request-id": "5b9445b0-7405-436a-8179-cac92a8af087",
                    "client-request-id": "5b9445b0-7405-436a-8179-cac92a8af087"
                }
            }
        }

我该如何解决这个问题?

4

0 回答 0