【问题标题】:OneNote Api - copyToNotebook hangingOneNote Api - copyToNotebook 挂起
【发布时间】:2017-10-24 08:04:02
【问题描述】:

OneNote-Api 最近开始挂起这个调用:

https://www.onenote.com/api/beta/me/notes/sections/{id}/copyToNotebook

轮询结果(一如既往)现在返回以下内容

{
    "@odata.context": "https://www.onenote.com/api/beta/$metadata#me/notes/operations/$entity",
    "id": "copy-645387ea-eb06-4a0d-bcde-09d276e4e3d6fe0e14f6-3e53-421e-aa6c-8adcc998a4dd",
    "status": "not started",
    "createdDateTime": "2017-10-04T16:57:45.9599909Z",
    "lastActionDateTime": "2017-10-04T16:57:45.9599909Z"
}

lastActionDateTime 永远不会更新,尽管返回了正确的 202 代码和后续的 200 代码,该命令也不会完成。

任何帮助将不胜感激(尤其是在现场工作环境中)!

【问题讨论】:

    标签: onenote onenote-api


    【解决方案1】:

    您正确调用了 API - 几天前我们在服务中引入了一个问题。现在应该解决这个问题。

    感谢您报告此事。随时向我们报告任何事情:https://twitter.com/onenotedev?lang=en

    【讨论】:

    • 感谢 Jorge,下次出现问题时我会点击推特。干杯史蒂夫
    【解决方案2】:

    我执行了相同的操作并得到了相同的响应。在检查我的帐户以验证复制是否有效时,我得到了一个错误。 下面返回的 JSON 对象。 OneNotes 端的副本文件似乎已损坏。

    {Responses: [[6,…]]}
    Responses
    :
    [[6,…]]
    0
    :
    [6,…]
    0
    :
    6
    1
    :
    {OperationId: 1, StatusCode: 126, RawCellStorageErrorCode: "InternalError.4", ServerPageStatsTrace: "",…}
    AvailableFileAccess
    :
    1
    CellId
    :
    "40c4a0be-3ff1-49c7-b169-ba9d74e0724c|1"
    ContentBytes
    :
    0
    ContextId
    :
    "null"
    FileId
    :
    "WOPIsrc=https%3A%2F%2Fwopi%2Eonedrive%2Ecom%2Fwopi%2Ffiles%2F1438AEF7B187116%21122&access_token=4wfG%2D4rgaZ6xmefLfMpPpnlTOOxmBy0LNKwftRv4WQeE1YRkcD72ADoSfR%2DC2ZxSi11DuWIEGx0iSqZb8JP88aA36k2o8KKqF1hPyoFTblc3TyLt6k65eXe%2DL7QEcINnMhnvAA9aeuP5W2ttwIYE6dDJQVh9xkv5JcUndBG1d%5F3Ldp3%2DlcE3gNO7IEZtvzf7B0mUkKoerjtJr3OBKxsQzHx1PRCfh99BtCNPNvVVAq91thnpmeuVOATVGgWlMWcHTt29l9a8%2DrbHa3jknZWee6F6DBxU%5FzgW7YpWbZ4LtW1zOx33SQVm3XjRQ628TsgAV7%5Fy%2DJ4IvxCnGMVhpwvC%2DXLGnP35DAJW7LuetWKJ93B%5Fs&access_token_ttl=1510611198523"
    OperationId
    :
    1
    RawCellStorageErrorCode
    :
    "InternalError.4"
    RevisionList
    :
    []
    RootCellId
    :
    "null"
    ServerPageStatsTrace
    :
    ""
    StatusCode
    :
    126
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-05-30
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多